riffChunks

Members

(inner) head_ :number

Source:
Type:
  • number

Methods

(static) findChunk(chunksnon-null, chunkId, multiple) → (nullable) {Array.<!Object>}

Source:
Find a chunk by its fourCC_ in a array of RIFF chunks.
Parameters:
Name Type Description
chunks Object The wav file chunks.
chunkId string The chunk fourCC_.
multiple boolean True if there may be multiple chunks with the same chunkId.
Returns:
Type
Array.<!Object>

(static) riffChunks(buffernon-null) → (non-null) {Object}

Source:
Return the chunks in a RIFF/RIFX file.
Parameters:
Name Type Description
buffer Uint8Array The file bytes.
Returns:
The RIFF chunks.
Type
Object