Skip to main content

ExtractAudioDataOptions

@siteed/expo-audio-studio


@siteed/expo-audio-studio / ExtractAudioDataOptions

Interface: ExtractAudioDataOptions

Defined in: src/ExpoAudioStream.types.ts:562

Properties

computeChecksum?

optional computeChecksum: boolean

Defined in: src/ExpoAudioStream.types.ts:582

Compute the checksum of the PCM data


decodingOptions?

optional decodingOptions: DecodingConfig

Defined in: src/ExpoAudioStream.types.ts:584

Target config for the normalized audio (Android and Web)


endTimeMs?

optional endTimeMs: number

Defined in: src/ExpoAudioStream.types.ts:568

End time in milliseconds (for time-based range)


fileUri

fileUri: string

Defined in: src/ExpoAudioStream.types.ts:564

URI of the audio file to extract data from


includeBase64Data?

optional includeBase64Data: boolean

Defined in: src/ExpoAudioStream.types.ts:576

Include base64 encoded string representation of the audio data


includeNormalizedData?

optional includeNormalizedData: boolean

Defined in: src/ExpoAudioStream.types.ts:574

Include normalized audio data in [-1, 1] range


includeWavHeader?

optional includeWavHeader: boolean

Defined in: src/ExpoAudioStream.types.ts:578

Include WAV header in the PCM data (makes it a valid WAV file)


length?

optional length: number

Defined in: src/ExpoAudioStream.types.ts:572

Length in bytes to extract (for byte-based range)


logger?

optional logger: ConsoleLike

Defined in: src/ExpoAudioStream.types.ts:580

Logger for debugging - can pass console directly.


position?

optional position: number

Defined in: src/ExpoAudioStream.types.ts:570

Start position in bytes (for byte-based range)


startTimeMs?

optional startTimeMs: number

Defined in: src/ExpoAudioStream.types.ts:566

Start time in milliseconds (for time-based range)