Skip to content

Utility

nanosynth.ugens.basic

Basic utility UGens: MulAdd, Sum3, Sum4, Mix.

Mix

Bases: PseudoUGen

Sum the elements of an array, as sclang's Mix.

Only the outer level is summed: each element may be multichannel, so Mix.new(Pan2.ar(source=[a, b])) stays stereo. A single multi-output UGen is the array of its outputs, so Mix.new(Pan2.ar(source=a)) is mono. Use :meth:multichannel to fold a flat list into a fixed width.