BPM Syncing Parameters on Third Party Plugins
A common audio engineering tip is to synchronize attack/release for a compressor and pre-delay/decay for a reverb with a song's BPM to create movement and keep things clean so I'm trying to create a device that let's me cycle through different note lengths, converts the note length to a time according to the sessions BPM and then maps a plugin parameter to that value. I've got the first parts down but I'm running into issues with the mapping piece
I've been going through different patches that do parameter mapping but they all seem to scale the values down to [0,1] then send that value to the plugin. Scaling the input before sending though brings up two major issues:
1. I don't know the function a given plugin uses to scale from [0,1] back to an actually value in ms so I don't know how to go about mapping from my ms value to [0,1]. Not to mention different plugins might use different functions
2. If I end up setting a value outside the range available on the plugin rather than setting the parameter to min/max it will be mapped to some different random value
I'm wondering what the best solution is. I could make devices specific to each plugin I want to control to get rid of some of the issues but I still would have to trial and error my way through mapping from [0,1] to the actual plug. It's just clunky, I feel like there must be better way
The parameters all scale the values to the range 0. - 1.0 because that's the VST spec for input.