Update June 7th:
Corrected a crash problem with a garbage collected variable.
Update May 28th:
Removed the toolpage on advise of Taktik.
Corrected forgotten reference changes causing pitch alterations of other instruments when browsing through the devices or instruments.
Also fixed a problem where pitch devices were affecting other pitch device linked instruments that were not linked to that device.
-Fixed problem with adding another pitch device on the same track not getting renamed properly. not a biggy, but updated the tool on the toolpage without updating the version number!
-Optimised pitch-bend controller recording (routine is only applied when recording mode is on and the specific pitch device is selected)
-Fixed sample transpose option (wasn’t accurate) with the semitones.
-Added smooth transitions between semitones for the sample transpose by altering Pitch LFO1.
Update May 27th:
-Found a way to support recording the pitch bend wheel messages to automation, but i don’t think it is of much use (unless you’re doing slow transitions) rather advise to map a controller to the slider instead.
The current status is not half-baked but still half-assed.
-Fixed issue where sample transpose got influenced while automated during instrument selections.
-Fixed app-crash that choked on ea_gui at line 316
-Several optimisations applied.
I had the basic framework up in a few hours to control one instrument with one pitch device.
I have expanded it to make it work with multiple automatable devices on several tracks.
To add a device to a track either rightclick in the mixer or somewhere in the DSP rack and select “Add favorite DSP” (I assume it will become your favorite DSP) and then Add Pitch device.
On the bottom you have the option to pop up a dialog where you can set specific options to set.
Because i have no access to the linked instrument parameter and all the parameter names and properties of the midi control device, i stuff this info in the device name:
Do not touch the device title. if you accidentally do so and did removed something that you don’t know, then simply erase all the figures and comma’s yet leave the title intact.
You can pick two instrument transpose options to alter:The pitch envelope or the sample transpose. By default, the pitch envelope is picked. it will add or decrease the transpose value to the current sample transpose value, so if it was tuned, it wil remain tuned. This doesn’t count so for the pitch envelope, so if you already are using the pitch envelope for a specific instrument effect, then rather go for the sample transpose.
The maximum transpose range that you can set is 12 semitones (up and down).
The midi device is to route the pitch-bend controller to the instrument and allowing you to record your device actions to automation. Do not record the pitch bend to the pattern editor!
I have used creation of dynamic functions, not using the _G[‘foo’] option, but a similar way to attach notifiers to the devices.
The tool is reasonably usable, but don’t expect that you can use hundreds of these devices and have them working smooth because Lua still has its boundaries, even if functions are realtime fired by notifiers.
I have added monitoring of instrument changes, track changes (swap / add / remove) and songrelease/loading but i don’t expect it to work that super.
Your configurations are saved with the song and automatically set after reloading so automation would most likely work without having toggle something.
If you notice some change is not working, try selecting another instrument and then back to the previous one, but i hope i have catched all situations where changes are propagated.