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 中查找有关 Signal Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!