Oscillator Op

Oscillator

This op is deprecated!

It will not receive any updates

Most basic audio sound source


Generates a steady sound in a certain frequency.


Edit Documentation

Full Name
  • Ops.Deprecated.WebAudio.Lib.Tonejs.Source.Oscillator
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorJavascript Libraries


 

INPUT PORTS


Frequency (Dynamic)

The frequency of the oscillator

Detune (Dynamic)

Detunes the sound

Type (Number)

The type of the oscillator: either sine, square, triangle, or sawtooth. Also capable of setting the first x number of partials of the oscillator. For example: sine4 would set be the first 4 partials of the sine wave and triangle8 would set the first 8 partials of the triangle wave.

Phase (Number)

The phase of the oscillator in degrees

Sync Frequency (Number)

Sync the signal to the Transport’s BPM. Any changes to the transports BPM will also affect the oscillators frequency.

Start (Trigger)

Start the source at the specified time. If no time is given (Start Time), start the source now.

Start Time (Number)

The time when to start after Start was triggered

Stop (Trigger)

Stop the source at the specified time. If no time is given (Stop Time), stop the source now.

Stop Time (Number)

The time when to stop after Stop was triggered

Auto Start (Number)

Automatically starts the source when the patch is loaded

Volume (Dynamic)

The volume of the output in decibels

Mute (Number)

Mute the output

OUTPUT PORTS


Audio Out (Object)

The audio signal


Patches using Oscillator

  • Examples
  • Public
  • My Patches