OK, so sorry for such a long wait but at the time I started this project I envisaged working on the I2SAudio library (and other projects) far more than I did over the last year. As it happens circumstances have dictated a much lower release schedule for videos and articles and so I’ve decided to release the Alpha Source code as is. I have given this out two or three times over the last year and no one has reported anything major wrong with it so it should be good to go.
Here is a playlist of the videos I’ve produced so far…
And finally here is the source code. Hope you find it useful!
I’m very pleased that you are continuing on your ISAudio-project. Thank you so much for sharing it. Indeed ESP32 is perfect for such things!
Do you think you could extend your programm in such a way that it will be capable of reading, mixing and playing wav-files directly via SD_MMC from SD-card?
That would really be COOL! I know that there might be a problem with latency which ideally should be max a few milliseconds. But I trust in you – you are capeable of doing this. Love to hearing from you soon!
Yes, this is a feature and I have already planned for it and figured some solutions to the latency issue. If you look at my mixing from SD card video on general I2S audio then you should see some stuff in that code that helps this.
I started adding SD to it based on your older “general I2S audio” library, and was able to play one WAV file. However, I cannot control the Speed or Volume due to what I think is the fact that the program does not exit the
while
loop in the XT_I2S_Class::FillBuffer()It appears that
NumBytesWritten
is always above 0.Here is the repo in case it helps clarify.
https://github.com/stelatoris/XTronical-I2S-Audio-with-SD/tree/main/src
Thanks in advance.
Sorry it is on another “tree” in the repo. Direct link to it is here :
https://github.com/stelatoris/XTronical-I2S-Audio-with-SD/tree/Add-SD-Card/src
Thanks for your efforts. I do intend to return to this project but I’m lately very constrained for time and this gets pushed done the list. But I will look at your work when I start again.
That’s really great! Would you be so kind as to upload an example .ino file to get us started in the absence of documentation? Thanks in advance.
Ahh, good point, I’ll upload some from the videos.
Such a great library, I assume.
While trying to do a first “hello wave” project the debugger told me that I am missing a FreeRTOS library. My quick idea to install it shortly did not worked out. There are plenty of them. Which one is the needed FreeRTOS?
Thank you 🙂
I don’t use FreeRTOS library in this project so that’s confusing. I know of at least two other people who have used the library and not had this issue. I’ll see if I can work out why this is happening. What board are you trying to run it on?
Hi,
With your permission, I created a Github repo for this Library since non-existed. I also included an example sketch to get anyone going playing the audio in the header file.
https://github.com/stelatoris/XTronical-I2S-Audio
Sorry for late reply, for a few months now my site is being plagued with spam for unsavoury sites and it takes time to run through the comments these days so I put it off for a while.
Anyway, yes no problem. I never seem to get round to sorting out my GitHub, I do have one but don’t use it properly.
Hi there, I tried for the patreon, will do it again tomorrow when I’m sure nothing got stuck along the way (did the payment but no confirmation). So I found your video and I a will try to play some sounds simultainiously however could you provide some scematic and parts for the configuration you used in the video? Or a link to more info please. I liked your videos after seeing only one 🙂 my kind of humor. Thanks for sharing.
Sorry for late reply, for a few months now my site is being plagued with spam for unsavoury sites and it takes time to run through the comments these days so I put it off for a while.
Thanks for your comments. Yes, I do need to knock up a diagram. Will try and do soon.