FormantSynthesizer allows the user to explore the sounds resulting from different first and second formants. The user does this by placing pressing the left mouse button and moving the cursor across the formant graph.
Actually, we generate a square wave using a generatorFilter and compose the result with four formant filters. This particular application is rather simplestic, since we fix the 3rd and 4th formant frequencies to 2500 and 3500 respectively. We also fix the formant bandwidths to 50, 75, 100, 100 respectively.
four FormantFilters to the output of a generator filter to achieve the desired sound. Actually, to do this we use a CompositonFilter applied to the generatorFilter followed by the four formant filters.
This example demonstrates the use of the FormantFilter class, the GeneratorFilter class, and the CompositionFilter class.