audiocutter 0.0.7 audiocutter: ^0.0.7 copied to clipboard
A plugin to cut audio files. Supports iOS and Android.
audiocutter #
A plugin to cut audio files. You pass in a path to a file, start and end times and the plugin will do the rest
Getting Started #
-
Take a look at the requirements and any gotchas for your platform at the flutter_ffmpeg package page. There can be some stumbling blocks getting it working on iOS. (Works on my machine ¯_(ツ)_/¯)
-
Import and cut!
import 'package:audiocutter/audiocutter.dart';
{...}
var start = 15.0;
var end = 25.5;
var path = 'path/to/audio/file.mp3';
// Get path to cut file and do whatever you want with it.
var outputFilePath = await AudioCutter.cutAudio(path, start, end);