2005-03-17 13:20:28 +00:00
|
|
|
[mohs]
|
2010-03-30 15:12:07 +00:00
|
|
|
; List of pipelines that will be used as sources of music (on hold).
|
|
|
|
; Each pipeline should write to stdout in 16bit signed linear
|
|
|
|
; at default rate 8000/s or as specificed in the "rate" parameter.
|
2014-02-05 11:42:17 +00:00
|
|
|
; From outside (e.g. routing modules) mohs are addressed
|
2010-03-30 15:12:07 +00:00
|
|
|
; as moh/default, moh/noise etc.
|
2005-03-17 13:20:28 +00:00
|
|
|
|
2005-03-17 15:28:05 +00:00
|
|
|
; use mpg123 to play a bunch of mp3 files (shuffled)
|
|
|
|
default=while true; do mpg123 -q -m -r 8000 -s -Z sounds/*.mp3; done
|
2005-03-17 13:20:28 +00:00
|
|
|
|
|
|
|
; 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)
|
2010-03-30 15:12:07 +00:00
|
|
|
madplay=while true; do madplay -q --no-tty-control -m -R 8000 -o raw:- -z sounds/*.mp3; done
|
|
|
|
|
|
|
|
; same madplay but with wideband support
|
|
|
|
wideband=while true; do madplay -q --no-tty-control -m -R ${rate$8000} -o raw:- -z sounds/*.mp3; done
|