Supex.Pan (supex v0.1.0)

View Source

Module for panning the sound.

By default SuperCollider uses only the left channel. With panning you can ajust this for two speakers.

See SuperCollider's docs for Pan2 https://doc.sccode.org/Classes/Pan2.html

Summary

Functions

Pans the sound in the center.

Functions

center(ugen)

(since 0.1.0)
@spec center(
  binary()
  | %Supex.Ugen{
      add: term(),
      freq: term(),
      lfo: term(),
      mul: term(),
      osc: term(),
      phase: term(),
      sc_command: term(),
      sc_name: term(),
      width: term()
    }
) ::
  <<_::64, _::_*8>>
  | %Supex.Ugen{
      add: term(),
      freq: term(),
      lfo: term(),
      mul: term(),
      osc: term(),
      phase: term(),
      sc_command: term(),
      sc_name: term(),
      width: term()
    }

Pans the sound in the center.

By default SuperCollider uses only the left channel. So with this you get the mono signal on both speakers.