lua bind/wrapp setMidiMessageType(…) and setMidiMessage (…)

Home Forums General Programming lua bind/wrapp setMidiMessageType(…) and setMidiMessage (…)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #69752
    t0f4st
    Participant
      • Topics: 5
      • Replies: 13
      • Total: 18

      Hello Atom,

      is it possible to unlock the methods following methods for lua in the next build?

      CtrlrMidiMessage : setMidiMessageType( int type)
      CtrlrLuaModulator : setMidiMessage ( CtrlrMidiMessage midiMsg )

      is it possible to setMidiMessageType in the current built within lua script?

      thx

      #69753
      t0f4st
      Participant
        • Topics: 5
        • Replies: 13
        • Total: 18

        if found a possible workarround

        
        currentMidiMessage = mod:getMidiMessage(0)
        currentMidiMessage:setPropertyString("midiMessageType","9")
        
        #69754
        atom
        Keymaster
          • Topics: 159
          • Replies: 2945
          • Total: 3104
          • ★★★★★

          Yeah you can always set a property all objects in lua are have those setProperty getProperty methods, any functions are just wrappers for this (unless something is very low level and needs performance)

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The forum ‘Programming’ is closed to new topics and replies.
        There is currently 0 users and 93 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