Forum
    • Categories
    • Register
    • Login

    How to make the knob act like a pitch bend wheel,When the mouse is released, return to the initial position?

    Scheduled Pinned Locked Moved General Questions
    9 Posts 2 Posters 201 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.
    • Felix WF
      Felix W
      last edited by

      How to make the knob act like a pitch bend wheel,When the mouse is released, return to the initial position?

      //I am a new student at HISE._
      //Windows11 & MacOS Ventura 13.6.7_

      David HealeyD 2 Replies Last reply Reply Quote 0
      • David HealeyD
        David Healey @Felix W
        last edited by

        @CatABC I can't find it now but if you search the forum I posted a mod wheel and pitch wheel style slider example several years ago.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @Felix W
          last edited by

          @CatABC turns out I can find it... https://forum.hise.audio/topic/579/pitch-and-mod-wheel-display?_=1734351548717

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          Felix WF 1 Reply Last reply Reply Quote 0
          • Felix WF
            Felix W @David Healey
            last edited by

            @d-healey Yes, I tried this, but there is no pitch change to the sound when using the mouse, I tried a lot but I can't find the reason😲

            //I am a new student at HISE._
            //Windows11 & MacOS Ventura 13.6.7_

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @Felix W
              last edited by

              @CatABC Did you use Christoph's code from that thread that includes sending the controller message?

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              Felix WF 2 Replies Last reply Reply Quote 0
              • Felix WF
                Felix W @David Healey
                last edited by

                @d-healey Yes, in onController, also changed Message.getControllerNumber() == 128 to 129

                //I am a new student at HISE._
                //Windows11 & MacOS Ventura 13.6.7_

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @Felix W
                  last edited by

                  @CatABC In the mouse callback as Christoph shows

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  Felix WF 1 Reply Last reply Reply Quote 0
                  • Felix WF
                    Felix W @David Healey
                    last edited by

                    @d-healey 我找到原因了,我应该更改OnInit中的129为128

                    //I am a new student at HISE._
                    //Windows11 & MacOS Ventura 13.6.7_

                    1 Reply Last reply Reply Quote 0
                    • Felix WF
                      Felix W @David Healey
                      last edited by

                      @d-healey 😹 I'm sorry I got it wrong.

                      //I am a new student at HISE._
                      //Windows11 & MacOS Ventura 13.6.7_

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

                      37

                      Online

                      2.1k

                      Users

                      13.0k

                      Topics

                      113.1k

                      Posts