-
Notifications
You must be signed in to change notification settings - Fork 1
Multichannel Expansion #3
Copy link
Copy link
Open
Labels
Description
SC-Lang has a very useful feature called Multichannel Expansion which makes creating multi-channel sounds (such as stereo) remarkably easy. I believe the syntax can be implemented in Python like so:
detuned_osc = ugen.SinOsc(freq=[440, 445])
The resulting ugen will have an "infectious" effect, meaning downstream ugens will implicitly become multichannel as well:
detuned_amp_mod = ugen.Saw(freq=0.5) * detuned_osc
The number of channels for the output is equal to the largest input set, with smaller sets wrapping. The multi-channel ugen object should also support iteration.
Reactions are currently unavailable