Midi send from Lua

Home Forums General General MIDI discussion Midi send from Lua

Tagged: , , ,

Viewing 21 post (of 21 total)
  • Author
    Posts
  • #70541
    fundorin
    Participant
      • Topics: 8
      • Replies: 66
      • Total: 74

      I don’t get how panel:sendMidiMessageNow(CtrlrMidiMessage(event)) requires hex values to send a proper midi message, but onMidiMessage function returns byte values in decimal format and not in hex:

      
      onMidiMessage = function( midi)
      midiCC = midi:getLuaData():getByte(1)
      midiValue = midi:getLuaData():getByte(2)
      
      console(tostring(midiCC))
      console(tostring(midiValue))
      console("Midi message received")
      

      Can anyone clarify this issue for me?

      Not like that’s a big issue. In fact, I can live with that. I’m more concern about not being able to get full arguments from OSC messages, then this. 🙂

    Viewing 21 post (of 21 total)
    • The forum ‘General MIDI discussion’ is closed to new topics and replies.
    There is currently 0 users and 60 guests online
    No users are currently active
    Forum Statistics
    Threads: 2,495, Posts: 17,374, Members: 77,605
    Most users ever online was 12 on January 22, 2019 3:47 pm
    Ctrlr