网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

怎么使用AudioGenerator函数

时间:2024-10-12 05:37:48

1、生成长度为6秒钟的和弦音频:Generates chord sounds with lengths of 6 seconds:AudioGenerator["Sin",6]

怎么使用AudioGenerator函数

2、注意,上面的"Sin"代表的是和弦发引器,不能写成“Cos”。Note that the above "Sin" is cited is not written in the "Cos" chord.

怎么使用AudioGenerator函数

3、查看和弦音频的波形和频谱图。看到了吗,没有噪音,或者噪音很少。See the chord audio waveform and spectrogram.You see, there is no noise, or little noise.

怎么使用AudioGenerator函数

4、再来生成一个六秒的噪音音频:Then generate a six second noise audio:b = AudioGenerator["White", 6]"White"是一个噪音生成器("White" is a noise generator.)。

怎么使用AudioGenerator函数

5、那么这段纯粹的噪音是什么形状呢?嗯……漫漫的全是声音,一点空隙都没有。So what's the shape of this pure noise?Wow...... It's full of noise, not even a little space.

怎么使用AudioGenerator函数

6、看看三角波动:b = AudioGenerator["Triangle", 6];AudioPlot[b]Spectrogram[b]

怎么使用AudioGenerator函数

7、锯齿波是:"Sawtooth"方形波是:"Square"脉冲波是:"Impulse"

怎么使用AudioGenerator函数怎么使用AudioGenerator函数怎么使用AudioGenerator函数

8、而常用的噪音生成器,除了“White”之外,还有:"Pink"、 "Brown"、 "Blue"。The commonly used noise generator, in addition to the “White”, and:"Pink"、 "Brown"、 "Blue".

怎么使用AudioGenerator函数
© 2025 一点知道
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com