How to convert audio file in binary form for further processing it in LSB.
2 ビュー (過去 30 日間)
古いコメントを表示
How an audio file is converted into digital and binary form,and how the samples are created. How many bits does a sample consist.
0 件のコメント
回答 (1 件)
Walter Roberson
2014 年 2 月 7 日
Audio files are already in digital form and already stored in binary.
The samples are created by programs creating samples directly, or by using (and perhaps modifying) microphone inputs that have been converted to digital form by a sound card or A/D convertor or DSP.
There is no finite limit on the number of bits per sample, but the built-in MATLAB routines do not expect more than 64 bits per sample.
I think you probably asked the wrong questions. I suspect the questions you wanted to ask are answered by here in particular audioread() and audiowrite(), together with dec2bin() and bin2dec(). See in particular the audiowrite() "BitsPerSample" parameter.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Measurements and Spatial Audio についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!