Last active
August 29, 2015 14:14
-
-
Save alehandrof/0f02ae69081efd67f8ad to your computer and use it in GitHub Desktop.
A rainy Paris café on the command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://alexarmstrong.net/2015/02/rainy-paris-cafe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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