Closed rshashikanth closed 11 months ago
I am able to use LoadWavFile(), for only upto 5 files and plays flawlessly, but the 6th file onwards, it doesnt play
Please help!
Did you play the 5 files all at the same time? What were the conditions when this happens?
Thank you so much for your reply
No I am not playing at the same time, max I will play 2 files at the same time
clash5.LoadWavFile();
clash6.LoadWavFile();
clash7.LoadWavFile();
startup1.LoadWavFile();
ignition.LoadWavFile();
hum.LoadWavFile();
In this there are 6 files, even when I shuffle them, the last one is not playing, but others work well
But serial monitor Serial.println(I2SAudio.AlreadyPlaying(&hum)); //the last one
gives me `1', which means it is playing
Please help me, this is a awesome library, I am even ready to pay for your help
Thank you so much for your reply
No I am not playing at the same time, max I will play 2 files at the same time
clash5.LoadWavFile(); clash6.LoadWavFile(); clash7.LoadWavFile(); startup1.LoadWavFile(); ignition.LoadWavFile(); hum.LoadWavFile(); In this there are 6 files, even when I shuffle them, the last one is not playing, but others work well But serial monitor Serial.println(I2SAudio.AlreadyPlaying(&hum)); //the last one
gives me `1', which means it is playing
Please help me, this is a awesome library, I am even ready to pay for your help
I can't tell until I look at it. I will try to next week as I'm very busy this week. Are you trying to use it for an RC car/airplane?
Thanks, I am using it for a custom lightsaber
The number of open files is limited by the sd.h lib of the ESP32 by 5, but you can increase the max. number of files.
The number of open files is limited by the sd.h lib of the ESP32 by 5, but you can increase the max. number of files.
Awesome, Thanks a ton
I modified this line, and made max_files=50, works like a charm
bool begin(uint8_t ssPin=SS, SPIClass &spi=SPI, uint32_t frequency=4000000, const char * mountpoint="/sd", uint8_t max_files=50, bool format_if_empty=false);
Thanks, I am using it for a custom lightsaber
That's awesome! I would love to make one for the kids. Keep me updated.
Thanks, I am using it for a custom lightsaber
That's awesome! I would love to make one for the kids. Keep me updated.
Sure, will post link after completion
I am able to use LoadWavFile(), for only upto 5 files and plays flawlessly, but the 6th file onwards, it doesnt play
Please help!