Fix for Hercules DJControl Inpulse 500 controller mapping#14699
Fix for Hercules DJControl Inpulse 500 controller mapping#14699Poyeyo wants to merge 1 commit intomixxxdj:mainfrom
Conversation
…ader was not reaching 100% to the right end, only 98.43%.
|
Sounds like a calibration issue. |
Initially I believed that. But the returned values from the controller are in the range 0-127. The current code assumes the range 0-128. A range of 0-127 is 7 bits, while 0-128 is 8 bits with almost half of the values ignored. I would appreciate if someone else with the same controller can confirm my observations, and start using the formula for a range of 0-127. I just tested on Windows with DJuced and I can confirm that my controller is working fine. |
|
I will close #14719 in favour of this one |
Eve00000
left a comment
There was a problem hiding this comment.
engine.setParameter(group, "crossfader", script.absoluteLin(value, -1, 1, 0, 127));
|
Closing this in favour of #14722 |
The crossfader was not reaching 100% to the right end, only 98.43%.