Wire Tutorial - Modulating Frequency
|
The Wire software and documentation is Copyright 2000-2008 by SoftSynth.com,
All Rights Reserved
You can use the output of one module to control an input on another
module. Let use one oscillator to control the frequency of another oscillator.
-
Open the editor for our patch by double clicking on the top of the patch
module.
-
Add a SineOscillator to the patch from the "Add, Oscillators" menu.
-
Add a NumericKnobModule from the "Add, Miscellaneous" menu and set its
value to 0.5 and its maximum to 20.0.
-
Connect the knob to the sinOsc frequency.
-
Add a NumericKnobModule from the "Add, Miscellaneous" menu and set its
value to 500.0 and its maximum to 1000.0.
-
Connect the knob to the sinOsc amplitude.
-
Connect the sinOsc output to the sqrOscBl frequency. Notice that this disconnect
the existing connection.
-
You should see this:
Notice that the frequency of the square wave oscillator is now rising and
falling at a rate determined by the sinOsc frequency. The square wave oscillator
frequency ranges from -500.0 Hz to +500.0 Hz, which is determined by the
amplitude of the modulating sinewave oscillator. Oscillators can accept
negative frequency values which sounds just like positive frequency values.
Play with the knobs.
Previous | Top
| Next