I'm working on my sidechain ducking effect that is based on an inverted envelope. I would like to have it always synced to a quarter note, regardless of the tempo.
So for example in 120bpm I have a time of 500ms, at 60bpm 1000ms at 90bpm 750ms etc.
So as I understand I have to use the modulation inlet of and Env/d object, but I don't really understand how it is scaled. Does anybody know or have a different aproach for achieving this?
P.S. I have objects to measure the tempo (incoming midi clock) and spit out samples between the clock ticks.
So evntually I will have my quarter value in samples and I need to feed it into the lfo inlet.
P.P.S. Something like this object, but not as an lfo but only one time like and envelope would do the job.