ok, theres a couple of problems…
a) velocity
so as detailed above, the issue is these keys are seen the same as others.
the issue is for the main keys, I do velocity detection based on a number of readings…
but this does not work on the mode keys… since they just send one value.
you can get around this by setting :
{
"mec" : {
"eigenharp" : {
"velocity count" : 0,
note: this will mean you effectively won’t get a real velocity for the main keys
you’ll likely get note on velocity = 1 for all keys.
(I guess, what you could do for the main keys is calculate a velocity from subsequent channel pressure events… which is effectively what I do inside mec when velocity count > 0 (default is to use 4 readings)
I thing mid-term what I need to do in MEC is treat switch keys different… since we dont want them to be voiced, nor wait affected by velocity. (but don’t have time at mo, to do the refactor that requires)
b) I was off-setting the ‘course’ by 1024 , which meant it wrapped around on midi notes
I just checked in a change for MEC, to alter this to 120 - you need to pull ‘dev’ branch, and rebuild
now the mode keys come in as 120
BUT… the default setting in the prefs file for midi is to offset by 48
"calculated": {
"keys in col": 9,
"row multiplier": 1,
"col multipler": 5,
"note offset": 48
}
this would mean they’d be out of midi range, so you’ll want to change the offset to zero
"calculated": {
"keys in col": 9,
"row multiplier": 1,
"col multipler": 5,
"note offset": 0
}
then you’ll get the main keys on 0-17, and mode keys as 120-124
edit note: I’ve just added support for these mode keys to have their leds set, using 120-124
mid term, I want to use the physical characteristic to determine things like the offset - but thats closely related to the surface mapping stuff Ive started but not completed.
I know not perfect…
as I said, I really need to get back to this at some point…
but things like mode keys and also the layout begs quite a few questions.
the ‘biggest’ issue is the tau, since it has an irregular shaped playing surface, rather than just rectangles as like the pico/alpha … my thought was to treat these a bit like the ‘percussion keys’ on the alpha… so give them a separate role.
but all time, and Ive been ‘distracted’ recently