Skip to content

osc - Oscillator

Generates periodic waveforms as a primary synthesized tone source.

DirectionHandle
Outputaudio-out
ParameterLabelTypeDefaultRange
detuneDetuneslider (automatable)0-4800 - 4800
frequencyFreqslider (automatable)4400 - 22050
typeWavedropdownsinesine, square, sawtooth, triangle, glottal
FieldValue
Native typeOscillator
Create argsnone
Implementation statusimplemented

Press a then o to add this node.

  • none
  • Add custom waveform controls so users can shape oscillator tone beyond built-in wave types.

Based on OscillatorNode (MDN)

FieldValue
API nodeOscillatorNode
FactorycreateOscillator
Factory argsnone
Web Audio paramsfrequency, detune
NameType
frequencyAudioParam
detuneAudioParam
NameType
typeOscillatorType
SourceIdentifierSection
Primaryw3c-webaudio-1-1OscillatorNode
Secondarymdn-webaudioWeb Audio API