player/utils/generate_waves_from_audio library

Functions

extrectWaveform(File audioFile) Future<List<double>>
Extracts the waveform from an audio file and normalizes the amplitude values.
generateWaveform(AudioType audioType, String? audioPath) Future<List<double>>
Generates a waveform for the given audio source and returns the waveform data.