Additive Synthesis Example 4
Same as "AdditiveSynthesisExample1" but utilising completely-controllable oscillators for smooth variation of individual oscillator frequencies and amplitudes. The frequencies and amplitudes can be adjusted on-the-fly via the respective sliders in the Constant Control Generators.
Illustrates the method of combining single oscillators (the orange blocks) to create a spectrally rich output (i.e. "additive synthesis"). Each oscillator generates a tone at a user-defined frequency and amplitude. In this example, the default tones are all sinusoidal, with each tone separated in frequency by a factor of two from the previous (specifically, the preset frequencies are 50,100,200,400,800,1600,3200, and 6400 Hz, respectively, representing the harmonics of a generic musical instrument). The amplitudes have been arbitrarily preset (within the Constant Control Generators (A)).
See also "AdditiveSynthesisExample5" for an example with time-varying frequency and amplitude modulations.
The Spectrum Analyser clearly displays the "spikes" corresponding to each of the eight harmonics of the signal.