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

9 ビュー (過去 30 日間)
saf asalah
saf asalah 2016 年 12 月 21 日
コメント済み: KSSV 2016 年 12 月 21 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by