The solution in that case would be to raise the size of the I2S buffers.
Thanks for the suggestion ESP_Sprite, I increased .dma_buf_count from 2 to 10 and the problem with skipping on playback is now resolved! That makes sense that another task also using SPIFFS was possibly causing a delay in ...
Search found 6 matches
- Thu Oct 25, 2018 7:33 am
- Forum: ESP-IDF
- Topic: I2S_write doesn't resume task fast enough
- Replies: 8
- Views: 9842
- Tue Oct 23, 2018 6:22 pm
- Forum: ESP-IDF
- Topic: I2S_write doesn't resume task fast enough
- Replies: 8
- Views: 9842
Re: I2S_write doesn't resume task fast enough
Okay thank you! Ill try that out.
- Tue Oct 23, 2018 4:08 am
- Forum: ESP-IDF
- Topic: I2S_write doesn't resume task fast enough
- Replies: 8
- Views: 9842
Re: I2S_write doesn't resume task fast enough
Okay, I may not understand how tasks are blocked/ unblocked fully.
When I don't initialize the lower priority task, the wav player task runs without glitching. However when the other task is running, the wav task glitches.
The lower priority task reads a text file and parses it. The wav task reads ...
When I don't initialize the lower priority task, the wav player task runs without glitching. However when the other task is running, the wav task glitches.
The lower priority task reads a text file and parses it. The wav task reads ...
- Tue Oct 23, 2018 12:06 am
- Forum: ESP-IDF
- Topic: I2S_write doesn't resume task fast enough
- Replies: 8
- Views: 9842
I2S_write doesn't resume task fast enough
Hi there,
I am trying to play a .wav file using the ESP32, I have successfully set up the I2S driver to send data to an external codec chip.
My issue however is when I call I2S_write to write the next 1024 bytes of wav data, like this: It doesnt return in time to cleanly write the next 1024 byte ...
I am trying to play a .wav file using the ESP32, I have successfully set up the I2S driver to send data to an external codec chip.
My issue however is when I call I2S_write to write the next 1024 bytes of wav data, like this: It doesnt return in time to cleanly write the next 1024 byte ...
- Mon May 07, 2018 7:07 pm
- Forum: ESP-IDF
- Topic: How to output a MONO array to I2S??
- Replies: 0
- Views: 2992
How to output a MONO array to I2S??
Hello,
Question about the I2S driver:
I am trying to output a mono audio sample to the built in DAC. I have an array of samples (16 bit with only the upper 8 bits containing the sample).
I am confused what the difference between the following channel formats are. Let's say I use I2S_CHANNEL_FMT ...
Question about the I2S driver:
I am trying to output a mono audio sample to the built in DAC. I have an array of samples (16 bit with only the upper 8 bits containing the sample).
I am confused what the difference between the following channel formats are. Let's say I use I2S_CHANNEL_FMT ...
- Tue Feb 20, 2018 7:43 am
- Forum: ESP-IDF
- Topic: WiFi Transmit Slowed by using I2S Parallel with DMA
- Replies: 1
- Views: 4661
WiFi Transmit Slowed by using I2S Parallel with DMA
Hi there,
I am using the display driver given in this example: https://esp32.com/viewtopic.php?f=17&t=3188#p14940 and github here: https://github.com/ESP32DE/I2S_parallel_example_drive_a_64x32_display
It uses the parallel mode of the I2S driver with DMA to drive an LED display.
My problem ...
I am using the display driver given in this example: https://esp32.com/viewtopic.php?f=17&t=3188#p14940 and github here: https://github.com/ESP32DE/I2S_parallel_example_drive_a_64x32_display
It uses the parallel mode of the I2S driver with DMA to drive an LED display.
My problem ...