ExtractAudioDataOptions
@siteed/expo-audio-studio / ExtractAudioDataOptions
Interface: ExtractAudioDataOptions
Defined in: src/ExpoAudioStream.types.ts:565
Properties
computeChecksum?
optionalcomputeChecksum:boolean
Defined in: src/ExpoAudioStream.types.ts:585
Compute the checksum of the PCM data
decodingOptions?
optionaldecodingOptions:DecodingConfig
Defined in: src/ExpoAudioStream.types.ts:587
Target config for the normalized audio (Android and Web)
endTimeMs?
optionalendTimeMs: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?
optionalincludeBase64Data:boolean
Defined in: src/ExpoAudioStream.types.ts:579
Include base64 encoded string representation of the audio data
includeNormalizedData?
optionalincludeNormalizedData:boolean
Defined in: src/ExpoAudioStream.types.ts:577
Include normalized audio data in [-1, 1] range
includeWavHeader?
optionalincludeWavHeader:boolean
Defined in: src/ExpoAudioStream.types.ts:581
Include WAV header in the PCM data (makes it a valid WAV file)
length?
optionallength:number
Defined in: src/ExpoAudioStream.types.ts:575
Length in bytes to extract (for byte-based range)
logger?
optionallogger:ConsoleLike
Defined in: src/ExpoAudioStream.types.ts:583
Logger for debugging - can pass console directly.
position?
optionalposition:number
Defined in: src/ExpoAudioStream.types.ts:573
Start position in bytes (for byte-based range)
startTimeMs?
optionalstartTimeMs:number
Defined in: src/ExpoAudioStream.types.ts:569
Start time in milliseconds (for time-based range)