ymx-speech
    正在准备搜索索引...

    接口 AsrAudioInfo

    音频参数

    interface AsrAudioInfo {
        audioType?: string;
        sampleBit?: number;
        sampleRate?: number;
        soundChannel?: number;
    }
    索引

    属性

    audioType?: string

    音频类型,当前仅支持 pcm

    pcm
    
    sampleBit?: number

    位深,当前仅支持 16

    16
    
    sampleRate?: number

    采样率

    16000
    
    soundChannel?: number

    声道数,当前仅支持单声道

    1