Skip to main content

ExtractAudioDataOptions

@siteed/expo-audio-studio


@siteed/expo-audio-studio / ExtractAudioDataOptions

Interface: ExtractAudioDataOptions

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

Properties

computeChecksum?

optional computeChecksum: boolean

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

Compute the checksum of the PCM data


decodingOptions?

optional decodingOptions: DecodingConfig

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

Target config for the normalized audio (Android and Web)


endTimeMs?

optional endTimeMs: number

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

End time in milliseconds (for time-based range)


fileUri

fileUri: string

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

URI of the audio file to extract data from


includeBase64Data?

optional includeBase64Data: boolean

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

Include base64 encoded string representation of the audio data


includeNormalizedData?

optional includeNormalizedData: boolean

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

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


includeWavHeader?

optional includeWavHeader: boolean

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

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


length?

optional length: number

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

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


logger?

optional logger: ConsoleLike

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

Logger for debugging - can pass console directly.


position?

optional position: number

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

Start position in bytes (for byte-based range)


startTimeMs?

optional startTimeMs: number

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

Start time in milliseconds (for time-based range)