1
votes

I am writing an application which will cut the part of the Mp3 song which is being played. User may select from the mid of the song to the next selection. Currently i am playing the audio file using the MediaPlayer and on selecting the user i have to start recording the playing song.

Will anyone please help me with any information you got regarding the recording of the playback song.

Its similar to Mp3 Cutter.

If anyone knows how to extract the audio frames from an mp3 file, please let me know.

Thanks & Regards, Suman

1

1 Answers

1
votes

After an R&D R&D R&D and googling googling googling.....
I came to know that, there is no support from the android for extracting the frames of the audio.....
We need to write our own clipper.....

For implementing the clipper
1) Steady the codec
2) Take the sync code of the Codec and extract the frames...
3) Now to try to get the marks and then extract the frames between the marks

Note: Frames mark should be in sync with the playing.

Example Code