webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
OscillatorNode Interface Reference

import"OscillatorNode.idl";

Inheritance diagram for OscillatorNode:
AudioNode EventTarget

Public Member Functions

void start (optional unrestricted double when=0)
 
void stop (optional unrestricted double when=0)
 
void setPeriodicWave (PeriodicWave? wave)
 
- Public Member Functions inherited from AudioNode
void connect (AudioNode destination, optional unsigned long output=0, optional unsigned long input=0)
 
void connect (AudioParam destination, optional unsigned long output=0)
 
void disconnect (optional unsigned long output=0)
 
- Public Member Functions inherited from EventTarget
void addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false)
 
void removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

attribute OscillatorType type
 
const unsigned short UNSCHEDULED_STATE = 0
 
const unsigned short SCHEDULED_STATE = 1
 
const unsigned short PLAYING_STATE = 2
 
const unsigned short FINISHED_STATE = 3
 
readonly attribute unsigned short playbackState
 
readonly attribute AudioParam frequency
 
readonly attribute AudioParam detune
 
attribute EventHandler onended
 
- Public Attributes inherited from AudioNode
readonly attribute AudioContext context
 
readonly attribute unsigned long numberOfInputs
 
readonly attribute unsigned long numberOfOutputs
 
attribute unsigned long channelCount
 
attribute DOMString channelCountMode
 
attribute DOMString channelInterpretation
 

Member Function Documentation

◆ setPeriodicWave()

void OscillatorNode::setPeriodicWave ( PeriodicWave wave)

◆ start()

void OscillatorNode::start ( optional unrestricted double  when = 0)

◆ stop()

void OscillatorNode::stop ( optional unrestricted double  when = 0)

Member Data Documentation

◆ detune

readonly attribute AudioParam OscillatorNode::detune

◆ FINISHED_STATE

const unsigned short OscillatorNode::FINISHED_STATE = 3

◆ frequency

readonly attribute AudioParam OscillatorNode::frequency

◆ onended

attribute EventHandler OscillatorNode::onended

◆ playbackState

readonly attribute unsigned short OscillatorNode::playbackState

◆ PLAYING_STATE

const unsigned short OscillatorNode::PLAYING_STATE = 2

◆ SCHEDULED_STATE

const unsigned short OscillatorNode::SCHEDULED_STATE = 1

◆ type

attribute OscillatorType OscillatorNode::type

◆ UNSCHEDULED_STATE

const unsigned short OscillatorNode::UNSCHEDULED_STATE = 0

The documentation for this interface was generated from the following file: