Thread: Midi <-> OSC
View Single Post
Old 11-18-2017, 11:51 AM   #82
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

Ended up using this code, where 16 is the number of the first fader and 23 is the last one:
Code:
    
16<=msg2<=23 ? (
        ccValue = msg2 - 15;
        send_soft_fader(ccValue);
        );
Not as elegant as I wanted, but, it's smaller than before, at least.
fundorin is offline   Reply With Quote