Home › Forums › General › Programming › LAU midiMassageReceived cause crash › Re: LAU midiMassageReceived cause crash
February 27, 2012 at 4:59 pm
#3957
Can you try this piece of code as part of your method, and see what the console will tell you
[code:2r828jir]
data = midiMessage:getLuaData()
console (string.format ("midiIncomming size: %d", data:getSize()))
console ("HEX: "..data:toHexString(1))
for i=0,data:getSize()-1 do
console (string.format("BYTE[%d]: %d/%x", i, data:getByte(i), data:getByte(i)))
end
[/code:2r828jir]