Skip to main content

AudioRecording

@siteed/expo-audio-studio


@siteed/expo-audio-studio / AudioRecording

Interface: AudioRecording

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

Properties

analysisData?

optional analysisData: AudioAnalysis

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

Analysis data for the recording if processing was enabled


bitDepth

bitDepth: BitDepth

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

Bit depth of the audio (8, 16, or 32 bits)


channels

channels: number

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

Number of audio channels (1 for mono, 2 for stereo)


compression?

optional compression: CompressionInfo & object

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

Information about compression if enabled, including the URI to the compressed file

Type declaration

compressedFileUri

compressedFileUri: string

URI to the compressed audio file


createdAt?

optional createdAt: number

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

Timestamp when the recording was created


durationMs

durationMs: number

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

Duration of the recording in milliseconds


filename

filename: string

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

Filename of the recorded audio


fileUri

fileUri: string

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

URI to the recorded audio file


mimeType

mimeType: string

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

MIME type of the recorded audio


sampleRate

sampleRate: SampleRate

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

Sample rate of the audio in Hz


size

size: number

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

Size of the recording in bytes


transcripts?

optional transcripts: TranscriberData[]

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

Array of transcription data if available