midiout(target,msg[]) to retrieve preset name -- Kemper

Discuss Lemur and share techniques.
pamisano
Newbie
Posts:2
Joined:22 Jul 2014 00:52
midiout(target,msg[]) to retrieve preset name -- Kemper

Post by pamisano » 08 Aug 2016 14:21

So I have been digging and can't find a detailed explanation on how to pull preset names and how to read the data returned. I am working from the Kemper template and trying to get the current preset (rig) name. In the Kemper Midi documentation is show that the message "F0 00 20 33 02 7f 43 00 00 01 F7" will request the string parameter for the current rig name. I have the code as follows:

decl rigmsg;
rigmsg = midiout(0,{0xF0,0x00,0x20,0x33,0x02,0x7F,0x43,0x00,0x00,0x01,0xF7});
setattribute(Rig,'content','Rig Name = ' + rigmsg);

"Rig" being the text box I am trying to populate with the rig name. However I get no results. Not sure if I am sending the message incorrectly, or if there somed string manipulation that needs to take place.

Any and all assistance would be greatly appreciated!

Thanks!

Post Reply