<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[R128 mad 能否实时读取音频能量大小]]></title><description><![CDATA[<p dir="auto">MAD<br />
麦克风激活检测(Microphone Activity Detection，MAD)，用于语音唤醒方案</p>
<p dir="auto">支持基于能量识别的语音检测模块LPSD（只支持单通道，16bit 数据，16kHz 采样率）。</p>
<p dir="auto">既然有这个功能，但是没有看到相关接口</p>
]]></description><link>https://bbs.aw-ol.com/topic/4690/r128-mad-能否实时读取音频能量大小</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 20:54:50 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/4690.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Nov 2023 03:22:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to R128 mad 能否实时读取音频能量大小 on Mon, 27 Nov 2023 07:47:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/42">@xiaowenge</a> 答非所问呀，<br />
我想获取音频能量大小，应用于软件需求<br />
因为自己采集音频数据，计算均方根，发现C906不能使用浮点运算</p>
]]></description><link>https://bbs.aw-ol.com/post/20079</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/20079</guid><dc:creator><![CDATA[cm_mkblock]]></dc:creator><pubDate>Mon, 27 Nov 2023 07:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to R128 mad 能否实时读取音频能量大小 on Mon, 27 Nov 2023 05:35:15 GMT]]></title><description><![CDATA[<p dir="auto">MAD 驱动特性<br />
•支持 AudioCodec、DMIC音频传输接口；<br />
•支持 16kHz, 48kHz采样率，固定16bit；<br />
•支持一块64KB的 SRAM，可用于保存音频数据；<br />
•支持基于能量识别的语音检测模块LPSD  （只支持单通道，16bit数据，16kHz采样率）<br />
音频流通路</p>
<pre><code># 唤醒状态，正常录音
ADC ‑&gt; rx_fifo ‑&gt; DMA ‑&gt; MEM
# 进入休眠，语言能量检测
ADC ‑&gt; rx_fifo ‑&gt; mad_sram
# 触发唤醒，继续录音
ADC ‑&gt; rx_fifo ‑&gt; DMA ‑&gt; MEM
</code></pre>
<p dir="auto">menuconfig配置</p>
<pre><code>Drivers Options ‑‑‑&gt;
    soc related device drivers ‑‑‑&gt;
        SOUND Devices ‑‑‑&gt;
            [*] Sound card supportPlatform(Audio Interface) drivers ‑‑‑&gt;
               [*] Allwinner MAD Support
</code></pre>
<p dir="auto">摘自《R128 RTOS Audio 开发指南》</p>
]]></description><link>https://bbs.aw-ol.com/post/20076</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/20076</guid><dc:creator><![CDATA[xiaowenge]]></dc:creator><pubDate>Mon, 27 Nov 2023 05:35:15 GMT</pubDate></item></channel></rss>