how to get the number of bits from a .wav file?

5 vues (au cours des 30 derniers jours)
saf asalah
saf asalah le 21 Déc 2016
Commenté : KSSV le 21 Déc 2016
is there a way to calculate the number of bits from the sample of the audio wav file?

Réponses (1)

KSSV
KSSV le 21 Déc 2016
Read about whos. This function will give your required information.
  2 commentaires
saf asalah
saf asalah le 21 Déc 2016
this is what i got throw whos [x,fs] = audioread('brian.wav'); whos x Name Size Bytes Class Attributes
x 434288x2 6948608 double
but the file size is 1.65 MB (1,737,196 bytes)
KSSV
KSSV le 21 Déc 2016
YOu can convert bytes into bits.....1 byte = 8 bits.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by