Home › Forums › General › Using Ctrlr › Demo panel for MIDI receive/transmit routines › Reply To: Demo panel for MIDI receive/transmit routines
October 16, 2017 at 1:37 am
#73218
It looks like sendMidiMessageNow doesn’t like receiving an empty string
if string.len(memB:toHexString(1)) >0 then
panel:sendMidiMessageNow(CtrlrMidiMessage(memB))
end
Maybe the L() function is an alias for
std::string LGlobalFunctions::stringToLua (const String &string)
{
return (string.toUTF8().getAddress());
}
Looks like it converts the string to utf8.
Regards,