Interface BaseSound

The base interface for any sound-producing entity, including individual sounds, groups, and playbacks. BaseSound

interface BaseSound {
    isPlaying: boolean;
    position?: Position;
    threeDOptions?: any;
    volume: number;
    addFilter(filter): void;
    pause(): void;
    play(): BaseSound[];
    removeFilter(filter): void;
    seek?(time): void;
    stop(): void;
}

Implemented by

Properties

isPlaying: boolean
position?: Position
threeDOptions?: any
volume: number

Methods

  • Parameters

    • filter: BiquadFilterNode

    Returns void

  • Parameters

    • filter: BiquadFilterNode

    Returns void

  • Parameters

    • time: number

    Returns void