aboutsummaryrefslogtreecommitdiff
path: root/monitor_on_analog_out
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_on_analog_out')
-rwxr-xr-xmonitor_on_analog_out22
1 files changed, 22 insertions, 0 deletions
diff --git a/monitor_on_analog_out b/monitor_on_analog_out
new file mode 100755
index 0000000..f83c4f1
--- /dev/null
+++ b/monitor_on_analog_out
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Winfried Ritsch, Institute of Electronic Music and Acoustics, 2003
+# GPL see Licence.txt
+
+# drive hdspm_mixer programm with bash
+# all channels in and playback to alternate channel 63 or 64, which are analog out
+# be sure to have enabled analog out in control (use amixer)
+#
+# script in same folder as hdspm_mixer
+
+cd `dirname $0`
+
+echo set mixer even to out 0 and odd to 1 as monitor
+
+for i in $(seq 64 2 126)
+do
+ ./hdspm_mixer 0 $i 62 $1
+done
+for i in $(seq 65 2 127)
+do
+ ./hdspm_mixer 0 $i 63 $1
+done