Semi-Sync/Hybrid Delay
So... I'm trying to create a delay which is somewhat synced but not totally for my use with my midi controller...
Basically, I want to make a delay with a delay time scaled to the tempo so that hard left on the knob is no delay (or 1 ms), dead center is a 1/2 bar delay, and hard right is a full bar... but instead of jumping from each synced interval, it would be a smooth transition.
I've been poking at this idea for a week or so and can't seem to figure it out. I'm sure there is some simple way I'm overlooking... but right now it's driving me nuts...
Any thoughts?
You could use the translate object to get the milliseconds for one bar. Multiple that number by 0.0, 0.5, and 1.0 to get the three delay times. You could use line or line~ to smooth the transitions.
Give that a try, and if you get stuck, I'll post something for you.
1.) build you GUI element for base 0.-1.
2.) introduce a multiplicator which multiplicates the range of 0.-1. with the time in milliseconds for an 1/1 note at the given BPM.
Also: use tapin~ connected to m4l.vdelay~ to have an interpolating delay without pitch shifting artifacts.