can we have an additional gui object that can display the patch names from sysex?
Is a hex to ASCII conversion table required for this?
since this control is related to parsing patch data it could also provide additional functionality:
send patch request on recieving a “program change”, or other conditions. so user configurable.
send patch request on 1 click
Lua script can be used to get the patch name out of the patch dump sysex. That part is quite easy. I am a bit struggling with where and how to display that. I will think about what you suggest. Thanks!
can you help me out, Martin, on what lua functions are best suited for hex-ascii conversions in both ways?
What I would like to try on the short term is to to take a sequence of bytes from a patch dump, convert it into ASCII and then use it to change the name of a Group.
My next challenge with then be to set new names for SE-02 and OB-6 patches. That would really be cool.
A good starting point is this Lua example in the Github repository:
-- Parse the patch name out of the SysEx response
function patch.onResponse (device, responseId, sysexBlock)
local patchName = ""
local patchNameLength = 8
local patchNameOffset = 152
-- get the patch name
for i = 0, patchNameLength do
patchName = patchName .. string.char (
sysexBlock:peek (i + patchNameOffset))
-- set the control's name to the patchName
control = controls.get (1)