HISE Logo Forum
    • Categories
    • Register
    • Login

    How to add Portamento

    Scheduled Pinned Locked Moved Scripting
    69 Posts 9 Posters 11.6k 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 @tsempire
      last edited by

      @tsempire Everyone seems to mean something slightly different when they say portamento. How do you mean it?

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      tsempireT 1 Reply Last reply Reply Quote 0
      • tsempireT
        tsempire @d.healey
        last edited by

        @d-healey

        I'm looking for a portamento effect like in Kontakt, for the Balkan and Oriental styles.

        Even when I tested the glide, it doesn't sound right. I've looked everywhere on the forum and tried scripted things for months without success.

        This is what I've been trying to find for months, the glide and Portamento

        https://www.youtube.com/watch?v=cI8b6NSLQgA

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

          @d-healey

          Is this what the latest version is?

          Legato.js

          d.healeyD tsempireT 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @tsempire
            last edited by

            @tsempire No

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • tsempireT
              tsempire @tsempire
              last edited by

              @tsempire Is there a latest version of the script ?

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

                @tsempire The script you linked to is the latest version of my legato script, but it's not a portamento script so won't be useful to you

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                tsempireT 1 Reply Last reply Reply Quote 0
                • tsempireT
                  tsempire @d.healey
                  last edited by

                  @d-healey Excuse me, I meant for the Legato, I'll test it then.

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

                    @tsempire said in How to add Portamento:

                    This is what I've been trying to find for months, the glide and Portamento

                    11 minute video in a language I don't understand isn't much help here.

                    Can you give me a break down of how it should work from a user's perspective?

                    Press 1 key, what should happen?
                    Press 2 keys at the same time, what happens?
                    Hold 1 key and press another, what happens?
                    etc.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    tsempireT 1 Reply Last reply Reply Quote 0
                    • tsempireT
                      tsempire @d.healey
                      last edited by tsempire

                      @d-healey I'm almost there. The problem is that the notes get cut off when they are played. The notes should pitch correctly. Do you understand me better now ?

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

                        @tsempire said in How to add Portamento:

                        Do you understand me better now ?

                        Not really. Imagine I'm DaveGPT and you need to explain to me what you want.

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        tsempireT 1 Reply Last reply Reply Quote 1
                        • tsempireT
                          tsempire @d.healey
                          last edited by tsempire

                          @d-healey A glide effect (also called portamento) makes the pitch slide smoothly from one note to another instead of jumping instantly.

                          When you play two different notes:

                          Without glide → the first note stops and the second starts instantly.

                          With glide → the pitch slides gradually from the first note to the second, creating a smooth transition

                          HiseSnippet 1358.3oc2XssaaaDDkz1LnRoInoHnnOxZjGnJbBDcc7EXDD4qoBNJQvxwo8of0jCkVXxcUIW5Z0FCzOs9IzOkzuf1YVRIRkHqpHj1fTAAKt6N214xYF51wROHIQFaXV8jA8ACyO2py.gp2d8XbgQy8MLusUKVhBhsy1Z2A8YIIfugo4hOg1vrxRF5Ou4w6xBYBOnXKCiSkbO3o7HtpX21MNhGFdHyGNgGUh50ZzzSJ1SFJSQ6YQq5F8Ydmy5BOiQjsfkw2yR5YX9sV9tq4FroGa8McWaUOuU2biU2ZCOfED.q69vMVayf0BXd0W0v7FG3yUx3NJlBRPgtqzePmdxeVjofS4I7yBAZgqQGTyYaarWOdne6gNmDCCSq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hcYwxerQRZP.mjokcThAgdgCXZo0TT4l12qAg.RuAUAB3mBy3MVynJCswN7n9gvAhKfPLFoswuDCJArzP0vcGugTKoP1umTv8J2e+XPEy61EhKa6S7BsiRgutWwN2swwPHvJOqx8Z7TrNiE2RGDlKew6+6TMw30WakYt5nr8mtylu3+umM+XYphK51hgIgTILBs2AGI1CPsKDPHAdZt.Aykst9PDiNfvWu3uvO4G5RqMyOzc3g+mniHlWr7UdY.vTd5mo2Au2B8+ajJVsn01tuEpaF1G+UddiKp2gwUmWF+t4kw0lWFe37x35yKiaLuLt4+LizqarSpRFkUZZXzp8A5tjllGHXXVtthv3u0e.4gB
                          
                          
                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @tsempire
                            last edited by

                            @tsempire Does the snippet do what you want?

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            tsempireT 1 Reply Last reply Reply Quote 0
                            • tsempireT
                              tsempire @d.healey
                              last edited by

                              @d-healey Yes, except that when you play two notes in a row, the first one cuts off. Do you know why?

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

                                @tsempire said in How to add Portamento:

                                Yes, except that when you play two notes in a row, the first one cuts off. Do you know why?

                                Not sure what you mean, I'm able to play continuously with that snippet.

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                tsempireT 1 Reply Last reply Reply Quote 0
                                • tsempireT
                                  tsempire @d.healey
                                  last edited by

                                  @d-healey Indeed, it works on a Sine Wave Generator1.

                                  But when I use a Sampler1 with samples,

                                  when I hold down the E5 key and then play another note above it, like G#5, the E5 note stops playing immediately, even though I’m still holding the key down.

                                  Do you understand better now?

                                  Demo :
                                  https://www.youtube.com/watch?v=-GqEBsoQHeY

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

                                    @tsempire said in How to add Portamento:

                                    But when I use a Sampler1 with samples,

                                    I know exactly why that happens. The script won't work with samples.

                                    Give me every single detail of what you want. How is the glide speed controlled? What role (if any) does velocity play? How should notes "glide"? - do you just want to pitch shift up/down or do you want to trigger the destination note too and transition into it with a crossfades, etc.

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    tsempireT 1 Reply Last reply Reply Quote 0
                                    • tsempireT
                                      tsempire @d.healey
                                      last edited by

                                      @d-healey

                                      The best thing would be to have a Glide button with a range from 0 to 100% to adjust it.
                                      For example, when pressing and holding the C3 key, the next note (E3) should glide or pitch upwards.
                                      Okay, I understand that Sampler1 doesn’t work with this — I see the problem. But how can we make it work with Sampler1?

                                      d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @tsempire
                                        last edited by

                                        @tsempire said in How to add Portamento:

                                        should glide or pitch upwards.

                                        How do you define "glide".

                                        @tsempire said in How to add Portamento:

                                        But how can we make it work with Sampler1?

                                        That's what we're discussing. First we need to define what it is we want.

                                        Free HISE Bootcamp Full Course for beginners.
                                        YouTube Channel - Public HISE tutorials
                                        My Patreon - HISE tutorials

                                        tsempireT 1 Reply Last reply Reply Quote 0
                                        • LindonL
                                          Lindon @tsempire
                                          last edited by

                                          @tsempire sounds like you might be looking for this post:

                                          https://forum.hise.audio/topic/13092/legato-glide-portamento-whatever-else-you-want-to-call-it-in-synth-style?_=1759853897863

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          tsempireT 1 Reply Last reply Reply Quote 0
                                          • tsempireT
                                            tsempire @d.healey
                                            last edited by

                                            @d-healey

                                            I think the Glide should work like a pitch wheel when you move it upward, the note’s pitch rises. It should be a knob that goes from 0 to 100% to control how strong the effect is.

                                            That means when playing a melody on the keyboard, the first note doesn’t glide, but when the second note is played, it creates a pitch bend. The longer you hold the note, the more the pitch smoothly returns back to 0%.

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            22

                                            Online

                                            2.0k

                                            Users

                                            12.8k

                                            Topics

                                            110.6k

                                            Posts