HISE Logo 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 136 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.
    • CatABCC
      CatABC
      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_

      d.healeyD 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @CatABC
        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.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

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

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

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          CatABCC 1 Reply Last reply Reply Quote 0
          • CatABCC
            CatABC @d.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_

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

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

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              CatABCC 2 Replies Last reply Reply Quote 0
              • CatABCC
                CatABC @d.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_

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

                  @CatABC In the mouse callback as Christoph shows

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  CatABCC 1 Reply Last reply Reply Quote 0
                  • CatABCC
                    CatABC @d.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
                    • CatABCC
                      CatABC @d.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

                      9

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      103.1k

                      Posts