In this example, we created a subclass of SynthCircuit called Siren. It uses a TriangleOscillator to modulate the frequency of a SquareOscillator. The Siren can be instantiated and used just like a regular JSyn unit generator.
To see how I did this, please look at the source code for the Siren circuit and the Java Applet that uses it.