get value from MIDI hardware

    Apr 18 2012 | 2:11 pm
    hello i am building an editor for the Korg EMX/ESX, i am pretty happy about the result i get so far. i want Max to request from the machine the current value , lets say of CC 7 on Channel 1, without touching the knob and i am stuck. isn't there a "get value" object or something similar in Max ? thanks

    • Apr 19 2012 | 1:50 am
      Can't do ?
    • Apr 19 2012 | 3:10 am
      The Korg would have to support such a query, and I'm betting it doesn't. You could keep track of everything you send, but that wouldn't help if it's changed on the machine.
    • Apr 20 2012 | 12:23 am
      thanks Chris. I have a plugin for the korg that can do it, so now what i am trying to do is to get midi datas out of the VST. Is it possible ?
    • Sep 17 2012 | 12:20 am
      I'm trying to do the exact same thing with an M-Audio Oxygen 49. I want to make it so that the positions of each hardware dial and slider is read by the Max patch when it first loads up. Guessing it may not be possible... Sorry for bumping a really old thread, but if anyone has any suggestions I'd be grateful to hear them.
    • Jul 07 2013 | 2:43 pm
      i find a way some time ago, using sysex; first you need to look at your synth/hardware midi implementation reference guide. For example, on the emx, the guide says the sysex message 240 66 48 105 16 247 (after converted from hex) sends a sysex dump request. So linked to a midiout object, sending this message will make the EMX send to the midiin object a full dump of the current state of the machine. It is an hex coded file that you can store in a table for further treatment. Once you get that dump, you have to use your midi ref guide and some experimentation to find out which code relates to which pot / button and its value; note that it is a static value, not evolving in time, just current state of the pot.