Skip to main content

extractAudioAnalysis

@siteed/expo-audio-studio


@siteed/expo-audio-studio / extractAudioAnalysis

Function: extractAudioAnalysis()

extractAudioAnalysis(props): Promise<AudioAnalysis>

Defined in: src/AudioAnalysis/extractAudioAnalysis.ts:97

Extracts detailed audio analysis from the specified audio file or buffer. Supports either time-based or byte-based ranges for flexibility in analysis.

Parameters

props

ExtractAudioAnalysisProps

The options for extraction, including file URI, ranges, and decoding settings.

Returns

Promise<AudioAnalysis>

A promise that resolves to the audio analysis data.

Throws

If both time and byte ranges are provided or if required parameters are missing.