Newbie (sorry) needs a litle help, thanks!

Home Forums General Programming Newbie (sorry) needs a litle help, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #100437
    reezekeys
    Participant
      • Topics: 1
      • Replies: 2
      • Total: 3

      What can I say? I’ve done a little programming in my time. I use Plogue Bidule, not exactly a beginner’s midi software, so I thought I’d be OK with throwing together a panel to replicate my Roland A800 Pro keyboard controller’s midi controls. Well, I’m completely stumped – and I have spent time searching and reading the documentation that’s out there.

      I thought it would be easy – I am doing one-way communication, sending simple midi commands. I have six pads on my A800 that I set to send program change commands; I want to duplicate that on my Ctrlr panel. I have successfully set up six buttons on my panel but they all send PC #1 (well, 0 to be precise – of course, instruments interpret that as patch #1). I would like button #2 to send PC #2, button #3 to send PC #3, etc. No matter what I try, I cannot get any of these buttons to send any value other than zero (PC #1). Any help is appreciated, thanks very much!

      Using Ctrlr 5.3.198 on my MacBook Pro, OSX 10.11

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

        Can you post an attachment (panel) of your work so far Reezekeys?

        #100463
        reezekeys
        Participant
          • Topics: 1
          • Replies: 2
          • Total: 3

          Thanks very much offering to look at my panel, dnaldoog! I’ve attached it here. It’s not pretty at all, I’m just looking to get basic functionality! All the sliders and pots are working as I like; only the six buttons at the bottom are causing me grief. As I said, I need them to output program change numbers from #1 to #6 (C0 00 to C0 05). Here is what I did and what I’ve seen:

          I set up each “pad” as a uiButton.

          In the “MIDI” section I select “ProgramChange”

          Setting the midi channel works (as long as “override panel MIDI channel” is ticked).

          Trying any value in “MIDI Controller number” and “MIDI Controller value” has NO effect.

          In the “Component” section:

          The “Button values” field is interesting. The default I see is “False” and “True.” That causes the button to alternate sending C0 00 and C0 01. I can add more lines of text to this box. Each additional line adds another increment to the PC numbers sent, then wraps around – e.g., if the box says:

          False
          True
          Pumpkin
          Balloon

          … each press of the button sends PC #0, 1, 2, 3, 0, 1, 2, 3, 0, etc.

          In that same “Component” section I see “Value for ON state” and “Value for OFF state.” Again, it makes no difference what I set these to, the PC #s transmitted are always as I described before – they start with 0 and count up to the # of lines in “Button values” -1.

          All I want to do is send a single program change # when a click on a button – the first button should send PC #1 (C0 00), second button send PC #2 (C0 01) , etc., to the sixth button sending PC #6 (C0 05). I really appreciate any help you can give me, thanks a lot!

          Attachments:
          You must be logged in to view attached files.
          #100473
          Possemo
          Participant
            • Topics: 14
            • Replies: 638
            • Total: 652
            • ★★★

            I haven’t looked into your panel but did you know that you can set the value of button like this:

            False=30
            True=20

            You set decimal values here.

            #100477
            reezekeys
            Participant
              • Topics: 1
              • Replies: 2
              • Total: 3

              Possemo, that was it! I’m all set now. Thanks a million.

              The button defaults to “True” and “False” so I didn’t think of doing what you mentioned. Now it makes sense. All good, and I will probably be back here soon with some questions about making my panel look a little nicer! Thanks again.

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