Skip to main content

convertPCMToFloat32

@siteed/expo-audio-streamDocs


@siteed/expo-audio-stream / convertPCMToFloat32

Function: convertPCMToFloat32()

convertPCMToFloat32(__namedParameters): Promise<object>

Parameters

__namedParameters

__namedParameters.bitDepth: number

__namedParameters.buffer: ArrayBuffer

__namedParameters.skipWavHeader?: boolean = false

Returns

Promise<object>

max

max: number

min

min: number

pcmValues

pcmValues: Float32Array

Defined in

src/utils/convertPCMToFloat32.ts:34