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

12 次查看(过去 30 天)
is there a way to calculate the number of bits from the sample of the audio wav file?

回答(1 个)

KSSV
KSSV 2016-12-21
Read about whos. This function will give your required information.
  2 个评论
saf asalah
saf asalah 2016-12-21
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 2016-12-21
YOu can convert bytes into bits.....1 byte = 8 bits.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by