Oscillator library provides series of oscillator that generates various kind of waves. It also supports complex waves by mixing them each other. Oscillator classes have structure such like a file and folder. You can contain several oscillators into another oscillator. Recursived oscillators generates mixed waves. And you can also apply ocillators to other oscillator's parameter. (for example you can controll oscillatorA's amplitude with oscillatorB's value by setting B to A's amplitudeOscillator).

download

samples

  • 1d motion controll
  • 2d motion controll
  • color controll
  • mixing waves
  • controll an osc by another osc

Oscillator

The data type that contains all Oscillator subclasses.

WaveOscillator

Series of classes that generates various kind of waves. Currently these support, sin, cos, triangle, square, sawtooth(up, down) waves.

basic method

intermediate method

advanced method

NoiseOscillator

Series of classes that generates noise. Compatible with WaveOscillator but it doen't have period.

basic method

intermediate method

advanced method

Constant Oscillator

A kind of special oscillator subclass that returns just fixed number. Basically this class is used internally.

Composite Oscillator

A kind of special oscillator subclass that contains series of other oscillators inside. Composite Oscilator returns mixed waves that is contained inside.

basic method

intermediate method

advanced method