HISE Logo Forum
    • Categories
    • Register
    • Login

    How to add Portamento

    Scheduled Pinned Locked Moved Scripting
    41 Posts 8 Posters 8.0k 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.
    • LindonL
      Lindon @weezycarter
      last edited by Lindon

      @weezycarter said in How to add Portamento:

      @Lindon When I choose midi processor then choose script processor, it erases my interface.

      no it doesn't - it creates a script processor and take s you its interface, your interface will be in the list just above it - named Interface. Like this:

      f5518a14-b24d-48be-924c-325f3c07f674-image.png

      HISE Development for hire.
      www.channelrobot.com

      W 1 Reply Last reply Reply Quote 0
      • J
        johnmike @Christoph Hart
        last edited by

        @Christoph-Hart I’ve been having issues with the monophonic glide script in my latest project…I noted in this post last week with no replies…I also posted a video showing the issues
        https://forum.hise.audio/topic/9803/monophonic-glide-script-weirdness?_=1718098651616

        1 Reply Last reply Reply Quote 0
        • W
          weezycarter @Lindon
          last edited by

          @Lindon Right it takes me to the script processor interface and no matter what button I click in the view menu it won't take me back to my original interface where I designed the plugin. I can only see the interface of my plugin if I hit the home button above the interface designer. But my interface designer no longer shows my plugin interface

          LindonL HISEnbergH 2 Replies Last reply Reply Quote 0
          • LindonL
            Lindon @weezycarter
            last edited by

            @weezycarter

            clcik here:
            882314bd-20cc-4ec6-aea7-56c3c192732e-image.png

            you probably need to do a fair bit more learning how to use HISE ....

            HISE Development for hire.
            www.channelrobot.com

            1 Reply Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @weezycarter
              last edited by

              @weezycarter It sounds like you are still working from the HISE Snippet, which is why you can't see your original project. The Script Processor sets up its own interface instance for you to use. You can toggle between that and the Interface with the green boxes in the Module Tree:

              Screenshot 2024-06-11 at 8.11.14 AM.png

              As Lindon suggested, you need to start from your original project, add in a Script Processor, and paste the code there. You'll also want to do more research on the HISE environment before adding modules and implementing scripts, but here is a bit more info on the topic: https://docs.hise.dev/hise-modules/midi-processors/list/scriptprocessor.html

              Also @johnmike Only experienced some of the issues you mentioned in your previous post.

              The maximum octave range (currently at 3 octaves) can be reset here: knbMaxInt.setRange(1, 36, 1); , the problem of it breaking when you are playing fast is probably related to the timer not updating fast enough, so you will have to go in the code and see if you can increase it. I also didn't experience hanging notes

              Also the "wormy-ness" you were describing sounds to me like you are referring to the nature of the code, not much you can really do about it since it sounds to me like a pitch shifting algorithm.

              W 2 Replies Last reply Reply Quote 0
              • W
                weezycarter @HISEnberg
                last edited by

                @HISEnberg Thank you, I put my original code in the script processor and these knobs popped up but they're unresponsive.

                35caf28a-e9b9-414e-84d1-282570ab4533-Screenshot by Dropbox Capture.png

                1 Reply Last reply Reply Quote 0
                • W
                  weezycarter @HISEnberg
                  last edited by

                  @HISEnberg I've actually tried out a bunch of different Hise snippets and they all work when I import the hise snippets by themselves but when I try to copy the code into a script editor into my project it will show me some knobs but the knobs are unresponsive.

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

                    @weezycarter said in How to add Portamento:

                    it will show me some knobs but the knobs are unresponsive.

                    What do you mean by unresponsive.

                    It's also likely that the script is not all you need. Looking at your screenshot above I can see the script is expecting to find a child constant modulator, I would assume that without it the script won't work properly. You'll need to copy the structure that is being used in the snippet across to your project.

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

                    W 2 Replies Last reply Reply Quote 0
                    • W
                      weezycarter @d.healey
                      last edited by

                      @d-healey I'm trying to utilize this snippet

                      HiseSnippet 1923.3oc6Zs0baabEdAkVEQYYGKGOo8QL5gNTMpbHkyk1zIiotP4pZSaVQEkjWRxZfkj6HfcgAVnH1NcFO8o9V9Ik7Snyj+H9gL801yhEf.fDhBFwIyDYiwiGsmcOm86bN6kC9.66KrnAABejQ8Sl3QQFqiGLgKGu+XBiiN5.jwsvOvgYS6dAw0ygh1ahGIHfZiLLV5ApwXTeYTzyKt+dDGB2hlJBgNUvr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OpGAVnpJYQ8M+fS3snwr5Dnpdol5TZc6VIUyLfxsiZnpaIty1Ie0FUmsS57Zyb3Rr7EekkthX09kUij.wVdzORr53dp1lsmmNK0Kl7UVV4M0bJtSUU7dUUw2upJ9AUUwOrpJ9QUUw+3Uqn5p6cCkBW8wBHTu9cidyECijeYAvNPz+2dD5Kt
                      

                      It works perfectly when I open the snippet on its own. But when I copy the code from the snippet code editor and script processor over to my project the knobs suddenly don't respond. I've looked everywhere in that snippet for code I can copy over and I've copied the code over with no results.

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

                        @d-healey And what I mean by unresponsive is that when I import the snippet to Hise I hear a pitch bend, but when I copy the script over to my project there is no bend

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

                          @weezycarter That snippet you just posted, is that the same as the one you showed in the image above? I don't see that script in that snippet.

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

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            weezycarter @d.healey
                            last edited by

                            @d-healey The snippet has different code than my original post.
                            I'm starting fresh with that snippet because it has less knobs. It is responsive when I import it to Hise but copying all the code over from the snippet to my project doesn't work.

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

                              @weezycarter said in How to add Portamento:

                              but copying all the code over from the snippet to my project doesn't work.

                              How are you copying it?

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

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                weezycarter @d.healey
                                last edited by

                                @d-healey I am going into the interface and copying that code to my interface, then I go to the script editor and copy that over to a script editor in my project. I can get the knobs to turn but they don't cause a glide effect anymore once imported to my project.

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

                                  @weezycarter

                                  You don't need to copy the interface, you only need to copy the midi processor that is doing the glide.

                                  But I need to know how you are copying it, there is more than one way. Give me the exact steps you're following or show me a video.

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

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    weezycarter @d.healey
                                    last edited by

                                    @d-healey I import the snippet via the file menu,
                                    then I look at the script processor called GLIDE

                                    e25d10eb-8449-4e3d-bc29-f0ceb5531654-Screenshot by Dropbox Capture.png

                                    Trying to follow the same formula I open my own project and create a script processor
                                    under the container just like the snippet and copy over the code

                                    51bcbc9c-2d8b-462d-a608-48f7c1186ed2-Screenshot by Dropbox Capture.png

                                    The only problem I see that is causing issues in my opinion is:

                                    I cannot choose the script processor in my processor ID because it is nowhere to be found.

                                    5a530d3b-5bb7-4f71-96f7-f33d64d95280-Screenshot by Dropbox Capture.png

                                    However in the snippet I can clearly see that the glide script processor was selected under processor ID.

                                    748db8ab-fbea-4501-8c48-55bb85e88ed7-Screenshot by Dropbox Capture.png

                                    In my project I can't get the script processor to populate in the processor id menu.

                                    Another problem is that I can't seem to rename my script processor as "Glide" I don't see an option anywhere to rename it as GLIDE.

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

                                      @weezycarter Ok I see the issue now. I'll just put a little video together to explain what you need to do.

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

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        weezycarter @d.healey
                                        last edited by

                                        @d-healey Thank you so much! I am new to hise I just got it over the weekend so I am new to this I appreciate it.

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

                                          @weezycarter There are a lot of basic things like this that we mostly take for granted, but actually for a beginner it's not obvious what process you need to follow. Here's a video that hopefully plugs this little gap:

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

                                          W 1 Reply Last reply Reply Quote 1
                                          • W
                                            weezycarter @d.healey
                                            last edited by

                                            @d-healey said in How to add Portamento:

                                            Thank you! It works perfect now.
                                            I didn't have the "copy glide to clipboard" option must be because I'm on Hise 3.0.3 due to me being on catalina but the copy script to clipboard worked perfect thank you!

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

                                            20

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts