Tone.js
    Preparing search index...

    Interface SamplerOptions

    interface SamplerOptions {
        attack: Unit.Time;
        baseUrl: string;
        context: BaseContext;
        curve: OneShotSourceCurve;
        loop: boolean;
        loopEnd: number;
        loopStart: number;
        onerror: (error: Error) => void;
        onload: () => void;
        release: Unit.Time;
        urls: SamplesMap;
        volume: number;
    }

    Hierarchy

    • InstrumentOptions
      • SamplerOptions
    Index

    Properties

    attack: Unit.Time
    baseUrl: string
    context: BaseContext
    curve: OneShotSourceCurve
    loop: boolean
    loopEnd: number
    loopStart: number
    onerror: (error: Error) => void
    onload: () => void
    release: Unit.Time
    urls: SamplesMap
    volume: number