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

Properties

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