Is it possible to create a keyboard split with ctrlr?

Home Forums General Using Ctrlr Is it possible to create a keyboard split with ctrlr?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #70224
    Dreetie
    Participant
      • Topics: 1
      • Replies: 6
      • Total: 7

      Hi,

      I’m new to ctrlr and I wonder if it would be possible to do some midi routing in ctrlr? For example check all incoming note messages and if they are in a certain range send them to another midi channel. This way I could simulate a keyboard split (which my old keyboard doesn’t have)

      #70226
      Puppeteer
      Participant
        • Topics: 16
        • Replies: 185
        • Total: 201
        • ★★

        This shouldn’t be too hard with a LUA script

        The Puppeteer
        http://godlike.com.au

        #70227
        Dreetie
        Participant
          • Topics: 1
          • Replies: 6
          • Total: 7

          Thanks, I just asked the question because I saw that the output device only sends to 1 midi channel. So it would be possible to dynamically change that with lua?

          #70228
          Possemo
          Participant
            • Topics: 14
            • Replies: 638
            • Total: 652
            • ★★★

            Yes it is. In fact it will ignore the settings of the output device if you don’t care in your script.

            This will always send a program change on channel 0 (patch is a variable that is set somewhere else):
            panel:sendMidiMessageNow(CtrlrMidiMessage({0xc0, patch}))

            This will take care of the output device setting (patch is a variable that is set somewhere else):

            Midichannel=panel:getProperty("panelMidiOutputChannelDevice")
            programchange=string.format("%.2x", 191+Midichannel)
            panel:sendMidiMessageNow(CtrlrMidiMessage(programchange.." "..patch))
            #70229
            Dreetie
            Participant
              • Topics: 1
              • Replies: 6
              • Total: 7

              thanks, I will look further into it.

              I use linux as my main os and at the moment I just used lua to open the program qmidiroute to simulate a split. Maybe for simple things I will try to code it into the panel itself.

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