HISE Logo Forum
    • Categories
    • Register
    • Login

    Has anyone found a workaround for pitch bend amount?

    Scheduled Pinned Locked Moved General Questions
    17 Posts 6 Posters 823 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.
    • SteveRiggsS
      SteveRiggs
      last edited by SteveRiggs

      Hi guys,

      I've been stuck on this for a good while now and wondered if anyone else had found a workaround for it?

      As there is no dedicated control on the pitch wheel modulator that snaps to actual notes to set the pitch bend amount range, is there another way of doing it?

      Using this one doesn't work very well for a couple of reasons... Screen Shot 2019-10-17 at 17.03.41.png

      1, As the range is actually -24 & +24 notes when used with a pitch wheel, (not -12 & +12 like it says) it doesn't snap to the correct note even if the step size is set to 1.0 in properties.

      2, If a slider is added on the interface assigned to the pitch wheel modulator intensity with these properties set:
      linear,
      1.0 step size,
      min set to -12,
      max set to 12 ,
      and middle position set to 0..
      ...when you turn the slider on the interface +1 step, in the back end module it jumps all the way to +12 anyway which pitches it +24 notes on the pitch wheel.

      The only way I can see this being a useable function is if we had the option to set the step size to 0.50 to compensate for the 12/24 difference.. or if there was a dedicated slider added onto the pitch wheel modulator that could be assigned.

      If anyone else knows a workaround though I'd be very interested to hear, as I'm stuck as hell on this one 😓

      www.anarchyaudioworx.com

      www.facebook.com/groups/audioworx/

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

        Do you need to control the pitch bend with the pitch-wheel or can a knob on the interface be used instead?

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

        SteveRiggsS 1 Reply Last reply Reply Quote 0
        • SteveRiggsS
          SteveRiggs @d.healey
          last edited by

          @d-healey

          The pitch bend I'd like to be controlled with the pitch wheel. It's setting the pitch bend amount with another slider that I'm struggling with.

          Ideally, I'd like a slider on my interface assigned to the pitch wheel modulator intensity that snaps to the exact notes between 0 and 12 (or 0 and 24 would also be cool) ...but as the range on the pitch wheel modulators intensity control is actually 24 and not 12, there's no way to set in the slider's properties to move the step size at 0.50 (which would be 1 note)

          Having the step size at 1.0 would move it 2 notes (but moving it 1 step on the interface jumps it all the way to 12 anyway)

          If you set the step size to 0.1 and move it 1 step then it jumps to 1.20st,

          .. and setting the step size to 0.01 makes it jump to 0.12st

          Very confusing 🤣

          This is set to 0.01...
          Screen Shot 2019-10-17 at 17.58.05.png

          This is set to 0.1...
          Screen Shot 2019-10-17 at 17.52.13.png

          ...and this is it set to 1.0
          Screen Shot 2019-10-17 at 18.00.34.png

          The sliders properties are set like this...
          Screen Shot 2019-10-17 at 18.00.17.png

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

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

            @SteveRiggs

            I see what the problem is, the intensity slider has a range of -1 to + 1 when used a processor/parameter so you need to convert your knobs +-12 range to match. There is probably a simple way to do this. Give me 5 minutes.

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

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

              This seems to do it. I divide the knob value by 2 so the intensity range is -6 to + 6

              HiseSnippet 1453.3oc2X0saaaCEVJNLs1qonsqWraFfPvtvAnK1t+Nfhg5DGmViVmZX49yUKiQh1lMRjBjzowqnuA6gYOBEXuP8MX6PJIKYWgzT2r0hlq74vyg7SG9c9gomf6QjRtvxt7foQDK6KgbmxTiaMFSYVc10x9xntXohHbhUsyzHrTR7srsK8PsB6xqZY968OXGb.l4QxTYY8bN0i7DZHUkosWyGSCB1C6SFPCyY8sa1wiyZwC3S.7TBU2JB6cDdDYer1rUPV1q01mp3BWEVQjV1qtC2ep6X9qYw1+bpjdX.QKzvxE1nX06wC70HV+aqVioA98R+tkVV1ndYQgRwQgqi5R8oyzmEMthYAmLOxGOrW4zfWikDdqjCdqFCuqhb8DzHU1JZr8cnNL3hZH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ELT5ZeAlY97u.1me81RmM3VPDzt2G71qqfbo5qp1rigbTPiFiWC5hXFtHU670K5xY7nwbF0a9LBfgOZDQjG6E9AssRAIjYZtdy9j.BVlKk9mZ9DXxcrX9D8OoXQiydr3ztu9ATLbczE4b91nOYoO29jeBOkLeb9hou2O6IVIw3heF2GGy6Pi3AXgt2OTpMo3V1xc.9qPMeUZ2PNWMd9VVzlmaDquRGL3z3JWNYr.G3zEpuxI1WBYZj4nm63KET6ymnf4IR6oifF+tvvNdj7s+WQORQrbcsrg6QX9Fg+A9KYwFoyJnWrQ5hVdoaE7sk7ayi.rKQXZZtYd2.XJjf4dEY1qF+eAkgXOA+.u3Wynw5EMZ.TxL+CzJi5pkcl8rbDpN73V3YvzC77zIB+LDgK1matD9bqkvmauD9bmkvm6tD9bukvme4T8QOWz1ST7v3tBfhdsiIV1smQrJY8uUxZzyA
              

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

              SteveRiggsS ustkU 2 Replies Last reply Reply Quote 2
              • SteveRiggsS
                SteveRiggs @d.healey
                last edited by

                @d-healey Brilliant mate! Thankyou! Thats been bugging me for ages!!!! ☺
                Works perfectly in the snippet. I'll get it added into the main project now and test it. Thanks man!

                www.anarchyaudioworx.com

                www.facebook.com/groups/audioworx/

                1 Reply Last reply Reply Quote 1
                • ustkU
                  ustk @d.healey
                  last edited by

                  @d-healey @SteveRiggs I was trying to do the same by dividing the incoming message by 2.
                  But I encountered an issue I don't understand. When using Message.setControllerValue() in the onController CB, I get this error:

                  Interface:! onController() - Line 7, column 32: Call of setControllerValue() outside of onController callback
                  

                  But I am in the onController CB...

                  Can't help pressing F5 in the forum...

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

                    @ustk Post a snippet

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

                    ustkU 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @d.healey
                      last edited by

                      @d-healey Just two lines in the onController CB throws the error:

                      HiseSnippet 702.3ocsU0tSaCCE0tTOszMjFR6AH+YREIVUBCXHMgfQ+XpZqP0BCs+gLNtsV3ZGk3.qBgzdu1iydA1av10IARfUPnJg6OZuebRN9dO2aGFqY7jDcLB6bzrHNB+RRvLkYR6ITgB0uCBuBIRXXStXBmKc8WOwf1eVDMIgGhv3k9jMMrScDB8y27qeu69TIUw3EtxNGqEL9WDSElRuC26yBorGMjejXZkr2Xu9LspsVpSAJsDwCEQYmQGyOfZSqFAgeV2PgQGGXnFdBBWeec3rfI5KT44erHQbpjaM7QAvCJ2cOsLzxXqWT6IBY3vqu5IH3oLrrPrTdg30jAhPwM9KKHuJKfaIhp0CbsGhd9Uom2imd3JzqdN8VgDvhEQlxHVt8BRekgGOhBsfpzJOWTsMvj1ZHCko0T5Y7dwfwMHZtkm2Zta54s5GVtAjVhVxawjbZbSqG6mQoJlQnUtZ0AZC+PUyUabYCmFW0v8tgFMZtwru9XsTxiyCKF41b.bAfdbqwbSY3CRmdpMI2c1Ajcau5kK2vwENEecMljpXNlJS4M8yuANWcmWsUpE+PjpoJ6ctl641myMIB07a2TI2eSsplikWoqjnV0WILGFwU2WqFUzdfe8s9cnFps6W3CxKhGaDVJf6vOGFqx0BNjN7jyL5HXv5+DJfbUGlJolaqgsCtEAfZvsDKVAgJQXlUNW9mceRD1OV5tBYncGz74as4vWnp8Ty2h0DKS5NZDmYJIacRuu+zuS.8UcpQnFOfZhE+.zjv7R.r0jwAlnTboUmhqYUT41dVaakIfqByL9KbJB5aswEA8uNHZJkEqOgkOcXWD87LO.mTY6icHCr1t9nrIF.GwqkGZJre7DFyVJdKv84iY8E.y6V.Lar.X1bAvr0Bf48K.lsePL1+Z5ioF8z7wDvwvtYqQv3tJJnxxTjn+AzcLB4
                      

                      Can't help pressing F5 in the forum...

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

                        I'm not getting any error from that snippet

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

                        ustkU 1 Reply Last reply Reply Quote 0
                        • ustkU
                          ustk @d.healey
                          last edited by

                          @d-healey That's weird 🤔
                          Probably something broken in my Hise version...

                          Can't help pressing F5 in the forum...

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • ulrikU
                            ulrik @ustk
                            last edited by

                            @ustk I get an error from your snippet, which Hise version are you running?
                            I'm running the latest scriptnode from today

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            ustkU 1 Reply Last reply Reply Quote 0
                            • ustkU
                              ustk @ulrik
                              last edited by

                              @ulrik Hmm... That's really strange, mine is about 10 days old.
                              @d-healey, what's your version?

                              Can't help pressing F5 in the forum...

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

                                Interface:! onController() - Line 7, column 32: Call of setControllerValue() outside of onController callback

                                This usually happens if you've deferred the callbacks using Synth.deferCallbacks(true); The error message is technically correct (the callback will be executed in the timer callback of the UI and not the MIDI callback of the audio rendering), but admittedly a bit misleading :)

                                d.healeyD ustkU 2 Replies Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Christoph Hart
                                  last edited by

                                  @Christoph-Hart My first thought too, but the callbacks aren't deferred in the snippet.

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

                                  1 Reply Last reply Reply Quote 1
                                  • ustkU
                                    ustk @Christoph Hart
                                    last edited by

                                    @Christoph-Hart @d-healey Nope, they aren't, effectively... 🤔

                                    Can't help pressing F5 in the forum...

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      titosg
                                      last edited by

                                      I have the same problem, I want to make a pitch slider but it isn't working properly, is there any way to fix this?

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

                                      54

                                      Online

                                      1.7k

                                      Users

                                      11.7k

                                      Topics

                                      101.8k

                                      Posts