Hi,
What is the right way to encode i2stream using g711 encoding? Any samples please?
Thanks
Search found 5 matches
- Fri Jul 29, 2022 2:19 pm
- Forum: ESP-ADF
- Topic: g711 encoding
- Replies: 0
- Views: 1799
- Thu Jul 21, 2022 7:09 pm
- Forum: ESP-ADF
- Topic: Trying to fetch buffer from microphone
- Replies: 5
- Views: 4589
Re: Trying to fetch buffer from microphone
I am trying to encode microphone stream to get raw bytes but I am getting following the console: I (21343) OPUS_ENCODER: opus open Audio event 8 from my_el element AEL_STATUS_STATE_RUNNING readign bytes Audio event 8 from opus element AEL_STATUS_STATE_RUNNING E (22593) task_wdt: Task watchdog got tr...
- Wed Jul 20, 2022 4:35 pm
- Forum: ESP-ADF
- Topic: Trying to fetch buffer from microphone
- Replies: 5
- Views: 4589
Re: Trying to fetch buffer from microphone
I changed code to: DLOGD("[1.0] Start codec chip"); audio_board_handle_t board_handle = audio_board_init(); audio_hal_ctrl_codec(board_handle->audio_hal, AUDIO_HAL_CODEC_MODE_BOTH, AUDIO_HAL_CTRL_START); audio_hal_set_volume(board_handle->audio_hal, 100); DLOGD( "[2.0] Create i2s stream to read audi...
- Wed Jul 20, 2022 2:13 pm
- Forum: ESP-ADF
- Topic: Trying to fetch buffer from microphone
- Replies: 5
- Views: 4589
Re: Trying to fetch buffer from microphone
Thanks for the reply.
I am looking for converting microphone stream to opus codec and then read buffer. Can you provide rough code sample how to do this?
I dont understand what do you mean by i2_read?
I am looking for converting microphone stream to opus codec and then read buffer. Can you provide rough code sample how to do this?
I dont understand what do you mean by i2_read?
- Wed Jul 20, 2022 9:33 am
- Forum: ESP-ADF
- Topic: Trying to fetch buffer from microphone
- Replies: 5
- Views: 4589
Trying to fetch buffer from microphone
Hi, I am trying to simply get audio buffer after 20 MS and send that buffer to other methods of the project. Examples are too complicated for such simple use case. Can you anyone guide me whether I am doing it right? DLOGD("[1.0] Start codec chip"); audio_board_handle_t board_handle = audio_board_in...