I was able to play raw audio files directly from the code and also from an sd card (on the original Espruino board) according to the instructions shown below but I have a speed issue.
Placing the raw audio inline it seems to be played at random speed. I should use the Base 64 option when converting? I believe I followed the instructions exactly but when the file is played the speed varies each time.
If I instead stream from the sd card it sounds like the file is played at very high speed. I believe I followed the instructions exactly but maybe I need to change some parameters in the streaming example?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I was able to play raw audio files directly from the code and also from an sd card (on the original Espruino board) according to the instructions shown below but I have a speed issue.
Placing the raw audio inline it seems to be played at random speed. I should use the Base 64 option when converting? I believe I followed the instructions exactly but when the file is played the speed varies each time.
If I instead stream from the sd card it sounds like the file is played at very high speed. I believe I followed the instructions exactly but maybe I need to change some parameters in the streaming example?
3 Attachments