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 871 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.
    • 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

                          16

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.7k

                          Posts