SinWave
The simplest thing we need to be able to do in synthesis is to create sin waves:(10000,300)SinWave
The above achieves this. It will create a 10 second long signal at 300Hz. If we want to listen to the result we can do the following:
(10000,300)SinWave Monitor
The above patch will play the sin wave on the computer's default sound output system.
How it works:
(10000,300)
This creates a bunch with two elements. The first element is the number 10000 and the second is the number 300.
SinWave
This takes a bunch of two numbers as its input and forwards a signal containing the appropriate sin wave moving between -1 and 1. The first number from the bunch is the time in milliseconds and the second is the frequency in Hz.
Monitor
This takes a signal as the input and plays it on the computer's default sound output.
No comments:
Post a Comment