aboutsummaryrefslogtreecommitdiff
path: root/monitor_on_analog_out
blob: f83c4f1aef8deacf9398e70994a9bd162006e684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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