MAD
麦克风激活检测(Microphone Activity Detection,MAD),用于语音唤醒方案
支持基于能量识别的语音检测模块LPSD(只支持单通道,16bit 数据,16kHz 采样率)。
既然有这个功能,但是没有看到相关接口
MAD
麦克风激活检测(Microphone Activity Detection,MAD),用于语音唤醒方案
支持基于能量识别的语音检测模块LPSD(只支持单通道,16bit 数据,16kHz 采样率)。
既然有这个功能,但是没有看到相关接口
@cm_mkblock
错误地方:
double rms = rmsu / (double)((n-1) * sqrt(x0));
double dB = 20 * log10(rms);
能否支持浮点运行
[MK_AUDIO] state switch: IDLE --> Energy
[MK_AUDIO] CAP: chunk_bytes=2048
[MK_AUDIO] CAP: frame_bytes=2
[MK_AUDIO] capture open ok
[MK_AUDIO] --------1-------
[MK_AUDIO] --------2-------
[MK_AUDIO] ------=================================================================================================
EXC_INST_ACCESS
=====================================================================================================
gprs:
x0:0x0000000000000000 ra:0x0000000000000012 sp:0x000000000873c090 gp:0x0000000008382560
tp:0x0000000000000000 t0:0x000000000873c070 t1:0x000000000820734c t2:0x00000000083155d8
s0:0x000000000873c070 s1:0x0000000000000011 a0:0x000000000821c4f0 a1:0x000000000873c1b8
a2:0x000000000821c578 a3:0x00000000083688a8 a4:0x0000000000000000 a5:0x000000000838c730
a6:0x00000000082e3d50 a7:0x00000000083688a8 s2:0x000000000000000b s3:0x0000000000000000
s5:0xa5a5a5a5a5a5a5a5 s5:0xa5a5a5a5a5a5a5a5 s6:0xa5a5a5a5a5a5a5a5 s7:0xa5a5a5a5a5a5a5a5
s8:0xa5a5a5a5a5a5a5a5 s9:0x0000000008315698 s10:0x00000000083155f8 s11:0x00000000083155d8
t3:0x00000000083155c8 t4:0x00000000083688a8 t5:0x0000000008315698 t6:0x0000000008315868
other:
mepc :0x0000000008201202
mcause :0x0000000000000001
mtval :0x0000000008201202
mstatus :0x0000000a00204900
mscratch:0x0000000000000000
-------backtrace-----------
backtrace : 0X08201202
backtrace : invalid lr(0000000000000019)
backtrace : invalid lr
---------------------------
==> Round [1] <==
lpsram Heap:
Total Size : 4318624 Bytes ( 4217 KB)
Free : 792704 Bytes ( 774 KB)
Min Free : 788912 Bytes ( 770 KB)
hpsram Heap:
Total Size : 8388576 Bytes ( 8191 KB)
Free : 8388576 Bytes ( 8191 KB)
Min Free : 8388576 Bytes ( 8191 KB)
List Task MIN Free Stack(unit: word)
Task State Priority Stack #
************************************************
@xiaowenge 答非所问呀,
我想获取音频能量大小,应用于软件需求
因为自己采集音频数据,计算均方根,发现C906不能使用浮点运算
MAD
麦克风激活检测(Microphone Activity Detection,MAD),用于语音唤醒方案
支持基于能量识别的语音检测模块LPSD(只支持单通道,16bit 数据,16kHz 采样率)。
既然有这个功能,但是没有看到相关接口