v0.0.7just_waveform
從音訊檔案中提取適合視覺渲染波形的波形資料。
276喜歡 2.4萬近 30 天下載160Pub 分數
AndroidiOSmacOS
一個 Flutter 插件,用於從音訊檔案中提取波形資料,適合視覺呈現。
{"sdk":"flutter"}^1.8.0^2.0.0{"sdk":"flutter"}^2.0.1以下為英文專案原文快照,最新內容請造訪 GitHub。
This plugin extracts waveform data from an audio file that can be used to render waveform visualisations.
waveform screenshotfinal progressStream = JustWaveform.extract(
audioInFile: '/path/to/audio.mp3',
waveOutFile: '/path/to/waveform.wave',
zoom: const WaveformZoom.pixelsPerSecond(100),
);
progressStream.listen((waveformProgress) {
print('Progress: %${(100 * waveformProgress.progress).toInt()}');
if (waveformProgress.waveform != null) {
// Use the waveform.
}
});