Skip to content

CtrlrMidiMessage crashing CtrlrX #704

Answered by dervur
dervur asked this question in Q&A
Feb 13, 2025 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

For some reason that does not work and I need to take extra steps...
I had to break it down like this to make it work:

    -- Create MIDI memory block
    local messageBlock = MemoryBlock(sysex_message)
    -- Create Ctrlr MIDI message
    local message = CtrlrMidiMessage(messageBlock)
    -- Send Feedback type SySex message
    panel:sendMidiMessageNow(message)

But yeah that was the issue, I don't know why I can't make it all in one line as you suggested (cause it makes sense from a coding point of view), but it is what it is.
There was also a typo in my code from a copy-paste I made in the for loop, but last night I was too sleepy to realize that too lol.
Thank you very much for the help!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@damiensellier
Comment options

@dervur
Comment options

Answer selected by dervur
@damiensellier
Comment options

@dervur
Comment options

@damiensellier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants