Tom

A synthesized tom with a built-in sequencer, generated using a resonant bandpass filter fed by an impulse combined with noise feeding into a lowpass filter.

Inherits from Ugen.

Example:

// use random tunings for each Tom hit  
a = Tom().play( Rndf(80, 160), 1/8 )

Properties

  • pitch : Float. The cutoff frequency of the resonant filter used to generate the Tom sound. This is also set by the note method.
  • amp : Float. default range { 0, 1 }. default value: .25.

Methods

  • note( Float:pitch, Float:amp )
  • 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. Note that if the oscillator is reference by another unit generator it will continue to feed output to it.