Encoding the signal with 16 bits
古いコメントを表示
I have a sound wave
I have a code
[f,Fs] = wavread('wolf.wav');
sound(f, Fs);
please tell how to encode the soundwave by 16 bits
回答 (1 件)
Wayne King
2012 年 9 月 13 日
編集済み: Wayne King
2012 年 9 月 13 日
Have you tried using the 'native' option when you read the data.
[f,Fs] = wavread('wolf.wav','native');
class(f)
7 件のコメント
Pat
2012 年 9 月 13 日
Wayne King
2012 年 9 月 13 日
Did you try using the 'native' option as I suggested? See my example.
Walter Roberson
2012 年 9 月 13 日
y0 = int16(f1 * 32768);
Pat
2012 年 9 月 14 日
Walter Roberson
2012 年 9 月 14 日
I am not familiar with the wavelet functions.
Pat
2012 年 9 月 15 日
カテゴリ
ヘルプ センター および File Exchange で Hilbert and Walsh-Hadamard Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!