OscillatorNode class

Annotated by:
  • 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 Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
removeEventListener Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
dispatchEvent Inherited ( Event event ) → bool
disconnect Inherited ( int output ) → void
connectNode Inherited ( AudioNode destination, [int output = 0, int input = 0] ) → void
connectParam Inherited ( AudioParam destination, [int output = 0] ) → void