Skip to main content

ExtractAudioDataOptions

@siteed/expo-audio-studio


@siteed/expo-audio-studio / ExtractAudioDataOptions

Interface: ExtractAudioDataOptions

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

Properties

computeChecksum?

optional computeChecksum: boolean

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

Compute the checksum of the PCM data


decodingOptions?

optional decodingOptions: DecodingConfig

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

Target config for the normalized audio (Android and Web)


endTimeMs?

optional endTimeMs: number

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

End time in milliseconds (for time-based range)


fileUri

fileUri: string

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

URI of the audio file to extract data from


includeBase64Data?

optional includeBase64Data: boolean

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

Include base64 encoded string representation of the audio data


includeNormalizedData?

optional includeNormalizedData: boolean

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

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


includeWavHeader?

optional includeWavHeader: boolean

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

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


length?

optional length: number

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

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


logger?

optional logger: ConsoleLike

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

Logger for debugging - can pass console directly.


position?

optional position: number

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

Start position in bytes (for byte-based range)


startTimeMs?

optional startTimeMs: number

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

Start time in milliseconds (for time-based range)