Class Frame

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

Constructors

Properties

Methods

Constructors

Properties

dataBlocks: Float32Array[] = []
id: string

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 determines whether contains recorded sound data.

    Returns boolean

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