Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e0082ca3de613eaaba621b7e30b4f37e > files > 17

yate-2.0.0-2mdv2009.1.i586.rpm

[mohs]
;List of pipelines that will be used as sources of music (on hold). 
;Each pipeline should write to stdout in 16bit signed linear 
;at rate 8000/s.
;From outside (e.g. routing modules) mohs are addressed 
;as moh/default, moh/noise etc.

; use mpg123 to play a bunch of mp3 files (shuffled)
default=while true; do mpg123 -q -m -r 8000 -s -Z sounds/*.mp3; done

; just (loud) random noise from our favorite source
noise=cat /dev/urandom

; a relatively new madplay (>=0.15) is the best choice - low CPU usage,
;  built-in resampling, plays multiple files (shuffled)
madplay=while true; do madplay -q --no-tty-control -m -R 8000 -o raw:- -z sounds/*.mp3; done