[问题] 使用wavwrite会有遗失资料情形

楼主: j5307 (JJ)   2015-01-31 20:16:08
各位前辈们好
小弟目前正在做
[y,fs] = wavread(filename);
y = resample(y,newfs,fs);
wavwrite(y,newfs,'filename');
重取样后的 y 进行存取 会出现warning情形
Warning: Data clipped during write to file:149.wav
In wavwrite>PCM_Quantize at 287
In wavwrite>write_wavedat at 309
In wavwrite at 138
In resamplebatch at 15
虽然可以存盘,但开启后部份的y被会更改
而且这些更改会影响到实验的辨识结果
不知道有没有前辈了解 QQ
作者: niceallen   2015-02-02 21:40:00
wavwrite输入的范围 -1<=y<1 应该有值超出了除以最大值 缩放一下http://ppt.cc/95Qv 参考一下

Links booklink

Contact Us: admin [ a t ] ucptt.com