Add Equalizer support for emu10k1 Audigy

From: Piotr Tajdus <aegis@op.pl>

Added the equalizer support for emu10k1 (Audigy only).
This commit is contained in:
Takashi Iwai 2005-12-12 11:32:07 +00:00
parent f9e1a7c1a1
commit 82b21d4c71
4 changed files with 379 additions and 5 deletions

View file

@ -1,7 +1,7 @@
SUBDIRS = effects
EXTRA_DIST = init_audigy.in init_live.in
bin_SCRIPTS = init_audigy init_live
EXTRA_DIST = init_audigy.in init_audigy_eq10.in init_live.in
bin_SCRIPTS = init_audigy init_audigy_eq10 init_live
do_subst = sed -e 's,[@]datadir[@],$(datadir),g' \
-e 's,[@]PERL[@],$(PERL),g' \
@ -15,4 +15,7 @@ init_live: init_live.in
init_audigy: init_audigy.in
$(do_subst) $(srcdir)/init_audigy.in > init_audigy
CLEANFILES = init_live init_audigy
init_audigy_eq10: init_audigy_eq10.in
$(do_subst) $(srcdir)/init_audigy_eq10.in > init_audigy_eq10
CLEANFILES = init_live init_audigy init_audigy_eq10

View file

@ -3,14 +3,16 @@ EXTRA_DIST = README emu_constants.asm \
vol_2.asm output.asm switch_2.asm \
sto51.asm switch_6.asm copy_2.asm \
prologic.asm fxbus.asm switch_2x2.asm \
mono_switch_2.asm mono_switch_2x2.asm
mono_switch_2.asm mono_switch_2x2.asm \
eq10.asm
dist_effects_DATA = simple.emu10k1 vol_master.emu10k1 tone.emu10k1 \
vol_2.emu10k1 output.emu10k1 switch_2.emu10k1 \
sto51.emu10k1 switch_6.emu10k1 copy_2.emu10k1 \
prologic.emu10k1 fxbus.emu10k1 switch_2x2.emu10k1 \
mono_switch_2.emu10k1 mono_switch_2x2.emu10k1
mono_switch_2.emu10k1 mono_switch_2x2.emu10k1 \
eq10.emu10k1
MAINTAINERCLEANFILES = $(dist_effects_DATA)

View file

@ -0,0 +1,116 @@
name "EQ10"
include "emu_constants.asm"
;Piotr Tajdu¶
;gadrael@interia.pl
; 31 Hz
c0 con 9.9713475915e-02 1.4326204244e-04 1.9971183163e-01
; 62 Hz
c1 con 9.9427771143e-02 2.8611442874e-04 1.9942120343e-01
; 125 Hz
c2 con 9.8849666727e-02 5.7516663664e-04 1.9882304829e-01
; 250 Hz
c3 con 9.7712566171e-02 1.1437169144e-03 1.9760670839e-01
; 500 Hz
c4 con 9.5477456091e-02 2.2612719547e-03 1.9505892385e-01
; 1k Hz
c5 con 9.1159452679e-02 4.4202736607e-03 1.8952405706e-01
; 2k Hz
c6 con 8.3100647694e-02 8.4496761532e-03 1.7686164442e-01
; 4k Hz
c7 con 6.9062328809e-02 1.5468835596e-02 1.4641227157e-01
; 8k Hz
c8 con 4.7820368352e-02 2.6089815824e-02 7.3910184176e-02
; 16k Hz
c9 con 2.5620076154e-02 3.7189961923e-02 -6.2810038077e-02
sco sta 10.0
inl io
toutl equ inl
inr io
toutr equ inr
inrl io
toutrl equ inrl
inrr io
toutrr equ inrr
inc io
toutc equ inc
inlfe io
toutlfe equ inlfe
Equalizer control 0,0,#1
F0_31Hz control #0.5,0,#1
F1_62Hz control #0.5,0,#1
F2_125Hz control #0.5,0,#1
F3_250Hz control #0.5,0,#1
F4_500Hz control #0.5,0,#1
F5_1000Hz control #0.5,0,#1
F6_2000Hz control #0.5,0,#1
F7_4000Hz control #0.5,0,#1
F8_8000Hz control #0.5,0,#1
F9_16000Hz control #0.5,0,#1
dly0 sta 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
dly1 sta 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
dly2 sta 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
dly3 sta 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
dly4 sta 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
dly5 sta 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
out_tmp dyn
tmp2 dyn
tmp dyn
dlx0 sta 0 0
dlx1 sta 0 0
dlx2 sta 0 0
dlx3 sta 0 0
dlx4 sta 0 0
dlx5 sta 0 0
;;; Band Pass Filter Macro:
BPF macro OUT , IN , DELAY , DLXCB , COEF , GAIN
macs1 ACCUM,C_0,COEF+1,DLXCB+1
macs ACCUM,ACCUM,COEF+1,IN
macs ACCUM,ACCUM,COEF+2,DELAY
macs1 ACCUM,ACCUM,COEF,DELAY+1
macmv DELAY+1,DELAY,C_0,C_0
macints DELAY,C_0,ACCUM,sco
macs OUT,OUT,DELAY,GAIN
endm
IIR macro OUT, IN , DLXC, DLYC
macs out_tmp,C_0,C_0,C_0
BPF out_tmp,IN,DLYC,DLXC,c0,F0_31Hz
BPF out_tmp,IN,DLYC+2,DLXC,c1,F1_62Hz
BPF out_tmp,IN,DLYC+4,DLXC,c2,F2_125Hz
BPF out_tmp,IN,DLYC+6,DLXC,c3,F3_250Hz
BPF out_tmp,IN,DLYC+8,DLXC,c4,F4_500Hz
BPF out_tmp,IN,DLYC+10,DLXC,c5,F5_1000Hz
BPF out_tmp,IN,DLYC+12,DLXC,c6,F6_2000Hz
BPF out_tmp,IN,DLYC+14,DLXC,c7,F7_4000Hz
BPF out_tmp,IN,DLYC+16,DLXC,c8,F8_8000Hz
BPF out_tmp,IN,DLYC+18,DLXC,c9,F9_16000Hz
macs DLXC+1,DLXC,C_0,C_0
macs DLXC,IN,C_0,C_0
macs1 tmp,IN,IN,Equalizer
macs tmp,tmp,out_tmp,Equalizer
macs OUT,tmp,out_tmp,Equalizer
endm
IIR toutl,inl,dlx0,dly0
IIR toutr,inr,dlx1,dly1
IIR toutrl,inrl,dlx2,dly2
IIR toutrr,inrr,dlx3,dly3
IIR toutc,inc,dlx4,dly4
IIR toutlfe,inlfe,dlx5,dly5
; macmv toutlfe,inlfe,C_0,C_0
end

View file

@ -0,0 +1,253 @@
#!/bin/sh
LO10K1=@bindir@/lo10k1
#PCM Multi
$LO10K1 -s -n --ctrl c-Left,Right:PCM\ Front\ Playback\ Volume,t-PCM\ Front\ Playback\ Volume:1,c-LeftSurr,RightSurr:PCM\ Surround\ Playback\ Volume,t-PCM\ Surround\ Playback\ Volume:1,c-Center:PCM\ Center\ Playback\ Volume,t-PCM\ Center\ Playback\ Volume:1,c-LFE:PCM\ LFE\ Playback\ Volume,t-PCM\ LFE\ Playback\ Volume:1 --patch_name PCM\ Multi\ Volume -a simple.emu10k1
#Input
$LO10K1 --conadd "PIN(PCM Multi Volume)=FX(8,9,2,3,6,7)"
#PCM switch
#$LO10K1 -n --ctrl c-switchL,switchR:PCM\ Playback\ Switch,t-PCM\ Playback\ Switch:4 --patch_name PCM\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(PCM Switch,0,1)=FX(0,1)"
#PCM
$LO10K1 -n --ctrl c-Left,Right:PCM\ Playback\ Volume,t-PCM\ Playback\ Volume:1 --patch_name PCM\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(PCM Switch,0,1)=PIN(PCM Volume,0,1)"
$LO10K1 --conadd "PIN(PCM Volume,0,1)=FX(0,1)"
#PCM Capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:PCM\ Capture\ Switch,t-PCM\ Capture\ Switch:4 --patch_name PCM\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(PCM Cap Switch,0,1)=FX(0,1)"
# PCM Capture
$LO10K1 -n --ctrl c-Left,Right:PCM\ Capture\ Volume,t-PCM\ Capture\ Volume:1 --patch_name PCM\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(PCM Cap Switch,0,1)=PIN(PCM Cap Volume,0,1)"
$LO10K1 --conadd "PIN(PCM Cap Volume,0,1)=FX(0,1)"
#Analog Mix switch
#$LO10K1 -n --ctrl c-switchL,switchR:Analog\ Mix\ Playback\ Switch,t-Analog\ Mix\ Playback\ Switch:4 --patch_name Analog\ Mix\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Analog Mix Switch)=IN(10,11)"
#Analog Mix
$LO10K1 -n --ctrl c-Left,Right:Analog\ Mix\ Playback\ Volume,t-Analog\ Mix\ Playback\ Volume:1,s-Analog\ Mix\ Playback\ Volume:100#100 --patch_name Analog\ Mix\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Analog Mix Switch)=PIN(Analog Mix Volume)"
$LO10K1 --conadd "PIN(Analog Mix Volume)=IN(10,11)"
#Analog Mix capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:Analog\ Mix\ Capture\ Switch,t-Analog\ Mix\ Capture\ Switch:4 --patch_name Analog\ Mix\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Analog Mix Cap Switch)=IN(10,11)"
#Analog Mix Capture
$LO10K1 -n --ctrl c-Left,Right:Analog\ Mix\ Capture\ Volume,t-Analog\ Mix\ Capture\ Volume:1 --patch_name Analog\ Mix\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Analog Mix Cap Switch)=PIN(Analog Mix Cap Volume)"
$LO10K1 --conadd "PIN(Analog Mix Cap Volume)=IN(10,11)"
#Music switch
#$LO10K1 -n --ctrl c-switchL,switchR:Music\ Playback\ Switch,t-Music\ Playback\ Switch:4 --patch_name Music\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Music Switch)=FX(4,5)"
#Music
$LO10K1 -n --ctrl c-Left,Right:Music\ Playback\ Volume,t-Music\ Playback\ Volume:1 --patch_name Music\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Music Switch)=PIN(Music Volume)"
$LO10K1 --conadd "PIN(Music Volume)=FX(4,5)"
#Music capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:Music\ Capture\ Switch,t-Music\ Capture\ Switch:4 --patch_name Music\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Music Cap Switch)=FX(4,5)"
#Music Capture
$LO10K1 -n --ctrl c-Left,Right:Music\ Capture\ Volume,t-Music\ Capture\ Volume:1 --patch_name Music\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Music Cap Switch)=PIN(Music Cap Volume)"
$LO10K1 --conadd "PIN(Music Cap Volume)=FX(4,5)"
#Mic switch
#$LO10K1 -n --ctrl c-switchL,switchR:Mic\ Playback\ Switch,t-Mic\ Playback\ Switch:4 --patch_name Mic\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Mic Switch)=IN(0,1)"
#Mic
$LO10K1 -n --ctrl c-Left,Right:Mic\ Playback\ Volume,t-Mic\ Playback\ Volume:1 --patch_name Mic\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Mic Switch)=PIN(Mic Volume)"
$LO10K1 --conadd "PIN(Mic Volume)=IN(0,1)"
#Mic capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:Mic\ Capture\ Switch,t-Mic\ Capture\ Switch:4 --patch_name Mic\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Mic Cap Switch)=IN(0,1)"
#Mic Capture
$LO10K1 -n --ctrl c-Left,Right:Mic\ Capture\ Volume,t-Mic\ Capture\ Volume:1 --patch_name Mic\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Mic Cap Switch)=PIN(Mic Cap Volume)"
$LO10K1 --conadd "PIN(Mic Cap Volume)=IN(0,1)"
#Audigy CD switch
#$LO10K1 -n --ctrl c-switchL,switchR:Audigy\ CD\ Playback\ Switch,t-Audigy\ CD\ Playback\ Switch:4 --patch_name Audigy\ CD\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Audigy CD Switch)=IN(2,3)"
#Audigy CD
$LO10K1 -n --ctrl c-Left,Right:Audigy\ CD\ Playback\ Volume,t-Audigy\ CD\ Playback\ Volume:1 --patch_name Audigy\ CD\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Audigy CD Switch)=PIN(Audigy CD Volume)"
$LO10K1 --conadd "PIN(Audigy CD Volume)=IN(2,3)"
#Audigy CD capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:Audigy\ CD\ Capture\ Switch,t-Audigy\ CD\ Capture\ Switch:4 --patch_name Audigy\ CD\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Audigy CD Cap Switch)=IN(2,3)"
#Audigy CD Capture
$LO10K1 -n --ctrl c-Left,Right:Audigy\ CD\ Capture\ Volume,t-Audigy\ CD\ Capture\ Volume:1 --patch_name Audigy\ CD\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Audigy CD Cap Switch)=PIN(Audigy CD Cap Volume)"
$LO10K1 --conadd "PIN(Audigy CD Cap Volume)=IN(2,3)"
#Optical & Coaxial IN switch
#$LO10K1 -n --ctrl c-switchL,switchR:IEC958\ Opt\ and\ Coax\ Playback\ Switch,t-IEC958\ Opt\ and\ Coax\ Playback\ Switch:4 --patch_name Opt\ and\ Coax\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Opt and Coax Switch)=IN(4,5)"
#Optical & Coaxial IN
$LO10K1 -n --ctrl c-Left,Right:IEC958\ Opt\ and\ Coax\ Playback\ Volume,t-IEC958\ Opt\ and\ Coax\ Playback\ Volume:1 --patch_name Opt\ and\ Coax\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Opt and Coax Switch)=PIN(Opt and Coax Volume)"
$LO10K1 --conadd "PIN(Opt and Coax Volume)=IN(4,5)"
#Optical & Coaxial IN capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:IEC958\ Opt\ and\ Coax\ Capture\ Switch,t-IEC958\ Opt\ and\ Coax\ Capture\ Switch:4 --patch_name Opt\ and\ Coax\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Opt and Coax Cap Switch)=IN(4,5)"
#Optical & Coaxial IN Capture
$LO10K1 -n --ctrl c-Left,Right:IEC958\ Opt\ and\ Coax\ Capture\ Volume,t-IEC958\ Opt\ and\ Coax\ Capture\ Volume:1 --patch_name Opt\ and\ Coax\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Opt and Coax Cap Switch)=PIN(Opt and Coax Cap Volume)"
$LO10K1 --conadd "PIN(Opt and Coax Cap Volume)=IN(4,5)"
#Line2 switch
#$LO10K1 -n --ctrl c-switchL,switchR:Line2\ Playback\ Switch,t-Line2\ Playback\ Switch:4 --patch_name Line2\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Line2 Switch)=IN(8,9)"
#Line2
$LO10K1 -n --ctrl c-Left,Right:Line2\ Playback\ Volume,t-Line2\ Playback\ Volume:1 --patch_name Line2\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Line2 Switch)=PIN(Line2 Volume)"
$LO10K1 --conadd "PIN(Line2 Volume)=IN(8,9)"
#Line2 capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:Line2\ Capture\ Switch,t-Line2\ Capture\ Switch:4 --patch_name Line2\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Line2 Cap Switch)=IN(8,9)"
#Line2 Capture
$LO10K1 -n --ctrl c-Left,Right:Line2\ Capture\ Volume,t-Line2\ Capture\ Volume:1 --patch_name Line2\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Line2 Cap Switch)=PIN(Line2 Cap Volume)"
$LO10K1 --conadd "PIN(Line2 Cap Volume)=IN(8,9)"
#Aux2 switch
#$LO10K1 -n --ctrl c-switchL,switchR:Aux2\ Playback\ Switch,t-Aux2\ Playback\ Switch:4 --patch_name Aux2\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Aux2 Switch)=IN(12,13)"
#Aux2
$LO10K1 -n --ctrl c-Left,Right:Aux2\ Playback\ Volume,t-Aux2\ Playback\ Volume:1 --patch_name Aux2\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Aux2 Switch)=PIN(Aux2 Volume)"
$LO10K1 --conadd "PIN(Aux2 Volume)=IN(12,13)"
#Aux2 capture switch
#$LO10K1 -n --ctrl c-switchL,switchR:Aux2\ Capture\ Switch,t-Aux2\ Capture\ Switch:4 --patch_name Aux2\ Cap\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "PIN(Aux2 Cap Switch)=IN(12,13)"
#Aux2 Capture
$LO10K1 -n --ctrl c-Left,Right:Aux2\ Capture\ Volume,t-Aux2\ Capture\ Volume:1 --patch_name Aux2\ Cap\ Volume -a vol_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Aux2 Cap Switch)=PIN(Aux2 Cap Volume)"
$LO10K1 --conadd "PIN(Aux2 Cap Volume)=IN(12,13)"
#1
#Stereo to 5.1
$LO10K1 -n --ctrl c-Left,Right:Front\ Playback\ Volume,t-Front\ Playback\ Volume:1,s-Front\ Playback\ Volume:100#100,c-LeftSurr,RightSurr:Surround\ Playback\ Volume,t-Surround\ Playback\ Volume:1,c-Center:Center\ Playback\ Volume,t-Center\ Playback\ Volume:1,c-LFE:LFE\ Playback\ Volume,t-LFE\ Playback\ Volume:1 --patch_name Stereo\ To\ 51 -a sto51.emu10k1
#Input
$LO10K1 --conadd "POUT(PCM Volume)=PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Analog Mix Volume)>PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Music Volume)>PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Mic Volume)>PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Audigy CD Volume)>PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Opt and Coax Volume)>PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Line2 Volume)>PIN(Stereo To 51,0,1)"
$LO10K1 --conadd "POUT(Aux2 Volume)>PIN(Stereo To 51,0,1)"
#Capture
#$LO10K1 -n --patch_name Capture\ Copy -a copy_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(PCM Cap Volume)=PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Analog Mix Cap Volume)>PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Music Cap Volume)>PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Mic Cap Volume)>PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Audigy CD Cap Volume)>PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Opt and Coax Cap Volume)>PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Line2 Cap Volume)>PIN(Capture Copy)"
#$LO10K1 --conadd "POUT(Aux2 Cap Volume)>PIN(Capture Copy)"
#Output
#$LO10K1 --conadd "POUT(Capture Copy)=OUT(22,23)"
$LO10K1 --conadd "POUT(PCM Cap Volume)=OUT(22,23)"
$LO10K1 --conadd "POUT(Analog Mix Cap Volume)>OUT(22,23)"
$LO10K1 --conadd "POUT(Music Cap Volume)>OUT(22,23)"
$LO10K1 --conadd "POUT(Mic Cap Volume)>OUT(22,23)"
$LO10K1 --conadd "POUT(Audigy CD Cap Volume)>OUT(22,23)"
$LO10K1 --conadd "POUT(Opt and Coax Cap Volume)>OUT(22,23)"
$LO10K1 --conadd "POUT(Line2 Cap Volume)>OUT(22,23)"
$LO10K1 --conadd "POUT(Aux2 Cap Volume)>OUT(22,23)"
#Tone
$LO10K1 -n --ctrl c-bass0,bass1,bass2,bass3,bass4:Tone\ Control\ -\ Bass,t-Tone\ Control\ -\ Bass:2,v-Tone\ Control\ -\ Bass:1,c-treble0,treble1,treble2,treble3,treble4:Tone\ Control\ -\ Treble,t-Tone\ Control\ -\ Treble:3,v-Tone\ Control\ -\ Treble:1,c-toneonoff:Tone\ Control\ -\ Switch,t-Tone\ Control\ -\ Switch:4 --patch_name Tone\ Controls -a tone.emu10k1
#Input
$LO10K1 --conadd "POUT(PCM Multi Volume)=PIN(Tone Controls)"
$LO10K1 --conadd "POUT(Stereo To 51)>PIN(Tone Controls)"
#Equalizer
$LO10K1 -n --patch_name EQ10 -a eq10.emu10k1
#Input
$LO10K1 --conadd "POUT(Tone Controls)>PIN(EQ10)"
#Master
$LO10K1 -n --ctrl c-VolM:Master\ Playback\ Volume,t-Master\ Playback\ Volume:1 --patch_name Master\ Volume -a vol_master.emu10k1
#Inputs
$LO10K1 --conadd "POUT(EQ10)>PIN(Master Volume)"
#$LO10K1 --conadd "POUT(Tone Controls)>PIN(Master Volume)"
#Master switch
#$LO10K1 -n --ctrl c-switch:Master\ Playback\ Switch,t-Master\ Playback\ Switch:4 --patch_name Master\ Switch -a switch_6.emu10k1
#Input
#$LO10K1 --conadd "POUT(Master Volume)=PIN(Master Switch)"
#Output
$LO10K1 -n --ctrl c-enableL,enableR:IEC958\ Optical\ Raw\ Playback\ Switch,t-IEC958\ Optical\ Raw\ Playback\ Switch:4 --patch_name Output -a output.emu10k1
#Inputs
#$LO10K1 --conadd "POUT(Master Switch)=PIN(Output,0,1,2,3,4,5)"
$LO10K1 --conadd "POUT(Master Volume)=PIN(Output,0,1,2,3,4,5)"
$LO10K1 --conadd "PIN(Output,6,7)=FX(20,21)"
#Output
$LO10K1 --conadd "POUT(Output,0,1,2,3,4,5)=OUT(8,9,14,15,10,11)"
#$LO10K1 --conadd "POUT(Output,2,3,4,5)=OUT(14,15,10,11)"
$LO10K1 --conadd "POUT(Output,6,7,8,9,10,11)=OUT(0,1,6,7,2,3)"
#$LO10K1 -n --patch_name delay1 -a delay.emu10k1
#$LO10K1 --conadd "POUT(delay1,0)=OUT(8)"
#$LO10K1 --conadd "PIN(delay1,0)=POUT(Output,0)"
#$LO10K1 -n --patch_name delay2 -a delay.emu10k1
#$LO10K1 --conadd "POUT(delay2,0)=OUT(9)"
#$LO10K1 --conadd "PIN(delay2,0)=POUT(Output,1)"
#Headphone
$LO10K1 -n --ctrl c-Left,Right:Headphone\ Playback\ Volume,t-Headphone\ Playback\ Volume:1 --patch_name Headphone\ Volume -a vol_2.emu10k1
#Input
$LO10K1 --conadd "PIN(Headphone Volume,0,1)>PIN(Stereo To 51,0,1)"
#Headphone switch
#$LO10K1 -n --ctrl c-switchL,switchR:Headphone\ Playback\ Switch,t-Headphone\ Playback\ Switch:4 --patch_name Headphone\ Switch -a switch_2.emu10k1
#Input
#$LO10K1 --conadd "POUT(Headphone Volume)=PIN(Headphone Switch)"
#Output
#$LO10K1 --conadd "POUT(Headphone Switch,0,1)=OUT(4,5)"
$LO10K1 --conadd "POUT(Headphone Volume,0,1)=OUT(4,5)"