HISE Logo Forum
    • Categories
    • Register
    • Login

    Pitchwheel & Modwheel graphics &linking.

    Scheduled Pinned Locked Moved General Questions
    19 Posts 4 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • staiffS
      staiff
      last edited by

      in your example: onController() callback <= maybe made mistake here.
      in my example: using graphical png knob/slider linked to CC1 &CC128 => made more mistakes i feel :D

      Excuse me i'm French.

      1 Reply Last reply Reply Quote 0
      • staiffS
        staiff
        last edited by

        don't find the solution.
        If someone has already used it or have an example... thanks in advance.

        Excuse me i'm French.

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          You really need to be more precise what's not working. "Made more mistakes" is pretty vague :)

          Please post your script and the error message from the console, otherwise it's just shooting in the dark.

          1 Reply Last reply Reply Quote 1
          • staiffS
            staiff
            last edited by staiff

            ok i'm just the stupidiest man in this world. i put the controller script in the init, and wrote an "exotic" script in Controller.
            your code with your grafics works now.
            so i'm actually try to replace your paint graphics by a .png filmstrip

            Excuse me i'm French.

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Ah OK, you've pasted the entire code in the onInit callback, however this was supposed to be the whole script (you've ended up with two onController definitions and the empty one overwrote the one you've pasted.

                Just use this snippet:

                HiseSnippet 1113.3ocsVs0aaaCElJIZXV6BVG16kHOIO35HkaMnAAq4RcZ1lSBpyRKPQQGsDkEQjHMnnZpaQ9Ou+AaGJZE4XqjZOfR3GLO2324SGxy4boHflkIjHqu6hQCoHqu2t2HtJ9vXBiiN4Hj0OZ2kjonRrQzAiFRxxngHKqkOVKvpwJnh0+7aGPRH7.ZkHD5RAKf9mrTlpR5e+7+fkjzgDRufkNg0a97SBD7CEIhb.OKa6gFRBthLfdJQa1R1nOvnWmgr7r2X81xq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PAjvgNsY5oJWRWbX16o2qYldv3LdkibNVoudu0Xk9kJQoj.o38AlJP8PZeagD.S7hwea.ygC6w9nhqVFbmBSN99f.MQ7D.406w5KrGarvdr4B6wVKrGauvd7zE1icd.OziouetRjZtVfP+2meqMk
                

                Copy this into the clipboard, then File -> Replace with clipboard content.

                (Note to myself: never post a entire script again) :)

                Also you've got some weird syntax errors in your script, so it's no wonder it isn't working (basically you're approach should be correct though).

                1 Reply Last reply Reply Quote 0
                • staiffS
                  staiff
                  last edited by staiff

                  lol,
                  i just edited my previous message to say like you that i place all codes in OnInit. Stupid i am !!!

                  no, you can post entire script, but not for a "Forrest gump" like me :D

                  ok. try to replace by .png filmstrip image now

                  EDIT:
                  ok, working with .png images. at this time it's a knob. So i have a question. Modwheel and Pitchwhell are not the same. For modwheel i will create a wheel starting to 0 (down) and going to 127 (up). that's ok. But for the pitch i must do another wheel starting at center or the same wheel will be "centered" (like the knob ?)

                  Excuse me i'm French.

                  1 Reply Last reply Reply Quote 0
                  • NatanN
                    Natan
                    last edited by

                    I Have A Small Problem Here, The Value Of Pitch Bend Panel is Always Goes to 0
                    And It Goes Down. ( Just Click on Pitch bend, And Then Hit Compile Icon Or F5)
                    Can someone Fix The Pitchbend?
                    Thanks a lot

                    HiseSnippet 1710.3oc6YssaaaDDcoiYQrScaBZenOtUuTwTacw4RSfaZc7s.iFkHDkaEEAAzjqjVXJtDjqriZf.5a42p+A8Wo+AoyrKuJQKKq1BjfVpWzN6L6dlYmclgCaGJbXQQhPhwJOcT.iX7olcF4K6uaeatO4v8HFelYK6HIKjpIsyn.6nHlKwv3RO.IXrxxD0ye9i6X6Y66vxHQHOWvcXOjOfKyn1d6eh64cfsK6o7A439laeniveWgmXHfmKY1fDX6brcO1irQ1VxjX7I66xkhvNRaIKB3YGg6nN8Em5q4+47H9QdLbPSRGXgzjI61m641NQWiHDikamo4WRq4eoYKtKOkdlE3ppInYRj2FXrTQHsbAH07rfzABOWbANC3YjCdKqg20L63DxCjYyfX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OTMZad2+gqRar58YKzRhZSTeVkj.Lp5Wll0ztTTQ+haUzuirivORptOL6NTjWpBxLyB+JBJPeRqtT3+Hgj8X+pVq91UWY0wSOU2tkNWN6rZZz0pEKJxtGSu2IS+ngCNBYhdu6Qat4cPer1YUeMUkr4iOq8hJcUS7X2pDImziZbRcEyIHsT4ObOa.F+91WX3gxME3lzvhMiLbVl7p9JvtdbgqILRLVtXK.ux70BPGsCSNFE9G5ykONfEONqIg3bZ+kjYaPRcSxSJyRjmpR0JgsLRS2CRRrCM7umc3dPnZrsjwz.9BXgRNpsF6wNg6vzMobEy8XQGKEADikRuEPLVSplcsjVXhuS.gCZ1plINOj2j1H3s4aOJqqvuXaUgJDCSCFLTWMENptAg.4AR372d+erMTQg3zj5J.r84lPU0zLBY0IAR8Iu6cu68njI0ZizpWutlV5qCkgjuZ6b0YgL+d3AmPxdiLaIRnRlGCvkM0tm4T+qJWD0m76u9CL0e5VXeUSPSwJHJ1cc7yHDOAbeqParwVUikYLJ+mY3Bzx8Fk1x8lk4tOmv8ZlJ20xw6RkfW3Zy+13M9CXrl49c6BuvRFXW17fWtneshK.TzMfnGTeWHGbHMgf5c.uAGFfDevSOB8WWBuQnG2.GiVlNPcCpAnSS7jMwwFwS1LYRvU2IT7ZGcbK7SjbYEE.S9puNzJlsvwzlDUzYPNyF0ZPFvc4u1wAMEazjPJWlMW.YtwBHyMW.Yt0BHysW.Y9tEPl6LSYvOZ18GJECzWS.Bs2WkGwvXeeavKS4QR9K.2nnH0
                    
                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Natan
                      last edited by

                      @Natan said in Pitchwheel & Modwheel graphics &linking.:

                      Pitch Bend Panel is Always Goes to 0

                      You mean the middle position?

                      1 Reply Last reply Reply Quote 0
                      • NatanN
                        Natan
                        last edited by

                        Hello Sir David, Yes Sir, It Wont stay on Middle As Default

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Natan
                          last edited by

                          @Natan Works here

                          Peek 2021-10-28 10-50.gif

                          NatanN 1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan @d.healey
                            last edited by

                            @d-healey Yeah It Works
                            I Mean Once you open the snippet, It Goes Down.
                            I want it to stay in Middle

                            Or just hit the Rebuild Interface
                            It Jumps to Down

                            d.healeyD 1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Natan
                              last edited by

                              @Natan Just add pnlPitch.setValue(8192); After the panel is created.

                              NatanN 1 Reply Last reply Reply Quote 1
                              • NatanN
                                Natan @d.healey
                                last edited by

                                @d-healey said in Pitchwheel & Modwheel graphics &linking.:

                                pnlPitch.setValue(8192);

                                Excellent :folded_hands: That did the Job

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                54

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.8k

                                Posts