mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 17:11:40 -05:00
-Send / XSide dials feedback working
This commit is contained in:
parent
235301af37
commit
4fa022c404
2 changed files with 15 additions and 4 deletions
|
@ -80,21 +80,20 @@ void GenericMIDI::recordArm(int t, bool enabled)
|
|||
|
||||
void GenericMIDI::trackSend(int t, int send, float v)
|
||||
{
|
||||
/*
|
||||
|
||||
for(unsigned int i = 0; i < actionToMidi.size(); i++)
|
||||
{
|
||||
Binding* b = actionToMidi.at(i);
|
||||
|
||||
if ( b->action == TRACK_SEND && b->track == t )
|
||||
if ( b->action == TRACK_SEND && b->track == t && b->send == send )
|
||||
{
|
||||
unsigned char data[3];
|
||||
data[0] = b->status;
|
||||
data[1] = b->data;
|
||||
data[2] = enabled ? 127 : 0;
|
||||
data[2] = v * 127;
|
||||
writeMidi( data );
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void GenericMIDI::trackSendActive(int t, int send, bool a)
|
||||
|
|
|
@ -246,6 +246,18 @@
|
|||
"status" : 144,
|
||||
"data" : 50,
|
||||
"track" : 0
|
||||
},
|
||||
{
|
||||
"action" : "track:send",
|
||||
"status" : 176,
|
||||
"data" : 16,
|
||||
"track" : 0
|
||||
},
|
||||
{
|
||||
"action" : "track:xside",
|
||||
"status" : 176,
|
||||
"data" : 20,
|
||||
"track" : 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue