# eric@zhevny.com guitar_mix chainsetup file

### general 
-b:128 -B:rtlowlatency -n:guitar_mix -X -t:902.802

### audio inputs 
-a:1,6,11  -i:track1.wav
-a:2,7,12  -i:track2.wav
-a:3,8,13  -i:track3.wav
-a:4,9,14  -i:track4.wav
-a:5,10,15 -i:jack_alsa
#-a:5,10,15 -f:16,1,44100 -i alsahw,0

### audio outputs 

# live output
-a:1,2,3,4,5 -f:16,2,44100 -o jack_alsa
#-a:1,2,3,4,5 -f:16,2,44100 -o alsahw,0,0

# file outputs
### FIXME: change this output to .ogg when crop and fades work
-a:6,7,8,9,10 -f:16,2,44100 -o:/mnt/audio/in_progress/guitar_mix/stereo_out.wav
-a:11,12,13,14,15 -f:16,1,44100 -o:/mnt/audio/in_progress/guitar_mix/mono_out.wav

### chain operators and controllers

# live output 
-a:1 -erc:1,2 -epp:0  -kos:1,0,100,0.02,0 -ea:0 -kos:1,0,200,0.01,0
-a:2 -erc:1,2 -epp:0  -kos:1,0,100,0.04,0 -ea:0 -kos:1,0,200,0.02,0
-a:3 -erc:1,2 -epp:0  -kos:1,0,100,0.06,0 -ea:0 -kos:1,0,200,0.03,0
-a:4 -erc:1,2 -epp:0  -kos:1,0,100,0.08,0 -ea:0 -kos:1,0,200,0.04,0
-a:5 -erc:1,2 -epp:50 -ea:205

# stereo file out for .ogg
-a:6  -erc:1,2 -epp:0  -kos:1,0,100,0.02,0 -ea:0 -kos:1,0,200,0.01,0
-a:7  -erc:1,2 -epp:0  -kos:1,0,100,0.04,0 -ea:0 -kos:1,0,200,0.02,0
-a:8  -erc:1,2 -epp:0  -kos:1,0,100,0.06,0 -ea:0 -kos:1,0,200,0.03,0
-a:9  -erc:1,2 -epp:0  -kos:1,0,100,0.08,0 -ea:0 -kos:1,0,200,0.04,0
-a:10 -erc:1,2 -epp:50 -ea:205
### crop and fade in/out
### generate an effects preset file for this in preprocessing
#-a:6,7,8,9,10  -ea:0 -kl:1,0,100,4,0,0,10,1,290,1,300,0

# mono file out for pool
-a:11 -ea:0 -kos:1,0,200,0.01,0
-a:12 -ea:0 -kos:1,0,200,0.02,0
-a:13 -ea:0 -kos:1,0,200,0.03,0
-a:14 -ea:0 -kos:1,0,200,0.04,0
-a:15 -ea:205
### crop and fade in/out
### generate an effects preset file for this in preprocessing
#-a:11,12,13,14,15 -gc:$pos,300 -ea:100 -klg:0,0,100,4,0,0,10,1,290,1,300,0
