OscillatorNode class

Annotations
  • DocsEditable()
  • DomName('OscillatorNode')
  • Experimental()
Extends

Constants

endedEvent = const EventStreamProvider<Event>('ended')
Static factory designed to expose ended events to event handlers that are not necessarily instances of OscillatorNode.

Instance Properties

detune AudioParam
read-only
frequency AudioParam
read-only
type String
read / write
onEnded Stream<Event>
read-only
on Events Inherited
read-only
channelCount int Inherited
read / write
channelCountMode String Inherited
read / write
channelInterpretation String Inherited
read / write
context AudioContext Inherited
read-only
numberOfInputs int Inherited
read-only
numberOfOutputs int Inherited
read-only

Instance Methods

noteOff(num when) → void
noteOn(num when) → void
setPeriodicWave(PeriodicWave periodicWave) → void
start([num when]) → void
stop([num when]) → void
addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void Inherited
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void Inherited
dispatchEvent(Event event) → bool Inherited
disconnect(int output) → void Inherited
connectNode(AudioNode destination, [int output = 0, int input = 0]) → void Inherited
connectParam(AudioParam destination, [int output = 0]) → void Inherited