extractPreview
@siteed/expo-audio-studio / extractPreview
Function: extractPreview()
extractPreview(
options
):Promise
<AudioAnalysis
>
Defined in: src/AudioAnalysis/extractPreview.ts:11
Generates a simplified preview of the audio waveform for quick visualization. Ideal for UI rendering with a specified number of points.
Parameters
options
The options for the preview, including file URI and time range.
Returns
Promise
<AudioAnalysis
>
A promise that resolves to the audio preview data.