CircuitSetup / Time-Circuits-Display

Fully Featured Time Circuits Display
https://circuitsetup.us/product/complete-time-circuits-display-kit/
Other
104 stars 11 forks source link

Allow music to be played from sd card #4

Closed CircuitSetup closed 2 years ago

CircuitSetup commented 3 years ago
jasonglisson commented 3 years ago

I might be able to look into this. I just got my circuits and was looking over the documentation. I've got some experience triggering sounds with arduino in blasters and lightsabers that I've written code for. Really nice work on this kit by the way!

CircuitSetup commented 3 years ago

This can be done using the ESP8266Audio library that is used for other sounds, FYI. There is another file that would have to be included to do stuff from an SD card.

Glad you like the kit! Thanks!

jasonglisson commented 3 years ago

What are you thoughts about triggers for the music? We're you wanting alarms or did you have something else in mind?

I'll have a look at the library. Several of the ones I've worked with require mp3/wav files to be named 0000 or 0001 etc. And then some require specific types of high speed SD cards in order to play multiple sounds at the same time.

On Mon, Jul 26, 2021, 7:54 PM John @.***> wrote:

This can be done using the ESP8266Audio library that is used for other sounds, FYI. There is another file that would have to be included to do stuff from an SD card.

Glad you like the kit! Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CircuitSetup/Time-Circuits-Display/issues/4#issuecomment-887104858, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABA3PG7EOHREIBOZT2QJPK3TZXYTJANCNFSM44PXI66Q .

CircuitSetup commented 3 years ago

I was thinking this would work with an alarm that would allow setting the time for the alarm and setting the sound. In addition this could also be a stand alone music player, but it may be more useful as an alarm feature first.

I started to implement a web interface as well, but right now all it does is set the wifi credentials. Other fields are in there but they do not save properly yet. It may be easier to allow for setting time and sound files with this. Data is stored in the eeprom.

CircuitSetup commented 2 years ago

This was added in PR #16