最終更新:2024-11-29 (金) 06:31:24 (9d)  

Module LLM/Ubuntu/opt/m5stack/share/audio.json
Top / Module LLM / Ubuntu / opt / m5stack / share / audio.json

{
    "mode": "None",
    "type": "audio",
    "capabilities": [
        "play",
        "cap"
    ],
    "input_type": [
        "rpc.audio.wav.base64",
        "rpc.audio.pcm.base64"
    ],
    "output_type": [
        "audio.pcm.stream"
    ],
    "play_param": {
        "card": 0,
        "device": 1,
        "volume": 1.0,
        "channel": 1,
        "rate": 16000,
        "bit": 16,
        "stPoolConfig.MetaSize": 8192,
        "stPoolConfig.BlkSize": 32768,
        "stPoolConfig.BlkCnt": 37,
        "stPoolConfig.IsMergeMode": 0,
        "stPoolConfig.CacheMode": 0,
        "stPoolConfig.PartitionName": "anonymous",
        "stAttr.enBitwidth": 1,
        "stAttr.enSoundmode": 0,
        "stAttr.u32ChnCnt": 2,
        "stAttr.enLinkMode": 0,
        "stAttr.enSamplerate": 16000,
        "stAttr.U32Depth": 30,
        "stAttr.u32PeriodSize": 160,
        "stAttr.u32PeriodCount": 8,
        "stAttr.bInsertSilence": 0,
        "stVqeAttr.s32SampleRate": 16000,
        "stVqeAttr.u32FrameSamples": 160,
        "stVqeAttr.stNsCfg.bNsEnable": 0,
        "stVqeAttr.stNsCfg.enAggressivenessLevel": 2,
        "stVqeAttr.stAgcCfg.bAgcEnable": 0,
        "stVqeAttr.stAgcCfg.enAgcMode": 2,
        "stVqeAttr.stAgcCfg.s16TargetLevel": -3,
        "stVqeAttr.stAgcCfg.s16Gain": 9,
        "stHpfAttr.bEnable": 0,
        "stHpfAttr.s32GainDb": -3,
        "stHpfAttr.s32Samplerate": 16000,
        "stHpfAttr.s32Freq": 200,
        "stLpfAttr.bEnable": 0,
        "stLpfAttr.s32GainDb": 0,
        "stLpfAttr.s32Samplerate": 16000,
        "stLpfAttr.s32Freq": 3000,
        "stEqAttr.bEnable": 0,
        "stEqAttr.s32GainDb[0]": -10,
        "stEqAttr.s32GainDb[1]": -3,
        "stEqAttr.s32GainDb[2]": 3,
        "stEqAttr.s32GainDb[3]": 5,
        "stEqAttr.s32GainDb[4]": 10,
        "stEqAttr.s32Samplerate": 16000,
        "gResample": 0,
        "enInSampleRate": 16000,
        "gInstant": 0,
        "gInsertSilence": 0
    },
    "cap_param": {
        "sys_pcm_cap_channel": "ipc:///tmp/llm/pcm.cap.socket",
        "card": 0,
        "device": 0,
        "volume": 1.0,
        "channel": 1,
        "rate": 16000,
        "bit": 16,
        "stPoolConfig.MetaSize": 8192,
        "stPoolConfig.BlkSize": 7680,
        "stPoolConfig.BlkCnt": 33,
        "stPoolConfig.IsMergeMode": 0,
        "stPoolConfig.CacheMode": 0,
        "stPoolConfig.PartitionName": "anonymous",
        "aistAttr.enBitwidth": 1,
        "aistAttr.enLinkMode": 0,
        "aistAttr.enSamplerate": 16000,
        "aistAttr.enLayoutMode": 2,
        "aistAttr.U32Depth": 30,
        "aistAttr.u32PeriodSize": 160,
        "aistAttr.u32PeriodCount": 8,
        "aistAttr.u32ChnCnt": 2,
        "aistVqeAttr.s32SampleRate": 16000,
        "aistVqeAttr.u32FrameSamples": 160,
        "aistVqeAttr.stNsCfg.bNsEnable": 1,
        "aistVqeAttr.stNsCfg.enAggressivenessLevel": 2,
        "aistVqeAttr.stAgcCfg.bAgcEnable": 0,
        "aistVqeAttr.stAgcCfg.enAgcMode": 2,
        "aistVqeAttr.stAgcCfg.s16TargetLevel": -3,
        "aistVqeAttr.stAgcCfg.s16Gain": 9,
        "aistVqeAttr.stAecCfg.enAecMode": 2,
        "stHpfAttr.bEnable": 0,
        "stHpfAttr.s32GainDb": -3,
        "stHpfAttr.s32Samplerate": 16000,
        "stHpfAttr.s32Freq": 200,
        "stLpfAttr.bEnable": 0,
        "stLpfAttr.s32GainDb": 0,
        "stLpfAttr.s32Samplerate": 16000,
        "stLpfAttr.s32Freq": 3000,
        "stEqAttr.bEnable": 0,
        "stEqAttr.s32GainDb[0]": -10,
        "stEqAttr.s32GainDb[1]": -3,
        "stEqAttr.s32GainDb[2]": 3,
        "stEqAttr.s32GainDb[3]": 5,
        "stEqAttr.s32GainDb[4]": 10,
        "stEqAttr.s32Samplerate": 16000,
        "gResample": 0,
        "enOutSampleRate": 16000,
        "gDbDetection": 0
    }