• 回答数

    0

  • 浏览数

    2433

  • 收藏数

    0

作者:蜜桃果儿 发表于 2018-12-6 11:18:29
跳转到指定楼层
我用chirp函数产生了扫频信号,用sound函数播放,想把chirp产生的数据通过wavwrite保存成.wav文件,会报错,求教是怎么回事,怎么改?
clc;
Fs=8192;
t = 0:1/Fs:1;
y = chirp(t,500,1,3000);
wavwrite(y,Fs,'E:\mm\create');
sound(y,Fs,16);

以上是我的代码
————————————————————————————————
以下是报错的信息:
Warning: Data clipped during write to file:create
> In wavwrite>PCM_Quantize at 293
In wavwrite>write_wavedat at 309
In wavwrite at 138
In Untitled7 at 5


分享:
回复

使用道具

成为第一个回答人

高级模式 评论
您需要登录后才可以回帖 登录 | 立即注册 微信登录