Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A rainy Paris café on the command line
http://alexarmstrong.net/2015/02/rainy-paris-cafe
#!/bin/sh
wget https://www.coffitivity.com/sounds/audio/mp3/cafeBastille_paris_mp3.mp3 -O - | mplayer - -loop 0 -volume 65 &
wget https://dl.dropboxusercontent.com/u/26515177/RainyMood.mp3 -O - | mplayer - -loop 0 -volume 55 &
mplayer -playlist http://listen.jazzradio.com/public3/pariscafe.pls -volume 45
killall mplayer
#!/bin/sh
# Loop rain and coffeeshop ambiance
mplayer RainyMood.mp3 -loop 0 -volume 55 &
mplayer cafeBastille_paris_mp3.mp3 -loop 0 -volume 65 &
# Play appropriate radio station
mplayer -playlist http://listen.jazzradio.com/public3/pariscafe.pls -volume 45
# Stop all mplayer streams when aborting
killall mplayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment