By Andy Carpenter @Andy_Carpenter
I am using the Pro Tools Scroll Faders package to nudge faders up and down with the up and down arrow keys. By default it seems to nudge in 0.5dB increments, which is nice, but I would also like the ability to use another trigger to change the increment to 1dB, for example. How can I change this increment in the code? Here is the code for reference:
var win = sf.ui.proTools.floatingWindows.allItems.filter(function (w) {
return w.children.whoseTitle.is('Volume').exists;
})[0];
if (!win) {
//No window to redirect to. Pass the scroll even on
sf.mouse.scroll({ delta: 1, unit: 'Line', isControl: true });
return;
}
var fader = win.children.whoseTitle.is('Volume').first;
fader.elementClick({ actionName: 'AXIncrement' });
Thanks!
- Christian Scheuer @chrscheuer2020-07-04 08:55:42.277Z
Hi Andy.
Our interface with Pro Tools' faders is unfortunately limited to 0.5 dB increments as you've noticed. To get it working as 1.0 dB increments, you'd just duplicate the last line:
fader.elementClick({ actionName: 'AXIncrement' });
We hope to be able to control these things more dynamically in the future.