Website: http://www.nongnu.org/yauap/Yauap is a simple commandline audio player based on the GStreamer multimedia framework. There is also a DBus interface that allows yauap to act as a backend for the Amarok audio player. Yauap is free software. Available under the terms of the GNU LESSER GENERAL PUBLIC LICENSE.
I know that amp is already available but it has two shortages:
1. The main shortage is that amp can't play when moc, cmus, or other players that play 'audio', are playing.
2. The second one is that amp can't play ogg, wav (but it can be converted to mp3, though).
Why do I need it?
To tell to conky to play a sound file (this or this) when the uploading rate of the to the interwebz will be under 60 kb/s.
Edit: (if uploading rate speed of eth0 is less than 55 kb/s then activate script)
Inside of .conkyrc
Code: Select all
${if_match ${upspeedf eth0} <= 55}${execp .scripts/yauap.sh}${endif}
Code: Select all
#!/bin/bash
yauap /tmp/12677__Peter_Gross__Sonar_pings.ogg | echo '${alignc}${color RED}ALERT${color}'
Code: Select all
#!/bin/bash
yauap /tmp/12677__Peter_Gross__Sonar_pings.ogg | echo '${voffset 13}${alignc}${color RED}ALERT${color}${voffset -13}'
Code: Select all
#!/bin/bash
yauap /tmp/12677__Peter_Gross__Sonar_pings.ogg | echo '${voffset 13}${alignc}${blink ${color RED}ALERT}${color}${voffset -13}'
