Interface ToneEventOptions<T>

interface ToneEventOptions<T> {
    callback: ToneEventCallback<T>;
    context: BaseContext;
    humanize: boolean | Unit.Time;
    loop: number | boolean;
    loopEnd: Unit.Time;
    loopStart: Unit.Time;
    mute: boolean;
    playbackRate: number;
    probability: number;
    value?: T;
}

Type Parameters

  • T

Hierarchy

  • ToneWithContextOptions
    • ToneEventOptions

Properties

callback: ToneEventCallback<T>
context: BaseContext
humanize: boolean | Unit.Time
loop: number | boolean
loopEnd: Unit.Time
loopStart: Unit.Time
mute: boolean
playbackRate: number
probability: number
value?: T