2

I was wondering if there is a method of converting a .m4a audio file into an array full of samples. I am currently using the Flutter sound module to record the sound. The sound is the saved as a .m4a file with the path /storage/emulated/0/default.m4a. Is there a way in which I can get the samples from this file in the form of an array. Any help would be much appreciated.

GILO
  • 2,444
  • 21
  • 47

1 Answers1

1

Have you tried using FFMPEG? Checkout this post. Then you could split your audio-file at whichever sample interval you desire and then store it in an array.

dna8675
  • 667
  • 3
  • 11