Azzera filtri
Azzera filtri

how to calculate the compression ration of audio file?

7 visualizzazioni (ultimi 30 giorni)
i'm doing compression to some audio files how to calculate the compression ration of audio file?

Risposte (1)

Jan
Jan il 14 Dic 2016
The compression ratio is the ratio between the size of tzhe compressed file or data and the uncompressed version. If you re-compress an MP3 file, it does not only concern the both file sizes.
You have to define, if the header information (e.g. tags etc) of MP3 files is included or not.
  2 Commenti
saf asalah
saf asalah il 14 Dic 2016
thanks Simon my audio file is a wav file i need matlab code for compression ratio? is it size(compressed)/size(uncompressed)?
José-Luis
José-Luis il 14 Dic 2016
Pretty much, provided you are happy to include the header information in the ratio.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by