ExtractedAudioData
@siteed/expo-audio-studio / ExtractedAudioData
Interface: ExtractedAudioData
Defined in: src/ExpoAudioStream.types.ts:473
Properties
base64Data?
optional
base64Data:string
Defined in: src/ExpoAudioStream.types.ts:479
Base64 encoded string representation of the audio data (when includeBase64Data is true)
bitDepth
bitDepth:
BitDepth
Defined in: src/ExpoAudioStream.types.ts:485
Bits per sample (8, 16, or 32)
channels
channels:
number
Defined in: src/ExpoAudioStream.types.ts:483
Number of audio channels (1 for mono, 2 for stereo)
checksum?
optional
checksum:number
Defined in: src/ExpoAudioStream.types.ts:495
CRC32 Checksum of PCM data
durationMs
durationMs:
number
Defined in: src/ExpoAudioStream.types.ts:487
Duration of the audio in milliseconds
format
format:
"pcm_32bit"
|"pcm_16bit"
|"pcm_8bit"
Defined in: src/ExpoAudioStream.types.ts:489
PCM format identifier (e.g., "pcm_16bit")
hasWavHeader?
optional
hasWavHeader:boolean
Defined in: src/ExpoAudioStream.types.ts:493
Whether the pcmData includes a WAV header
normalizedData?
optional
normalizedData:Float32Array
Defined in: src/ExpoAudioStream.types.ts:477
Normalized audio data in [-1, 1] range (when includeNormalizedData is true)
pcmData
pcmData:
Uint8Array
Defined in: src/ExpoAudioStream.types.ts:475
Raw PCM audio data
sampleRate
sampleRate:
number
Defined in: src/ExpoAudioStream.types.ts:481
Sample rate in Hz (e.g., 44100, 48000)
samples
samples:
number
Defined in: src/ExpoAudioStream.types.ts:491
Total number of audio samples per channel