Pwm

An anti-aliased pulsewave modulation oscillator built from FM feedback.

Inherits from Ugen.

Properties

  • frequency : Hz. default range { 50, 3200 }. default value 440.
  • amp : Float. default range { 0, 1 }. default value: .25.
  • pulsewidth : Float. default range { 0, 1 }. default value: .5

Methods

  • play( Array:frequencies, Array:durations ) : This method accepts arrays of frequencies and durations as arguments to create and start a sequencer targeting the oscillator.
  • stop() : This method stops the sequencer that is built into the oscillator if it has been started.
  • kill() : Disconnect the oscillator from whatever bus it is connected to.