请教关于ESP32-LyraT 4.2板载AUX_IN的使用方法

fengyue8029
Posts: 4
Joined: Tue Nov 05, 2019 5:43 am

请教关于ESP32-LyraT 4.2板载AUX_IN的使用方法

Postby fengyue8029 » Sun Nov 17, 2019 1:16 pm

请教一下ESP32-LyraT 4.2板载AUX_IN的使用方法.

运行官方例程 pipeline_amr_sdcard ,通过板载MIC录音. 可以将声音录制到SD卡上.

但如果声源来自aux_in接口, 则录音没有成功. 问题表现为SD卡上有生成amr文件, 但amr文件是静音的,并没有声响.

请问如果录音声源来自AUX_IN接口,是否需要通过先调用什么API接口,才能录制来自AUX_IN的声源?
(或者是其它什么问题吗?)

谢谢.

Nob Oba
Posts: 2
Joined: Thu Dec 19, 2019 12:23 am

Re: 请教关于ESP32-LyraT 4.2板载AUX_IN的使用方法

Postby Nob Oba » Wed Dec 25, 2019 3:12 am

I had the same problem here. I realized I have to manually switch the input port of the ADC. More precisely, write 0x50 to the ADC control register 2 of the ES8388. Hope this helps. Oba

Who is online

Users browsing this forum: No registered users and 41 guests