Interface PatternOptions<ValueType>

interface PatternOptions<ValueType> {
    callback: ((time, value?) => void);
    context: BaseContext;
    humanize: boolean | Unit.Time;
    interval: Unit.Time;
    iterations: number;
    mute: boolean;
    pattern: PatternName;
    playbackRate: number;
    probability: number;
    values: ValueType[];
}

Type Parameters

  • ValueType

Hierarchy (view full)

Properties

callback: ((time, value?) => void)

Type declaration

    • (time, value?): void
    • Parameters

      Returns void

context: BaseContext
humanize: boolean | Unit.Time
interval: Unit.Time
iterations: number
mute: boolean
pattern: PatternName
playbackRate: number
probability: number
values: ValueType[]