In the Bitwig1 version I can find the parameter for setting max value but this global and is in the file Config.js
Code: Select all
// ------------------------------
// Static configurations
// ------------------------------
// Inc/Dec of knobs
Config.fractionValue = 1;
Config.fractionMinValue = 0.5;
Config.maxParameterValue = 128;
// How fast the track and scene arrows scroll the banks/scenes
Config.trackScrollInterval = 100;
Config.sceneScrollInterval = 100;
Code: Select all
switch (fadersMode) {
case 0: // Vol mode
{
if (data1 === 0x07) // vol fader
{
tracksBankView.getChannel(status & 0x07).getVolume().set(data2, 161); // 161 instead of 128 to limit max vol to 0dB not +6dB
return;
}
if (data1 === 0x0E) // master fader
{
masterTrackView.getVolume().set(data2, 161); // 161 instead of 128 to limit max vol to 0dB not +6dB
return;
}Any tips?
