WebIDLpedia

OscillatorNode interface

Definition

Web Audio API 1.1 defines OscillatorNode



[Exposed=Window]
interface OscillatorNode : AudioScheduledSourceNode {
    constructor (BaseAudioContext context, optional OscillatorOptions options = {});
    attribute OscillatorType type;
    readonly attribute AudioParam frequency;
    readonly attribute AudioParam detune;
    undefined setPeriodicWave (PeriodicWave periodicWave);
};

Methods and attributes that return objects implementing OscillatorNode

Referring IDL interfaces/dictionaries