Go Down

Topic: thoughts about Platinum + audio streaming (Read 1 time) previous topic - next topic

gcats

Hey guys, I'd like to have some thoughts on my project here:

Motivation: I googled it and found http://supertechman.blogspot.com.br/2011/08/wifi-wireless-speakers-set.html, and I wanted to make one with better bitrate/quality.

trying to get a internet stream from my (Apache Tomcat) server using a Platinum - http://diysandbox.com/our-products/platinum-arduino-mini-with-wifi. It uses a GainSpan GS1011MI(E/P) wifi module.

What is a good shield to play music? I'm not looking into ridiculous bitrates... but more the better

What kind of format should I use? Read here that ogg/vorbis is a good one, if feasible.

What will be the most limiting factor?
    1) GainSpan module
    2) 16MHz ATMEGA328
    3) Audio Shield

I dont mind optimizing digitalWrite or anything, can you guys give me some direction on where should I start looking at?


gcats

#2
Nov 25, 2013, 11:32 am Last Edit: Nov 25, 2013, 12:25 pm by gcats Reason: 1
I love you, gunna try spark io.

But what about the audio hardware implementation?

DVDdoug

#3
Nov 26, 2013, 10:52 pm Last Edit: Nov 26, 2013, 10:55 pm by DVDdoug Reason: 1
Quote
What kind of format should I use? Read here that ogg/vorbis is a good one, if feasible.
In terms of audio quality, at higher bitrates there's not much difference between MP3, AAC, or OGG.   i.e.  At higher bitrates, any of them will sound identical to the uncompressed original with most program material.

So, it really comes down to which format is easiest to decode, or which format you normally use or prefer.  There's an MP3 shield for the Arduino, so that might be the way to go.   

Ogg is open source, whereas the manufacturer of an MP3 or AAC decoder chip has to pay a royalty that gets passed on to you.  If you can write (or port) the decoder firmware yourself, and figure-out what processor to run it on, you can "get around" the royalties for home/personal use. 

If you can go up to around 800kbps, you can use FLAC (lossless open source compression).  But, I have no idea what's involved in building a hardware FLAC decoder.

Go Up