Azzera filtri
Azzera filtri

can anyone help me with matlab code that calculate compression ratio of audio file?

1 visualizzazione (ultimi 30 giorni)
i'm trying some method of compression on wav files but i still don't know how to get the compression ratio. i know the compression ratio is the size of uncompressed data divide by the size of compressed data. then, how to calculate the size of the audio data?

Risposta accettata

Walter Roberson
Walter Roberson il 8 Gen 2017
Use dir() to retrieve the 'bytes' that the file occupies.
Compression ratio of audio files is not often of interest, because audio files are permitted to contain a lot of information as well as the audio itself. For example the audio file might contain information about the Artist, Track Title, Album, Track Number, Genre, Album Cover, and so on.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by