UNPKG

@echogarden/wave-codec

Version:

A fully-featured WAVE format encoder and decoder. Written in pure TypeScript.

13 lines (12 loc) 1.15 kB
export declare function int16ArrayToBytesLE(int16s: Int16Array): Uint8Array<ArrayBufferLike>; export declare function bytesLEToInt16Array(bytes: Uint8Array): Int16Array<ArrayBufferLike>; export declare function int24ArrayToBytesLE(int24s: Int32Array): Uint8Array<ArrayBuffer>; export declare function bytesLEToInt24Array(bytes: Uint8Array): Int32Array<ArrayBuffer>; export declare function int32ArrayToBytesLE(int32s: Int32Array): Uint8Array<ArrayBufferLike>; export declare function bytesLEToInt32Array(bytes: Uint8Array): Int32Array<ArrayBufferLike>; export declare function float32ArrayToBytesLE(float32s: Float32Array): Uint8Array<ArrayBufferLike>; export declare function bytesLEToFloat32Array(bytes: Uint8Array): Float32Array<ArrayBufferLike>; export declare function float64ArrayToBytesLE(float64s: Float64Array): Uint8Array<ArrayBufferLike>; export declare function bytesLEToFloat64Array(bytes: Uint8Array): Float64Array<ArrayBufferLike>; export declare function float64ArrayTofloat32Array(float64s: Float64Array): Float32Array<ArrayBuffer>; export declare function float32ArrayTofloat64Array(float32s: Float32Array): Float64Array<ArrayBuffer>;