v0.0.7just_waveform
从音频文件中提取适合视觉渲染波形的波形数据。
276喜欢 2.7万近 30 天下载160Pub 分数
AndroidiOSmacOS
一个 Flutter 插件,用于从音频文件中提取波形数据,适用于视觉渲染。
以下为英文项目原文快照,最新内容请访问 GitHub。
This plugin extracts waveform data from an audio file that can be used to render waveform visualisations.
final 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.
}
});
依赖清单 5 项
{"sdk":"flutter"}^1.8.0^2.0.0{"sdk":"flutter"}^2.0.1先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗