Mopho Desktop GUI

Home Forums General Panels, Components, Macros Mopho Desktop GUI

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #34050
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • โ˜…โ˜…โ˜…

      Hello
      I’ve done a GUI for the Mopho that uses mainly Graphics() and no resources
      it is in xml format so it should work on all platform
      I represented some expressions
      It doesn’t use extra mods excepts 4 pattern modulators and tabs
      Normally all midi messages are there and vst indexes are scaled (not completely ) to edit buffer
      It “just” needs dumps and patch name scripts (dunno how to use nrpn in lua , I could but it seems boring for now ๐Ÿ˜‰ )
      The 3 envelopes feedback control is not done for now , it’s the last script to do

      Atom do I upload it or give to you to experiment your midi lib & edit buffer stuff ?

      The “stable”version used is 5.3.26 ( the last version has vst0 broken and in this panel linked without reason knew by me with vst32 )

      Attachments:
      You must be logged in to view attached files.
      #34054
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • โ˜…โ˜…โ˜…โ˜…โ˜…

        Upload it to the panel database please, that’s the best place for those.

        #34055
        zeoka
        Participant
          • Topics: 73
          • Replies: 466
          • Total: 539
          • โ˜…โ˜…โ˜…

          All right Atom

          I upload it now

          #34484
          zeoka
          Participant
            • Topics: 73
            • Replies: 466
            • Total: 539
            • โ˜…โ˜…โ˜…

            Hi

            I try to name my Rectangles to render the script more readable and useful to set

            CbBg1 = Rectangle(72,33)
            CbBg2 = Rectangle(70,31)

            console(string.format(“%s,%s,%s,%s”,CbBg1:getX () ,CbBg1:getY (),CbBg1:getWidth () ,CbBg1:getHeight ()))

            CbBg1:setPosition(1168,320)

            console(string.format(“%s,%s,%s,%s”,CbBg1:getX () ,CbBg1:getY (),CbBg1:getWidth () ,CbBg1:getHeight ()))

            g:drawRoundedRectangle(CbBg1,2.0,1.0)
            g:setColour(cBLK)
            CbBg2:setPosition(1169,321)
            g:fillRoundedRectangle(CbBg2,2.0)

            The console says my draw and fill line are wrong so I miss something
            Ive also tried with float values but can’t get Rectangle float
            in draw juce method
            Any idea ?

            #34536
            atom
            Keymaster
              • Topics: 159
              • Replies: 2945
              • Total: 3104
              • โ˜…โ˜…โ˜…โ˜…โ˜…

              Well the Rectangle() class is at fault here. The drawRectangle class and all draw classes expect the Rectangle() class to be float based and i bound the Rectangle class as an int based class (theese are c++ templates, this does not exist in Lua). So in order to go around that, whenever you pass the rectangle object to a draw method you need to call toFloat() on the Rectangle object, like this:

              g:drawRoundedRectangle(CbBg1:toFloat(),2.0,1.0)

              and

              g:fillRoundedRectangle(CbBg2:toFloat(),2.0)

              but i have to register the float version of the Rectangle class first in Lua (i already did that), and this will work (right now it will fail), but the next nightly will have it working (just tested this)

              #34541
              zeoka
              Participant
                • Topics: 73
                • Replies: 466
                • Total: 539
                • โ˜…โ˜…โ˜…

                Thank you Atom

                Ah Ok , I’ve tried toFloat() , I saw that

                Nice Thank you again

                #35613
                zeoka
                Participant
                  • Topics: 73
                  • Replies: 466
                  • Total: 539
                  • โ˜…โ˜…โ˜…

                  Hello

                  Anyone knows how to set a minimum value for custom comp without sliders() functions ?

                  The tempo starts by 30 while and in the vst host , by 0

                  #43218
                  zeoka
                  Participant
                    • Topics: 73
                    • Replies: 466
                    • Total: 539
                    • โ˜…โ˜…โ˜…

                    Hello

                    I’m starting to replace customcomp by uislider and lookAndFeel

                    but i’ve a doubt :

                    for params that have more than 128 values : my drag method vs slider()

                    mydrag : very precise , i can adapt drag for each modulator ranges
                    but if i drag very fast then the drag breaks

                    slider(): i can move the knob so fast but slowly it jumps values
                    i tried to play with velocity functions but not sure…

                    So let me know if you prefer precision (especially with touch screen) or performance

                    #43311
                    zeoka
                    Participant
                      • Topics: 73
                      • Replies: 466
                      • Total: 539
                      • โ˜…โ˜…โ˜…

                      Solved : I go for look&feel with different mouse sensitivities. nice!

                      #68216
                      iZueL
                      Participant
                        • Topics: 0
                        • Replies: 2
                        • Total: 2
                        • โ˜…

                        I would prefer performance ๐Ÿ˜‰

                        Anyway, Iยดm getting problems to get the values from the Mopho when I press the “Get” button, but the Send button works.

                        Do I have something wrong? (the MIDI Channel on the Mopho is 13 and the global settings are default)

                        Screenshot1
                        Screenshot2
                        Screenshot3

                        Thanks!!

                        • This reply was modified 8 years, 2 months ago by iZueL.
                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • The forum ‘Panels, Components, Macros’ is closed to new topics and replies.
                      There is currently 0 users and 74 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