3 ms·
> you can't use it to connect arbitrary ports of those unit generators together. Each has only one designated ChucK input and/or output. This makes it difficult
by droithomme 13y ago
> you can't use it to connect arbitrary ports of those unit generators together. Each has only one designated ChucK input and/or output. This makes it difficult to truly experiment with modulation
You can route things to multiple destinations with multiple ChucK operators.
You can also route to specific inputs by naming them.
Arbitrary routings are neither impossible nor a problem.
SinOsc A => dac.left; // Here, A's main output connects to a specific input of object dac.
SinOsc B => dac;
A => B.freq; // Here we see the same A having another output connection, and connecting to a specific input of another object to create FM modulation.
- droithomme 13y agoNOTE: please ignore above post. I shouldn't post before coffee, or without checking code. Routing A's audio output to B's frequency control output does require doing it in a loop since A's output is not compatible with freq's input. Have to do: A.last() => B.freq, and last() is the current sample, so needs to be called in a loop to work, which is what AC was saying - parameter modulation ends up being fiddling with individual samples.