Re: LAU midiMassageReceived cause crash

Home Forums General Programming LAU midiMassageReceived cause crash Re: LAU midiMassageReceived cause crash

#3957
atom
Keymaster
  • Topics: 159
  • Replies: 2945
  • Total: 3104
  • ★★★★★

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]

Ctrlr