Hello,
I have some code (a little too big to post on here at the moment) which produces the following nodeTree:
NODE TREE Group 0
1 group
1001 group
1002 time_1_phase
i_out: 6 tempo: 1 fadeTime: 0 gate: 1
1025 fast_1_phase
i_out: 11 speed: 2 phaseIn: a6 fadeTime: 0 gate: 1
1026 seq_4_sig
i_out: 10 phaseIn: a11 step0: 100 step1: 200 step2: 300 step3: 400 fadeTime: 0 gate: 1
1024 fast_1_sig
i_out: 9 in: a10 fadeTime: 0 gate: 1
1023 saw_2_sig
i_out: 8 freq: a9 amp: a12 fadeTime: 0 gate: 1
1008 rand_3_sig
i_out: 12 randFreq: 4 min: 0 max: 2 phaseIn: a6 fadeTime: 0 gate: 1
1022 out_2_sig
i_out: 7 in: a8 vol: 0.20000000298023 gate: 1 fadeTime: 0.019999999552965
As you can see, I mapped the \amp AudioControl
of the Synth saw_2_sig
to Audio-Bus 12 (a12
), to which the Synth rand_3_sig
is writing to with a ReplaceOut
-UGen. The synth writing sits AFTER the the synth reading from the Bus.
I would expect this to work, as this following minimal example does work:
(
SynthDef(\a, {ReplaceOut.ar(15, SinOsc.ar(\freq.kr(330)))}).add;
SynthDef(\b, {ReplaceOut.ar(0, \in.ar)}).add
)
(
x = Synth(\a);
y = Synth.before(x, \b, [\in, \a15])
)
// move Nodes, mapping continues to work
y.moveBefore(x)
x.moveBefore(y)
If I change the order of Nodes in my code, so that the writing synth comes first, everything works:
NODE TREE Group 0
1 group
1001 group
1002 time_1_phase
i_out: 6 tempo: 1 fadeTime: 0 gate: 1
1025 fast_1_phase
i_out: 11 speed: 2 phaseIn: a6 fadeTime: 0 gate: 1
1026 seq_4_sig
i_out: 10 phaseIn: a11 step0: 100 step1: 200 step2: 300 step3: 400 fadeTime: 0 gate: 1
1024 fast_1_sig
i_out: 9 in: a10 fadeTime: 0 gate: 1
1008 rand_3_sig
i_out: 12 randFreq: 4 min: 0 max: 2 phaseIn: a6 fadeTime: 0 gate: 1
1023 saw_2_sig
i_out: 8 freq: a9 amp: a12 fadeTime: 0 gate: 1
1022 out_2_sig
i_out: 7 in: a8 vol: 0.20000000298023 gate: 1 fadeTime: 0.019999999552965
So, my Question is: Is Mapping of Audio-Rate Inputs independent of Node Order or not?
I’m a little confused :]
EDIT: When I read-then-write on the Bus, I only get zeroes in the Audio Control
(I’m on SC 3.13.0-rc1)
All best,
moritz