yastefan / grandMA3-Chataigne-Module

A Chataigne module to control grandMA3 via OSC
GNU General Public License v3.0
23 stars 7 forks source link

Possible bug with the encoders #3

Closed jrcks closed 1 year ago

jrcks commented 1 year ago

I have been using the Behringer X-Touch Compact with onPC 1.8.8.2 and wanted to program the encoders.

I noticed, that the values being send were only 0 or 1 while the input values where 1 or 65. So I changed the line https://github.com/yastefan/grandMA3-Chataigne-Module/blob/28d41b17c8f501f219cd6e991bcbaad5a4fc8567/grandMA3.js#L82 to

function turnEncoder(encoder, unknown, multiplicator, value) {
    ...
}

which fixed the issue. I don't know much about Chataigne so the 2nd parameter is unkown for me but I suspect it being the boolean?

yastefan commented 1 year ago

Hey Julian, thank you for your feedback. The parameter was once intended to be able to change values of the encoder bar not only with endless encoders, but also with absolute values. However, I now think that this is more likely to cause confusion and have removed the parameter.

Stefan