How to calculate frame length of mp3 file?

I need to calculate frame length of mp3 as i am working with audio steganography. So to replace bits from the file, first i need to calculate length of each frame, and then each frame is to be extracted and worked with sepaprately. Any help regarding this is much appreciated.

Answers (1)

mp3 files do not have any particular frame length. You would establish the frame length through some other criteria. For example if you calculated that you needed 76 samples to store your secret message and you wanted your secret message repeated indefinitely then you might use a frame length of 76.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Asked:

on 16 Apr 2015

Answered:

on 15 Jan 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!