Repository

BufferToWav

Static Method Summary

Static Public Methods
public static

downloadToWavFile(buffer: *, name: *)

public static

encodeWAV(samples: *, format: *, sampleRate: *, numChannels: *, bitDepth: *): *

public static

floatTo16BitPCM(output: *, offset: *, input: *)

public static

interleave(inputL: *, inputR: *): *

public static

makeWavFromBuffer(buffer: *, isFloat32: *): *

public static

writeFloat32(output: *, offset: *, input: *)

public static

writeString(view: *, offset: *, string: *)

Static Public Methods

public static downloadToWavFile(buffer: *, name: *) source

Params:

NameTypeAttributeDescription
buffer*
name*

public static encodeWAV(samples: *, format: *, sampleRate: *, numChannels: *, bitDepth: *): * source

Params:

NameTypeAttributeDescription
samples*
format*
sampleRate*
numChannels*
bitDepth*

Return:

*

public static floatTo16BitPCM(output: *, offset: *, input: *) source

Params:

NameTypeAttributeDescription
output*
offset*
input*

public static interleave(inputL: *, inputR: *): * source

Params:

NameTypeAttributeDescription
inputL*
inputR*

Return:

*

public static makeWavFromBuffer(buffer: *, isFloat32: *): * source

Params:

NameTypeAttributeDescription
buffer*
isFloat32*

Return:

*

public static writeFloat32(output: *, offset: *, input: *) source

Params:

NameTypeAttributeDescription
output*
offset*
input*

public static writeString(view: *, offset: *, string: *) source

Params:

NameTypeAttributeDescription
view*
offset*
string*