XSound - v4.1.3
    Preparing search index...

    Interface Frame

    This class is entity for recording frame. Namely, this class has recorded sound data.

    interface Frame {
        append(dataBlock: Float32Array): Frame;
        clear(): void;
        get(): Float32Array<ArrayBufferLike>[];
        has(): boolean;
        toString(): string;
    }
    Index

    Methods

    • This method appends recorded sound data as Float32Array.

      Parameters

      • dataBlock: Float32Array

        This argument is instance of Float32Array that has recorded sound data.

      Returns Frame

      Return value is for method chain.

    • This method gets array that contains recorded sound data.

      Returns Float32Array<ArrayBufferLike>[]

    • This method determines whether contains recorded sound data.

      Returns boolean

      If frame has recorded data, this value is true. Otherwise, this value is false.