Ctrlr Menu & LUA

Home Forums General Using Ctrlr Ctrlr Menu & LUA

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #116540
    lfo2vco
    Participant
      • Topics: 26
      • Replies: 162
      • Total: 188
      • ★★

      Hi folks,

      I am planning making a little MIDI widget in ctrlr, and have been wondering about a specific point regarding the Menu items across the top of the app. I am referring to File, Edit, View, Panel and specifically MIDI.

      1) Can I use a modulator to change a value in the MIDI Menu directly or via a LUA script? Fore example select an input device and channel.

      2) Can I get the chosen selection of any of the MIDI menu items to display in an uiLabel or uiLCDLabel?

      Up front I’m thinking the answer to these is no… but I know there are some very clever programmers on this site so it is always worth checking.

      Cheers,
      lfo2vco.

      Here is some noise I organised into an acceptable format:
      https://soundcloud.com/lfo2vco/a-dark-crystal

      #116542
      dnaldoog
      Participant
        • Topics: 4
        • Replies: 480
        • Total: 484
        • ★★

        Hi lfo2vco,

        Maybe this post will help you? (see post by diamondamps)

        Multiple MIDI ports?

        I also use these to get/set the output channel from a panel uiSlider etc:

        panel:setPropertyInt("panelMidiOutputChannelDevice", value)
        myChannel=panel:getProperty("panelMidiOutputChannelDevice")
        #116543
        lfo2vco
        Participant
          • Topics: 26
          • Replies: 162
          • Total: 188
          • ★★

          Hi lfo2vco,

          Maybe this post will help you? (see post by diamondamps)

          Multiple MIDI ports?

          I also use these to get/set the output channel from a panel uiSlider etc:

          panel:setPropertyInt("panelMidiOutputChannelDevice", value)
          myChannel=panel:getProperty("panelMidiOutputChannelDevice")

          Thank you, I knew there were some bright sparks around here : ~ )

          Here is some noise I organised into an acceptable format:
          https://soundcloud.com/lfo2vco/a-dark-crystal

          #117900
          shooking
          Blocked
            • Topics: 14
            • Replies: 60
            • Total: 74

            Thanks too :-).

            Was looking on how to get the channel so I don’t have to hardcode it.

            Saves me a lot of effort.

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