return to index

Nuvoton AEC / NR operation flow

Agenda


1. Test objective and setup

Test objective

Lab setup checklist

Item Value Note
EVB I94124_NAU88C22_MB_REVC Test board
FW AEC / NR library + USB UAC enable Firmware must enable the algorithm
Audio tool GoldWave Recording / playback / channel check


2. USB connection and device check

  1. Connect EVB to the PC through USB.
  2. Confirm that the OS enumerates:
    • Speaker Nuvoton UAC
    • Microphone Nuvoton UAC
  3. Confirm speaker and microphone paths are both active before recording.

Important
If Speaker and Microphone are not enumerated correctly, fix USB cable/driver/power issues first, then run AEC / NR tests.


3. GoldWave settings

In GoldWave, open Control related properties > Devices and set:

This ensures both record and playback use the EVB audio path so AEC / NR behavior can be observed correctly.


4. AEC / NR recording flow

flowchart TD A[Connect EVB as USB UAC] --> B[Configure GoldWave devices] B --> C[Start recording] C --> D[Play far-end content music/news] D --> E[Speak near-end voice] E --> F[Stop and save wav file] F --> G[Playback and analyze channels]

Recording procedure

  1. Start recording.
  2. Play background content (music, speech, or news) to simulate far-end audio.
  3. Add near-end speech at the same time and observe echo/noise suppression in the recorded file.
  4. Stop recording and save the WAV file.


5. Sample files and playback interpretation

Sample files

File Content Usage
test1.wav Music (English) Background-audio scenario
test2.wav News broadcast Speech-interference scenario
test3.wav Music (Chinese) Mixed-content scenario

Playback observation

  1. In default Stereo playback, background audio and voice can both be heard.
  2. When switched to right channel (AEC / NR supports MONO only), voice content should be dominant.
  3. Use channel switching to verify whether the algorithm output path matches expectation.


6. Validation points and troubleshooting

Symptom Possible cause Action
No recorded audio Wrong record device Re-select Microphone Nuvoton UAC
No playback audio Wrong playback device Re-select Speaker Nuvoton UAC
Weak AEC effect Far-end level too low / unstable mic distance Increase background level and keep fixed mic distance
Listening result does not match expectation Using Stereo result to judge MONO algorithm Switch channel first, then compare

Validation note
Keep test conditions fixed (volume, distance, noise source) to compare AEC / NR performance across firmware versions fairly.


7. Summary

back to top


Nuvoton AEC / NR 操作流程

議程


1. 測試目標與環境

測試目標

實驗室環境檢查表

項目 設定值 說明
EVB I94124_NAU88C22_MB_REVC 測試板
FW AEC / NR library + USB UAC enable 韌體需啟用演算法
音訊工具 GoldWave 錄音 / 回放 / 聲道檢查


2. USB 連線與裝置確認

  1. 使用 USB 將 EVB 連接到 PC。
  2. 確認作業系統已列舉出:
    • Speaker Nuvoton UAC
    • Microphone Nuvoton UAC
  3. 確認喇叭與麥克風路徑都可正常使用,再進行錄音。

Important
SpeakerMicrophone 未正確列舉,請先排除 USB 線材、驅動與供電問題,再進行 AEC / NR 測試。


3. GoldWave 設定

在 GoldWave 開啟 Control related properties > Devices,設定如下:

此設定可確保錄音與回放都走 EVB 音訊路徑,才能正確觀察 AEC / NR 行為。


4. AEC / NR 錄音流程

flowchart TD A[Connect EVB as USB UAC] --> B[Configure GoldWave devices] B --> C[Start recording] C --> D[Play far-end content music/news] D --> E[Speak near-end voice] E --> F[Stop and save wav file] F --> G[Playback and analyze channels]

錄音步驟

  1. 開始錄音。
  2. 播放背景內容(音樂、語音或新聞)模擬 far-end 音訊。
  3. 同時加入 near-end 人聲,觀察錄音檔中的回音/噪音抑制效果。
  4. 停止錄音並儲存 WAV 檔。


5. 測試檔案與回放判讀

測試檔案

檔案 內容 用途
test1.wav 音樂(英文) 背景音情境測試
test2.wav 新聞播報 語音干擾情境測試
test3.wav 音樂(中文) 混合內容情境測試

回放觀察重點

  1. 預設 Stereo 回放時,通常可同時聽到背景音與人聲。
  2. 切到右聲道時(AEC / NR 僅支援 MONO),人聲會較為明顯。
  3. 透過聲道切換,確認演算法輸出路徑是否符合預期。


6. 驗收重點與除錯建議

現象 可能原因 建議處理
錄不到聲音 錄音裝置選錯 重新選擇 Microphone Nuvoton UAC
回放無聲 播放裝置選錯 重新選擇 Speaker Nuvoton UAC
AEC 效果不明顯 far-end 音量太小 / 麥克風距離不穩定 提高背景音量並固定收音距離
聽感與預期不一致 用 Stereo 結果判讀 MONO 演算法 先切換聲道再比較

Validation note
請固定測試條件(音量、距離、噪音來源),以便公平比較不同韌體版本的 AEC / NR 表現。


7. Summary

back to Chinese top

Nuvoton AEC / NR operation flow

  1. Test objective and setup
  1. AEC / NR recording flow
  1. Sample files and playback interpretation

Nuvoton AEC / NR 操作流程

  1. 測試目標與環境
  1. AEC / NR 錄音流程
  1. 測試檔案與回放判讀