Skip to main content

extractMelSpectrogram

@siteed/expo-audio-studio


@siteed/expo-audio-studio / extractMelSpectrogram

Function: extractMelSpectrogram()

extractMelSpectrogram(options): Promise<MelSpectrogram>

Defined in: src/AudioAnalysis/extractMelSpectrogram.ts:24

Experimental

Extracts a mel spectrogram from audio data

This feature is experimental and currently only available on Android. The iOS implementation will throw an "UNSUPPORTED_PLATFORM" error. The web implementation is a placeholder that returns dummy data.

Parameters

options

ExtractMelSpectrogramOptions

Returns

Promise<MelSpectrogram>