HISE Logo Forum
    • Categories
    • Register
    • Login

    Need Help With Glide knob |Mono-poly switch?

    Scheduled Pinned Locked Moved General Questions
    52 Posts 6 Posters 8.5k 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.
    • d.healeyD
      d.healey @BigBlackMuzik
      last edited by

      @BigBlackMuzik You'd need to script a custom solution.

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

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

        @d-healey Thank you Sir David
        I Know you're Too busy , But Could You please supply A working Script For Mono/ Legato And Glide?

        Your help is much appreciated 👏

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

          I already did...

          https://raw.githubusercontent.com/davidhealey/HISE-Scripting-Framework/master/modules/monoMode.js

          GPL Licensed.

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

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

            @d-healey WoW! Great :)
            You're Rock Sir David :)

            Any Guide , to link the Knob to A button To turn the glide on/Off?

            Thanks In Advance <3

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

              Yup , i inserted the code in script "Script Processor" And linked a switch so i can turn the knob on and off :)
              Tricky In a lazy way :)
              Edit : Bypass switch Does not works as i expected , the pressed notes gets crazy after i switch the button to off.

              Need something to kill the pressing note :(

              @d-healey Dear david
              What this error Means?

              Script Processor1:! onNoteOn() - Line 13, column 31: Event ID must be positive {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXwyODR8MTN8MzE=}
              
              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                Same issue this guy got - https://forum.hise.audio/topic/1551/legato-issue :)

                Post a snippet so I can see what is causing the error.

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

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

                  @d-healey Thank you dear david
                  Here is the code

                  Edit : While pressing the note down and Turning on/off , Last played Notes gets crazy Kinda freezing

                  HiseSnippet 1906.3oc4Y0uaaajDmzNLMV47g16xAz+baQQgbOEKI2lzOb+Px1RNpweHHImb9uJVSNTZQn1kX4R6pVDf6M3dD5qReD5iv8HbuAWmkKoHkhriTZZQQKsgj2Ymcleyryr6LzckBWHJRHsr2XvjPvx9u3zeBWMZ+QTF2pyAV1ugygALOvZuIgznHvyx1d8C0SZuwsrRd9ee0dz.J2ExIYY8DAyENhMloxo1swiYAAsodv.13Bb+QM53J36KBDwHPV2olUH08YzgvITMaq4XYe6VdLkP1WQUPjk8s1S3Mo+HwUbC+OgEwtH.zCpa0GEjgbaQfmFwZpV6OhE30Myfirrrc5la9qaL+64bLyiMkdta3MSlfjuhh9C60tI3U+kCuZKBdqU.d2x.u2xouqjEpxmQis+dJ0bzUeF3Yl0ZsMtiCo5GrYIB9ruHbhjMbjhrSs5ebE8meRxmeJ4.5kLOxi.Z.LYyRF1GLhEQ7YA.Q+sD.RjvWcEUBeFYhHl3R4DI3whTR1EwJjMEgx8pJjjwBOl+DiXPpwbOPRTi.hBjiiHB+jAGdxYjCANHoAjtwWDvbIGgQP7HfPiHgZJQi.OxEoRRul1ZbzOEGj1BTzTESvqP.FNujbIHivwjOLSKohrBQHMhoLUowujHB0qbKDzSHA3t3zEu8LtfPoXnjNV6ExMVOBimH9QhPzrFgxDMzqvXcxE.INB7iCpXDBxN4ocF7nSOa.o4ImSdZyd8Zdxfy2EYWMRfyBWBFgwFGFvPYiFmjxUSPavHiia0a+GgKp4dcNpyfyQagztyfSZ0uOo8o8HMIca1aPm8O6nl8HcOqW2S62ZaBoOngFXDwM3s8S1xP+oGnnrfno1+431bDBw.OxH5k.tc6Br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EtukSRYUKFuqs.7pyI9UFuo8cuoSKeevUkC1a4z9e8p1j8qFTtmAJ204oX6MIERj.j+QxXrsnwo80nlu+5YecH+zx95PBW5WGxotJDBCv1.iBEQP8hRdt41o3bG.pX9rraHMCWZyqMZdE36NMxHtSQhco7YDFNdFIcLKOWz5+9Ulzo9.ZMdmF4hFq12ULcnaLVybRqa0Ktvbx6Tjr85+BeMK+t4s.85O29W9QQqubvcAdP6tuvqQ7Mc5qe+EPK9kP.dOVBF+a3EW9z3.UF0YSiNVvEgiDblawXpdfRxFNDlItYgFTSkh59rbJ2qQOH.nQERsduFGw3.Udbx8MuR9h5Kuu3l1udaGCbI5bexeLtBY8+zeExMmghGO96fc5dhXE1c6wTLuRW0F1obe7lFW.gJmCA5xssWSWVnYbsrtU5CbujA+e7Icx55w1oSVOaxeSzwXpqT7Mtlpt0od2IgBZ27j+sAa3brdLYZw1ZeCVnK6abc0wF2utk0hWwNq7J9vUdEezJuhGrxq3gq7J93UdEexMrB8ckMiUhwl3cjP2VIM4XamUoMF5a8yWVgLWC
                  
                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @Natan
                    last edited by

                    @Natan-Rezaei
                    Yeah if you bypass the script while notes are still playing it will cause chaos. You'll need to modify the script to handle this use case.

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

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

                      @d-healey Thank You Dear david
                      i Added a Line Of Engine.allNotesOff(); to the bypass button , but still no luck to get this up and running without that problem which turns the last played note more Sustainable , Any idea?

                      Thanks

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

                        @Natan-Rezaei You need to add a button to the interface. That will be your bypass button. When it is active you can skip the on note on callback, just use an if statement. You can also skip the on note off callback, but you need to add a check in on note off to see if the note ID is not -1, and if that is the case you turn off that ID.

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

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

                          @d-healey Sorry Dear David , After playing a few minutes with codes , no luck with bypass button :(

                          Any chance to get a starting point?
                          Thanks

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

                            Script Processor1:! onNoteOn() - Line 13, column 31: Event ID must be positive {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXwyODR8MTN8MzE=}
                            
                            

                            Error pops up when you hold a note and play the second note for multiple times (staccato)
                            Also the glide only goes in one direction Only up or only Down.

                            For example press and Hold nore C2 Then press and hold A4 , it will glides to note a4 as expected , But when you Release the note A4 on keyboard , Glides doesnt goes backward to C2 Where it started , To make it more clear , You can check it on A Synth like Sylenth 1

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

                              @Natan-Rezaei I'll do it for you tomorrow

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

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

                                @d-healey No Way :)
                                Thank You Sir David , You're A Legend 👏

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

                                  As promised - https://raw.githubusercontent.com/davidhealey/HISE-Scripting-Framework/master/modules/monoMode.js

                                  and for my patreon supporters there will be a video showing what I did :)

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

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

                                    @d-healey Oh WoW 👏
                                    Thank You Thank You Dear David , You're Absolutely A Legend 👏

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

                                      @d-healey Thank you Dear David , Script works Like A Charm :)
                                      BTW , Is there any chance to Make the Glide in both Up/Down Direction?
                                      I mean while you hold a note , Glide goes up bypressing a new key , and when you release that new key the pitch goes back to first note that still held?

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

                                        @Natan-Rezaei It can be done, but I'm not doing it :p

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

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

                                          @d-healey Lol , Thank you Dear david <3

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            arminh
                                            last edited by arminh

                                            @d-healey for me it still not work even with new code.

                                            Script Processor1:! onNoteOn() - Line 20, column 39: NoteOn with ID-1 wasn't found {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXw1ODd8MjB8Mzk=}
                                            

                                            and sometimes

                                            Script Processor1:! onNoteOn() - Line 15, column 35: Event ID must be positive {U2NyaXB0IFByb2Nlc3NvcjF8b25Ob3RlT24oKXwzNTB8MTV8MzU=}
                                            
                                            NatanN 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            19

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.3k

                                            Posts