program manager doesn’t do anything…

Home Forums General Using Ctrlr program manager doesn’t do anything…

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #502
    ooze
    Participant
      • Topics: 8
      • Replies: 18
      • Total: 26

      I’ve built this sexy rozzbox editor called "Rozznose":

      [attachment=0:33p62btd]Rozznose.jpg[/attachment:33p62btd]

      Everything works perfectly now, even tho I had to trial&error the sh** out of it (I have absolutely zero nerd-skills and the nerds around here didn’t give me any answers to my noobish questions concerning my NRPN-issues, so I had to bite my way through). I’ve taken some lua-code from the virus ti snow panel (for the filter graphics) and from the drag-envelope example panel (for the envelope graphics) and modified it according to my needs. Thanks and many biggggupz to [b:33p62btd]dasfaker[/b:33p62btd]!

      I’ve already written a mail to the rozzbox-guy and asked him about the NRPN-assignment of the triggermatrix and the global-voice-mode. With these two additions it would be a dream for any rozzbox user. I hope he’ll answer…

      [b:33p62btd]There are still 3 "problems":[/b:33p62btd]

      1) My multiclient midi interface (m-audio midisport uno) can’t be opened in ctrlr and ableton simultaneously when used as a vst inside ableton. So I have to use it in standalone mode if I want to play the rozzbox from ableton and edit from ctrlr at the same time. But that doesn’t really bother me too much.

      2) The panel reacts a bit slowly to mouse editing (faders and buttons respond a bit "delayed" to mouse dragging). Can I boost the performance somehow?

      3) The program manager doesn’t do anything. I open it and click on "new bank" or "new program" but nothing (nothing!) happens. Am I doing something wrong…?

      Thanks for any advice

      #3527
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        1. this is a windows issue i can’t do anything about that
        2. this is weird, can you post the panel in the DDB so i can test it ?
        3. yes it does not do anything yet, i’m rewriting it for the 57th time, the next release should have the basic capabilities working though i have big plans for that part of Ctrlr

        #3528
        ooze
        Participant
          • Topics: 8
          • Replies: 18
          • Total: 26
          "atom":2ahckx0b wrote:
          2. this is weird, can you post the panel in the DDB so i can test it ?[/quote:2ahckx0b]

          Can’t do it with the ctrlr-upload-tool, for some reason it doesn’t recognize my new panel even tho I’ve set the folder correctly. So here it is:

          [file deleted, version updated, panel is posted below]
          EDIT: Forgot to add the bubble-popup-feature for the sequencer steps, added that, if someone’s already downloaded it, please replace it with this new one.

          Don’t know how to properly set up all these global panel options correctly since I don’t know what they mean (eg "panel wants vst midi input" or "sort option"…). Maybe you can have a look.

          It’s not impossible to work with it, but the controls don’t respond as fluently as in the beginning any more. The last thing I did were the sequencers, so maybe they’re too performance-hungry?

          Like I said, it would be amaizing if I got the missing info on "global voice" and the "triggermatrix" from Kilian (the rozzbox maker). But it’s already making my rozzbox more fun to program.

          #3529
          dejf_mk
          Participant
            • Topics: 5
            • Replies: 10
            • Total: 15

            [quote:15l2t8tk]1) My multiclient midi interface (m-audio midisport uno) can’t be opened in ctrlr and ableton simultaneously when used as a vst inside ableton. So I have to use it in standalone mode if I want to play the rozzbox from ableton and edit from ctrlr at the same time. But that doesn’t really bother me too much.[/quote:15l2t8tk]
            You could use MIDI-OX to fake multi-client access on a MIDISport. I think their website explains how to do that.

            Although personally, when I use Ctrlr as a VST I have something like LoopBe1 / Hubi’s loopback etc running (IAC Driver on the Mac is the same). This is a virtual MIDI port that lets you route MIDI out from the Ctrlr VST to Ableton’s MIDI in. Then you can just set an Ableton channel to have the LoopBe1 etc as it’s MIDI in and Rozzbox or whatever on the output. You should then be able to play from the sequencer and the Ctrlr VST at the same time.

            It also lets you do nice things like record the MIDI coming out of Ctrlr into Ableton <img decoding=” title=”Smile” />

            #3530
            atom
            Keymaster
              • Topics: 159
              • Replies: 2945
              • Total: 3104
              • ★★★★★

              i looked at your panel and it’s slow cause you are repainting the panel canvas all over the place, that means that each time someone moves a knob or a slider the whole panel gets repainted, that is crazy you need to localize your repainting try to avoid repainting the canvas and target the repaint stuff to the components you are changing (i launched it with repaint debugging and it was all over the place).

              #3531
              ooze
              Participant
                • Topics: 8
                • Replies: 18
                • Total: 26
                "atom":jd7u1iw9 wrote:
                i looked at your panel and it’s slow cause you are repainting the panel canvas all over the place, that means that each time someone moves a knob or a slider the whole panel gets repainted, that is crazy you need to localize your repainting try to avoid repainting the canvas and target the repaint stuff to the components you are changing (i launched it with repaint debugging and it was all over the place).[/quote:jd7u1iw9]

                Lol, I told you I’m a noob :lol:

                Ok so this repainting is the "Paint Callback" function of the used "uiCustomComponents" (visuals of envelopes, filters, sequencers, modmatrix) where I’ve added the lua-methods? So somehow at the moment this is triggered by every movement of any knob/slider/button? And I must "reduce" these repaints to only the necessary controls that actually affect the displayed parameters, did I get this right?

                So how do I "target" the repaint stuff to the corresponding components? Is it some setting in the general modulator setup of the uiCustomComponents or is it more complicated? Please give this noob some info, I came this far and it’s the only thing left to do…

                #3532
                atom
                Keymaster
                  • Topics: 159
                  • Replies: 2945
                  • Total: 3104
                  • ★★★★★

                  yo do
                  [code:1sbr0wq1]
                  c = panel:getPanelEditor():getCanvas()
                  c:repaint()
                  [/code:1sbr0wq1]
                  in your drawEnvOne lua method, try to repaint the component only:
                  [code:1sbr0wq1]
                  component:repaint()
                  [/code:1sbr0wq1]

                  this will repaint just the component you are drawing and not the entire panel

                  #3533
                  ooze
                  Participant
                    • Topics: 8
                    • Replies: 18
                    • Total: 26
                    "atom":3exxw657 wrote:
                    yo do
                    [code:3exxw657]
                    c = panel:getPanelEditor():getCanvas()
                    c:repaint()
                    [/code:3exxw657]
                    in your drawEnvOne lua method, try to repaint the component only:
                    [code:3exxw657]
                    component:repaint()
                    [/code:3exxw657]

                    this will repaint just the component you are drawing and not the entire panel[/quote:3exxw657]

                    Hmmm. So first of all I found out that the uiCustomComponents for the modulation matrix and the sequencers don’t need repainting, so I could simply delete the following lines from the lua-code without replacement:
                    [code:3exxw657]
                    c = panel:getPanelEditor():getCanvas()
                    c:repaint()
                    [/code:3exxw657]
                    I think it’s because of the way these sliders are built up: an "invisible" imageSlider on top of the uiCustomComponent that visualizes the value change. When moving the slider above, the uiCustomComponent underneath gets repainted automatically. Well, of course that was my plan from the start, I am so clever…

                    But the uiCustomComponents for the envelopes and filters need repainting. And let’s take envelope 1 for an example, its "Name [unique]" is "EnvOne". So I changed the code into:
                    [code:3exxw657]
                    EnvOne:repaint()
                    [/code:3exxw657]
                    But that didn’t work. I also tried:
                    [code:3exxw657]
                    penis = panel:getModulatorByName("EnvOne")
                    penis:repaint()
                    [/code:3exxw657]
                    No success either. Please bare with me, I just need to fix this one last thing. Help me to repaint these sexy little uiCustomComponents <img decoding=” title=”Sad” />

                    #3534
                    atom
                    Keymaster
                      • Topics: 159
                      • Replies: 2945
                      • Total: 3104
                      • ★★★★★

                      try it like that (could be fun)
                      [code:3g8jvg01]
                      anus = panel:getModulatorByName("EnvOne"):getComponent()
                      anus:repaint()
                      [/code:3g8jvg01]

                      #3535
                      ooze
                      Participant
                        • Topics: 8
                        • Replies: 18
                        • Total: 26
                        "atom":zv3cmd7y wrote:
                        try it like that (could be fun)
                        [code:zv3cmd7y]
                        anus = panel:getModulatorByName("EnvOne"):getComponent()
                        anus:repaint()
                        [/code:zv3cmd7y][/quote:zv3cmd7y]

                        Alright, never underestimate my noobish-ness :lol:

                        Tried this code and kept the "anus" as a memory of your kind help. Works now, sliders move smoothly like silk. And I fixed another thing (yellow bars of mod matrix 2-4 disappeared when value was -127). So here’s the Rozznose:

                        [Edit: device will be found in the DDB]

                        If you still find a bug, let me know. Have fun with your rozzboxes, my party people!!! *gentle breeze, tumbleweed rolls over street*

                        EDIT: Forgot to say thanks Atom, you’re a genius for making something like Ctrlr, I wish for this program to become the leading midi controller application!

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • The forum ‘Using Ctrlr’ 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