Hey guys, I’m sorry if this is the wrong place to post this and also if it’s a bit basic (I’m a complete novice with coding), but I’m struggling to find online any code for MIDI messages. I’m trying to get my application to play an audio sample whenever a MIDI key is struck but for that I need to know what the code for MIDI is so I can set it as an if statement. I believe there’s different numbers assigned for different keys (like 60 is middle C) so I imagine that has something to do with it. If it’s any help I’m coding in C++ using xCode on OS X (running the introjucer before hand so it accepts MIDI Input).
Thanks in advance!