Editing MP3/Wav Files in a Flutter App (Dart)
Asked Answered
H

1

6

Is it possible in a Flutter App to "concatenate" sound files without calling Swift/Java code to handle it for me? (Partially because I don't know Swift, and partially because I haven't figured out ffmpeg yet) The microphone provides either mp3 or wav files, and either works fine for me.

I'm attempting to make a Recording app that has more functionality than the ones I've previously found. Specifically, I want it to be able to pause the recording for an indefinite amount of time, and start again WITHOUT creating two files for the user to save -- it should combine them and save it later as a single file.

Hokum answered 10/5, 2018 at 11:35 Comment(1)
The short answer is yes, Dart is a turing complete language and you could say, port ffpmeg to Dart. The long answer is that it is probably much easier to use an existing native library (Swift/Java) than port something like that.Weissberg
T
2

You can take a look about this

medcorder_audio

and for splitting

audiocutter

Tropine answered 15/2, 2020 at 23:38 Comment(1)
Link only answers are not considered good practice. Please see stackoverflow.com/help/how-to-answerRockwood

© 2022 - 2024 — McMap. All rights reserved.