summaryrefslogtreecommitdiff
path: root/audio/TiMidity++/rc.timidity
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-13 00:20:37 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:20:37 +0200
commitb0063fa855c53e7133ccef73b68c2f6aa30eeef8 (patch)
treedc4d36273ec156b356f25f8ff43b14ab941d2de0 /audio/TiMidity++/rc.timidity
parent6f29cee022dd952f286e37fed1f042a923c6b45a (diff)
downloadslackbuilds-b0063fa855c53e7133ccef73b68c2f6aa30eeef8.tar.gz
audio/TiMidity++: Updated for version 2.13.2
Diffstat (limited to 'audio/TiMidity++/rc.timidity')
-rw-r--r--audio/TiMidity++/rc.timidity25
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/TiMidity++/rc.timidity b/audio/TiMidity++/rc.timidity
new file mode 100644
index 0000000000..37d9c1d8a2
--- /dev/null
+++ b/audio/TiMidity++/rc.timidity
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Start/stop/restart the TiMidity++ ALSA sequencer client
+# Have a look at README.alsaseq in the TiMidity++ docs for more info.
+
+TIMIDITY_OPTIONS="-iAD -Os -B2,8"
+
+# If CPU usage is too high, try disabling the reverb and chorus effects.
+#TIMIDITY_OPTIONS="$TIMIDITY_OPTIONS -EFreverb=0 -EFchorus=0"
+
+case "$1" in
+ 'start')
+ timidity $TIMIDITY_OPTIONS
+ ;;
+ 'stop')
+ killall timidity
+ ;;
+ 'restart')
+ killall timidity
+ sleep 1
+ timidity $TIMIDITY_OPTIONS
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ ;;
+esac