Interface AudioData

    interface AudioData {
        duration: number;
        format: AudioSampleFormat;
        numberOfChannels: number;
        numberOfFrames: number;
        sampleRate: number;
        timestamp: number;
        allocationSize(options: AudioDataCopyToOptions): number;
        clone(): AudioData;
        close(): void;
        copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void;
    }

    Properties

    duration: number
    numberOfChannels: number
    numberOfFrames: number
    sampleRate: number
    timestamp: number

    Methods

    • Returns void