Content:
- Some descriptions
- Methods

Returns a Synth object which can produces a variety of sounds, sound effects and music.

syn = app.CreateSynth( type ) → app object: Synth

Some descriptions

note length: default is 2.56 seconds.
midi note: like n'th key on a keyboard between 0 and ~125. 12 keys are one octave. Ie. the 4'th octave:
     C, C#, D, D#, E, F, F#, G, G#, A, A#, B.
duration: powers of two indicating whole, half, quarter etc. up to thirty second notes.
frequency: A4 equals 440 Hz. Each note frequency is 12√2 (~1.06) times higher than the previous.
Humans can hear a range from 10 to about 20,000 Hz. My phone's range is from 0 to about 11025 Hz


Phaser: a sound filter which creates a series of peaks and troughs in the frequency spectrum
VoltageControlledAmplifier: (Variable-Gain Amplifier) electronic amplifier that varies its gain
Voltage-Controlled Filter: electronic amplifier that varies the frequency

Example - Tetris Theme click to expand contents 

Example - Multiple Synths Song click to expand contents 

Methods

The following methods are available on the Synth object:

GetType() → String: “Synth”
Start()
Stop()