Tone.js
    Preparing search index...

    Interface ToneBufferSourceOptions

    interface ToneBufferSourceOptions {
        context: BaseContext;
        curve: OneShotSourceCurve;
        fadeIn: Unit.Time;
        fadeOut: Unit.Time;
        loop: boolean;
        loopEnd: Unit.Time;
        loopStart: Unit.Time;
        onended: onEndedCallback;
        onerror: (error: Error) => void;
        onload: () => void;
        playbackRate: number;
        url: string | AudioBuffer | ToneAudioBuffer;
    }

    Hierarchy

    • OneShotSourceOptions
      • ToneBufferSourceOptions
    Index

    Properties

    context: BaseContext
    curve: OneShotSourceCurve
    fadeIn: Unit.Time
    fadeOut: Unit.Time
    loop: boolean
    loopEnd: Unit.Time
    loopStart: Unit.Time
    onended: onEndedCallback
    onerror: (error: Error) => void
    onload: () => void
    playbackRate: number
    url: string | AudioBuffer | ToneAudioBuffer