WAV Player Jukebox - Revisited
Hello there,
I have a christmas toy, which plays Christmas music and supporting a Christmas tree decoration made last year, which uses a PIC32MX and my parents really love it. However, the PIC32MX is small, and I can't fit an RTOS inside, so another microcontroller controlled the lightings. The Parallax Prop can do all these without pain, so I'm porting this to the processor.
The jukebox keeps playing songs, and move to the next song when the song is finished playing, and continued indefinitely. There are SD-Card functions on the MPLAB XC32 (MDDFS Library) which allows to move to next file automatically.
I've checked the OBEX for such similar function, but there's none. Anyone knows if there are "Find Next File" inside the SD-Card library?
Thanks.
I have a christmas toy, which plays Christmas music and supporting a Christmas tree decoration made last year, which uses a PIC32MX and my parents really love it. However, the PIC32MX is small, and I can't fit an RTOS inside, so another microcontroller controlled the lightings. The Parallax Prop can do all these without pain, so I'm porting this to the processor.
The jukebox keeps playing songs, and move to the next song when the song is finished playing, and continued indefinitely. There are SD-Card functions on the MPLAB XC32 (MDDFS Library) which allows to move to next file automatically.
I've checked the OBEX for such similar function, but there's none. Anyone knows if there are "Find Next File" inside the SD-Card library?
Thanks.
Comments
There an app for C3 "Music Box". I've not studied it yet but you think it'll fit your needs?
Cheers
Here's a little code that lists the root directory contents:
Hello there, thanks for the support. I'll drop you a line sometime later this weekend.
Wow. Thanks for the tip. I should have read the object files thoroughly.
I got one of these programs from OBEX, and it did play the WAV files flawlessly. However, the music from the speakers are weak and there is a lot of static. These speakers are bought from Carrefour and it's a normal cheap computer speakers with a jack.
Should I need an amplifier and a filter in between? Right now I have a simple RC filter with only 1K resistor and 0.1uF capacitor as a filter.