Re: [chuck-users] MidiIn/MidiMsg expansion
20 Jan
2021
20 Jan
'21
12:12 p.m.
Hi, I suppose one solution could be to have a new dedicate class (ie SysexMsg) with a getSysex() method, and then tweak the various bits that deal with receiving MIDI so that if the incoming msg is a sysex we can use a SysexMsg object instead of a MidiMsg one. The end result could be something along this line: MidiIn min; MidiMsg msg; SysexMsg sysex; ... ... while (true) { min => now; while (min.recv(sysex)) do something while (min.recv(msg) do something else } cheers, Mario
1432
Age (days ago)
1432
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mario Buoninfante