| maybe something missing in my understanding of globals. Toot 9 p105 and 106
in manual. together, instr 9 and instr 99 allow me to control balance of
dry sound but not of wet (wet sound looks equally loud in both channels).
correct?
if that really is the case, could someone please suggest best way to create
a single ibalance variable that would control balance of wet to dry -global
crossfade? (also recalling that there are mathematically different types of
crossfades).
garvbsig init 0
instr9
idur = p3
iamp = p4
iskiptime = p5
iattack = p6
irelease = p7
ibalance = p8
irvbgain = p9
kamp linen iamp, iattack, idur, irelease
asig soundin "soundin.aiff", iskiptime
arampsig = kamp * asig
outs arampsig * ibalance, arampsig * (1 - ibalance)
garvbsig = garvbsig + arampsig * irvbgain
endin
instr99 ; global reverb
irvbtime = p4
asig reverb garvbsig, irvbtime
outs asig, asig
garvbsig = 0
endin
tolve
|