Skip to content

Multichannel Expansion #3

Description

@gregsabo

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.

SC-Lang MuliChannel Expansion

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions