Page 1 of 1

Can MP3 be sent to SPI of Sparkfun MP3 Player ?

Posted: Mon Aug 22, 2016 7:16 am
by douglaskbell
Can uncompressed MP3 audio data be sent from Arduino board, by SPI, to Sparkfun MP3 Player shield instead of from the SD card on the Player shield?

Instead of using SD card on Player board, I want to send the compressed MP3 data from a Particle Photon board on the Particle shield shield, by SPI, to the VS1053B codec chip on Player board, and then to amplifier for speakers.

Particle Shield Shield is attached to Particle Photon board, which has STM32F205RGY6 120Mhz ARM Cortex M3.

Particle Photon board uses its WiFi to receive uncompressed MP3.

Re: Can MP3 be sent to SPI of Sparkfun MP3 Player ?

Posted: Mon Aug 22, 2016 9:12 pm
by skimask
douglaskbell wrote:Can uncompressed MP3 audio data be sent from Arduino board, by SPI, to Sparkfun MP3 Player shield instead of from the SD card on the Player shield?

Instead of using SD card on Player board, I want to send the compressed MP3 data from a Particle Photon board on the Particle shield shield, by SPI, to the VS1053B codec chip on Player board, and then to amplifier for speakers.

Particle Shield Shield is attached to Particle Photon board, which has STM32F205RGY6 120Mhz ARM Cortex M3.

Particle Photon board uses its WiFi to receive uncompressed MP3.
Wha-What?

Re: Can MP3 be sent to SPI of Sparkfun MP3 Player ?

Posted: Tue Aug 23, 2016 2:21 pm
by robertsonics
The VS1053 expects to receive the contents of an MP3 file which is compressed. It uncompresses it on the fly and produces analog audio. The data doesn't need to be from an SD card. However, it does require that you deliver the compressed data fast enough to prevent the VS1053's buffer from under-running, which will produce audible clicks and pops. As long as you can keep up with it's demand for more data (determined by both the bit rate and sample format) it won't care where it's coming from.