How To Set Up Parent/Child Oscillator Pair With User Settable Ratio

For a few projects, I want to have two LFOs (or audio oscillators) whose frequencies are related by a user-settable ratio. For simplicity, I only want to expose two controls a knob for the frequency and a knob that sets the ratio of the parent and child oscillator frequencies.

I think have the right basic architecture. But I am unsure of the specific math needed to make the child oscillator's frequency an integer multiplier of the parent's.

For the time being, let's forget setting the ratio with a knob.

Let's say that I have and LFO called SHAPE and one called TRIGGERS

I set both to run at 1 Hz.

I have a knob. Let's call it Speed

Speed is set to modulate SHAPE's frequency. I have the modulation amount cranked to max.

Speed is also sent to a series of math modules so that it can be manipulated to result in a value that will set the Triggers frequency to the desired multiple.

What math do I need to do to the 'Speed' value to turn it to a number that will cause Triggers to have twice the frequency of of SHAPE. What math results in Triggers' frequency being 3 times the frequency?

If that description wasn't clear, I can post a picture to show the flow.

Comments

Sign In or Register to comment.