Skip to content

Upstream 4mic+2ref data via UAC48K dual-channel*

  • For the UAC 48K dual-channel solution, this topic describes how to provide uac upstream channel data
  • The 16K sampling rate 4mic+2ref has a total of 6 channels, and the data volume is just aligned with the 48K dual channels

vsp Compile configuration*

  • The current version of the gitlab vsp_sdk supports this solution

    $ git log 
    commit 434331edcd92f95dcf0a973e4f490630c8420ebf
    Author: jialp <jialp@nationalchip.com>
    Date:   Mon Jun 12 17:07:14 2023 +0800
    
        20230612: 新增vsp_hook_voice_play_demo
    
    commit 7745a60e7cf61738c161d4b7722010a7861d7781
    Author: jialp <jialp@nationalchip.com>
    Date:   Fri Jun 9 17:33:09 2023 +0800
    

  • Note that the following compilation configuration is modified in make menuconfig

    • Configure six UAC upstream channels 配置6路UAC上行通道
    • UAC capture Select 48KH UACcapture选择48KHz
  • Configure other configurations as required. See the configuration file in

    configs/nationalchip_public_version/8008c_wukong_prime_uac48k_up_4mic2ref.config
    

PC recording*

  • When connected to a PC, it is identified as a UAC device
  • A PC can record 2 channels of 48K audio using Audacity PC录制2路48K
  • Export as a headless WAV file 导出为无头WAV
  • Import as raw data 作为原始数据导入
  • After exporting, a total of 6 channels of mic4ref2 data can be obtained 导入成功,再导出为6通道wav即可

注意

Note the parameters of each step during recording, importing, and exporting.