Turning a TP-LINK TL-MR3020 into an audio player

Its been a while i have been messing with TP-LINK TL-MR3020 router. Before with couple of modifications to hardware and software i made a temperature monitor with room light controller via a custom web interface. If you view below links you will have an idea.
http://pixelatedpic.blogspot.com/2013/01/openwrt-on-tl-mr3020-controlling-arduino.html
http://pixelatedpic.blogspot.com/2013/04/openwrt-on-tl-mr3020-controlling.html



This time i flush the TL-MR3020 with Openwrt. After couple of usb packages and audio packages i just plug in the USB sound card (which was given by whoknowz - https://www.facebook.com/nashith) to the router.

When the USB sound card is detected from the linux, you can check by command dmesg. Then install the madplay or any player you prefer.
I installed madplay because it play audio streams and play local files.
For test i played the audio stream from atoll radio and it works great. Just ssh the router and pass this command
wget -o - http://radioatoll.serverroom.us:7088/ | madplay -




Locally played an 1KHz tone to test the audio played locally. madplay 440Hz_44100Hz_16bit_05sec.mp3
when this command passes the mp3 file starts to play. :)

These applications can be used to make many useful gadgets.
Opensource rocks
Share on Google Plus

About AKMM

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

1 comments :