[sdiy] Adding Tap Tempo to an LFO
drheqx
drheqx at heqx.com
Tue Jul 19 07:52:08 CEST 2005
Paul Perry from Melbourne Australia wrote:
>Unless a LFO is digitally generated, it is pretty difficult to get tap
>tempo going. Typically what you do is, run an oscillator & count the
cycles >between the taps. Then, you can generate a pulse at the desired
LFO rate, >by counting to this number again...but, to make say a sine
LFO at this >frequency! that isn't easy.
Does it work like this?
Hit the button. Start counting.
Hit the button again. Store the first count. Start counting again.
Hit the button a third time. Store the second count. Average it against
the first. Start counting again. Start the LFO at the point in the third
count cycle that equals the average of the first two counts.
If the third count does not complete then stick to what you are doing.
If it does repeat then re-average the three counts. Restart the LFO with
the new corrected frequency in the fourth count cycle.
I see your point about getting a sine wave LFO to work right, but
triangle would be fine for now.
heqx
___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the Synth-diy
mailing list