I like the addition of channel messages like sendProgramChange() or sendPitchBend()
I just think it should be complete (afterTouch and polyphonic afterTouch )
Even if they are not much used for instruments they can be used for other purposes
System common messages (start/stop/continue) could also be usefull.
What I think is really missing is :
int getNumPorts(void)
both for input than for output.
(unsigned int nPorts is not public, so I actually have to check portNames.size() to know the available number of ports)
I like the addition of channel messages like sendProgramChange() or sendPitchBend() I just think it should be complete (afterTouch and polyphonic afterTouch ) Even if they are not much used for instruments they can be used for other purposes
System common messages (start/stop/continue) could also be usefull.
What I think is really missing is : int getNumPorts(void) both for input than for output. (unsigned int nPorts is not public, so I actually have to check portNames.size() to know the available number of ports)
I thing good to let the user choose his ports.
I can do it and make a pull request if you want.
Venetian's idea to have 14bit values could also be usefull: http://forum.openframeworks.cc/index.php/topic,4778.msg24571.html#msg24571 It could be also done with control messages (RPN, NRPN)
of course this could also be part of another addon that extends ofxMidi