ESP32-LyraT 开发板用AUX_IN接口录制音频

liushiwei
Posts: 2
Joined: Wed Oct 28, 2020 9:59 am

ESP32-LyraT 开发板用AUX_IN接口录制音频

Postby liushiwei » Wed Oct 28, 2020 10:11 am

环境: Ubuntu18.04
开发板:ESP32-LyraT V4.3
在ESP-ADF下的pipeline_wav_sdcard 项目基础上修改,
- audio_hal_ctrl_codec(board_handle->audio_hal, AUDIO_HAL_CODEC_MODE_ENCODE, AUDIO_HAL_CTRL_START);
+ audio_hal_ctrl_codec(board_handle->audio_hal, AUDIO_HAL_CODEC_MODE_LINE_IN, AUDIO_HAL_CTRL_START);

程序烧录之后,录制的文件很小,并且没有声音。请问这是什么原因?

liushiwei
Posts: 2
Joined: Wed Oct 28, 2020 9:59 am

Re: ESP32-LyraT 开发板用AUX_IN接口录制音频

Postby liushiwei » Thu Oct 29, 2020 3:01 am

在ESP-ADF下的pipeline_wav_sdcard 项目里录制的WAV时间是20秒,但文件播放时间只有8秒。声音出来的也不对。

Who is online

Users browsing this forum: No registered users and 2 guests