怎么使用AudioGenerator函数
1、生成长度为6秒钟的和弦音频:Generates chord sounds with lengths of 6 seconds:AudioGenerator["Sin",6]
2、注意,上面的"Sin"代表的是和弦发引器,不能写成“Cos”。Note that the above "Sin" is cited is not written in the "Cos" chord.
3、查看和弦音频的波形和频谱图。看到了吗,没有噪音,或者噪音很少。See the chord audio waveform and spectrogram.You see, there is no noise, or little noise.
4、再来生成一个六秒的噪音音频:Then generate a six second noise audio:b = AudioGenerator["White", 6]"White"是一个噪音生成器("White" is a noise generator.)。
5、那么这段纯粹的噪音是什么形状呢?嗯……漫漫的全是声音,一点空隙都没有。So what's the shape of this pure noise?Wow...... It's full of noise, not even a little space.
6、看看三角波动:b = AudioGenerator["Triangle", 6];AudioPlot[b]Spectrogram[b]
7、锯齿波是:"Sawtooth"方形波是:"Square"脉冲波是:"Impulse"
8、而常用的噪音生成器,除了“White”之外,还有:"Pink"、 "Brown"、 "Blue"。The commonly used noise generator, in addition to the “White”, and:"Pink"、 "Brown"、 "Blue".