twitter |   ||  email | PGP --> harshal @ harshdevx.comharshdevx:~#
harshdevX:~#r00t  |  analyt1cs   |  st1lls  |  ab0ut m3
updating...
raspberry pi as your fm station
i love raspberry pi. a few days back i wanted to listen to my music collection in my kitchen and it seemed like it was impossible. the music collection hosted on my music server in basement, the boombox in kitchen had everything but bluetooth, i stopped using cds long back and the other music player that i have that has bluetooth seemed like a pain first pairing the device with my phone and then getting it to play.

so my problem was how to play something and make it available in every room without actually putting a lot of money towards buying wifi enabled gadgets. hi-fast a company that manufactures fm transmitter. the range is pretty good and i am happy with it check the image below:

Click to englarge me
sudo apt-get install mpd mpc
edit the mpd.conf file at /etc/mpd.conf location and correct the configuration parameters related to directories, service and audio hardware settings; below are mine
#1 music_directory "/home/pi/music"
#2 playlist_directory "/home/pi/music/Playlist"
#3 db_file "/var/lib/mpd/tag_cache"
#4 log_file "/var/log/mpd/mpd.log"
#5 pid_file "/run/mpd/pid"
#6 state_file "/var/lib/mpd/state"
#7 sticker_file "/var/lib/mpd/sticker.sql"
#8 user "mpd"
#9 bind_to_address "any"
#10
#11 audio_output {
#12 type "alsa"
#13 name "My ALSA Device"
#14 device "hw:0,0" # optional
#15 format "44100:16:2" # optional
#16 mixer_device "default" # optional
#17 mixer_control "PCM" # optional
#18 mixer_index "0" # optional
#19 }
once you have this running you can now connect to your mpd box using your phone.

concept and design: harshdevX