Tone.js
    Preparing search index...

    Interface PWMOscillatorOptions

    PWM Oscillator

    interface PWMOscillatorOptions {
        context: BaseContext;
        detune: number;
        frequency: Unit.Frequency;
        modulationFrequency: Unit.Frequency;
        mute: boolean;
        onstop: onStopCallback;
        phase: number;
        type: "pwm";
        volume: number;
    }

    Hierarchy

    • BaseOscillatorOptions
      • PWMOscillatorOptions
    Index

    Properties

    context: BaseContext
    detune: number
    frequency: Unit.Frequency
    modulationFrequency: Unit.Frequency
    mute: boolean
    onstop: onStopCallback
    phase: number
    type: "pwm"
    volume: number