CosBox Version 1 #1629
Replies: 3 comments 3 replies
-
Cool: looking forward to see the videos... |
Beta Was this translation helpful? Give feedback.
-
can you share the code you used for selecting the sounds to be played? Do you experience any slight background noise when sounds are not being played? |
Beta Was this translation helpful? Give feedback.
-
Thanks @cmcooper1971 . We ended up in similar places... My demo code is below. The demo below steps plays three wavs by stepping through two wav files (file1, file2, file1) so I could prove to myself that there was no need to close or "rewind" the wav files. My real app will use the playWAV and checkIfWavIsDonePlaying functions with playWAV being passed the appropriate filenames or index to the appropriate file name. Thanks again.
|
Beta Was this translation helpful? Give feedback.
-
Hi All,
I wanted to share with everyone who uses Phils Audio Tools library my project, which I have built for a friend and his Star Wars community. You can see what they do at https://www.youtube.com/@norwichdroids and to say thanks to Phil Schatzmann before I post on other platforms.
It’s called CosBox and is a Class D I2S Amplifier, using a Texas Instruments TAS5760L I2S IC, MP3 Player with SD Card, I2S Microphone input for use as a megaphone with Voice Changer. All controlled by an ESP32 WROOM.
Why include a Wi-Fi unit I hear you asking?!
The answer is simple, the receiver is accompanied by a transmitter, which the user uses, to trigger chosen tracks in certain orders, control the volume and to switch between the MP3 player and the Microphone input. This is achieved through traditional push switches sown into a fingerless glove, plus single and double tap detection, as the transmitter is complete with an MPU. In a later release, I will use the MPU for full gesture control, to control the receiver unit in new ways.
The user will be able to wear their chosen costume, select from a profile of pre-stored characters and the sound tracks from the various films.
The unit is powered by an Lithium 18650 battery, and includes full battery charging and battery protection circuitry, 3.3V regulator circuit for the ESP32 and associated Digital ICs, plus a 12V boost convertor for the main Amplifier power.
I wanted to say thanks to Phil for his work as without his library, I would have struggled to get this project off the ground, not alone completed.
When I have videos of the characters in full costume dress, using the platform, I will share them.
Thanks Phil.
Beta Was this translation helpful? Give feedback.
All reactions