Skip to content

Commit

Permalink
Hercules P32 mapping: more accurate headmix control
Browse files Browse the repository at this point in the history
The head mix is 4 times more accurate now.
  • Loading branch information
pierrelegall committed Feb 2, 2021
1 parent 39465ac commit 36fc3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/controllers/Hercules-P32-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ P32.browseEncoder = function(_channel, _control, value, _status, _group) {

P32.headMixEncoder = function(_channel, _control, value, _status, _group) {
var direction = (value > 64) ? -1 : 1;
engine.setValue("[Master]", "headMix", engine.getValue("[Master]", "headMix") + (0.25 * direction));
engine.setValue("[Master]", "headMix", engine.getValue("[Master]", "headMix") + (0.1 * direction));
};

P32.recordButton = new components.Button({
Expand Down

0 comments on commit 36fc3bd

Please sign in to comment.