HISE Logo Forum
    • Categories
    • Register
    • Login

    Legato/glide pitch to high

    Scheduled Pinned Locked Moved General Questions
    29 Posts 3 Posters 1.2k 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 @Lindon
      last edited by

      @Lindon I'm not seeing any of that.

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

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @d.healey
        last edited by

        @d-healey said in Legato/glide pitch to high:

        @Lindon I'm not seeing any of that.

        press a note , press another, release the second note, press the second note again.....

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon Yup I see it now. But apart from that it works :p

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

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @d.healey
            last edited by

            @d-healey said in Legato/glide pitch to high:

            @Lindon Yup I see it now. But apart from that it works :p

            yeah apart for it not working properly - it works.

            Except of course its also not doing the press note 1, press note 2 - glides to note 2, release note 2 - fails to glide back to held note 1.

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon I don't think a retrigger mode is intended in that script. The note off is just resetting the ID.

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

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey there be the problem then...

                HISE Development for hire.
                www.channelrobot.com

                elemen8tE 1 Reply Last reply Reply Quote 0
                • elemen8tE
                  elemen8t @Lindon
                  last edited by

                  @Lindon @d-healey

                  yes I have the same issue, how can I fix that?577babac-d85b-47ae-8872-a6857b11d2f5-image.png

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

                    @elemen8t said in Legato/glide pitch to high:

                    yes I have the same issue, how can I fix that?

                    The script needs some work.

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

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

                      Fixed

                      Content.setWidth(200);
                      
                      reg on;
                      reg lastId;
                      reg lastNote;
                      
                      const knbGlideTime = Content.addKnob("GlideTime", 0, 0);
                      knbGlideTime.set("text", "Glide Time");
                      knbGlideTime.set("mode", "Time");
                      knbGlideTime.setRange(10, 100, 1);
                      function onNoteOn()
                      {
                      	local n = Message.getNoteNumber();
                      	local eventId = Message.makeArtificial();
                      
                      	if (isDefined(lastId))
                      	{
                      		local delta = lastNote - n;
                      		
                      		Synth.addPitchFade(lastId, knbGlideTime.getValue(), -delta, 0);
                      		Synth.addVolumeFade(lastId, knbGlideTime.getValue(), -100);
                      		
                      		Message.setCoarseDetune(delta);
                      		Message.setGain(-99);
                      		
                      		Synth.addPitchFade(eventId, knbGlideTime.getValue(), 0, 0);
                      		Synth.addVolumeFade(eventId, knbGlideTime.getValue(), 0);
                      	}
                      	
                      	lastNote = n;
                      	lastId = eventId;
                      }
                      function onNoteOff()
                      {
                      	local n = Message.getNoteNumber();
                      
                      	Message.makeArtificial();	
                      	
                      	if (!Synth.getNumPressedKeys() || n == lastNote)		
                      		lastId = undefined;		
                      }
                      function onController()
                      {
                      	
                      }
                       function onTimer()
                      {
                      	
                      }
                       function onControl(number, value)
                      {
                      	
                      }
                      

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

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

                        And here it is with a little envelope attack "fixed amount fiddling" to get a more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kY.UEEnyMV7IKPG9BeQwrNS9R6F7WRAn099BV8BpqujGA+0.hc2RgXeJzCULT5cpQxfQaPfsnmPNBanKov6CIc2t8sGOoEEX5sgIy.cWn0kt.CoMyml.sYihr0.Z9mLcctTbwqJ18bxf3tZ1PwdtBXHlac+CMJmQMv7MS.lWFKmQEiXMAP8Zr7jNs1oD720q8h50R.zJlCtoTlXwPkLX8V3gpWqNBGhzjGBFL3ljaBL0Vv1UE2uYifVjfVsnkFOPfKLfeQjh07VyF6c2zzUq04p0mOr6b1rYf7t9KA58rWCM56oZwKA+c8YA.eNmhDewbTg1y8Dr.xO80Cfn4PoG6tSB3B0T2Itv2.05Xu3VbzPHIb2FZwe88kI7fq1MvdVOGTewN0MP0mblfwlwuyoEOhu9bv7WMVMvn7Oa1v9+1uE2hr.7VwtxTkMR3FeAYGbhad2KAT9KAz6MvKArwR9R.gpq8z32wj3k7t.+SrquG8mMeWfztHheWfDxeSu7uKvPtmeHbIXxQ9PDFheF5SARIFWfJ7RnJtGWbIy8bo9U9wBC5V2SKLT1SKjBE9s5mVn66dZg28zB+O+SKT.BrcoPfW40BB7OH6gO0IP9MNwo3wX42WOBbtE5+lapZeLRS5LMutsc661Fykx+FGGzbemNVVkKS2kPl6uDxr0RHy1KgLOXIj4yWBY94yUFDX3iiTR+3qhv.8OH98BpbP16EX8uwNdOnA
                        

                        HISE Development for hire.
                        www.channelrobot.com

                        elemen8tE 1 Reply Last reply Reply Quote 1
                        • elemen8tE
                          elemen8t @d.healey
                          last edited by

                          @d-healey Thank you very much, the script is fixed and there is no error anymore. But it is not working for me, there is no Glide effect.

                          1 Reply Last reply Reply Quote 0
                          • elemen8tE
                            elemen8t @Lindon
                            last edited by

                            @Lindon Sounds really awesome! I sadly need it for the sampler at the moment and not for the sine wave generator but nice work. :)

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

                              @elemen8t said in Legato/glide pitch to high:

                              @Lindon Sounds really awesome! I sadly need it for the sampler at the moment and not for the sine wave generator but nice work. :)

                              the script doesnt care where you put it - so just load it into a script processor in your the sampler...

                              HISE Development for hire.
                              www.channelrobot.com

                              elemen8tE 1 Reply Last reply Reply Quote 0
                              • elemen8tE
                                elemen8t @Lindon
                                last edited by

                                @Lindon oh damn ur right. Thanks very much sorry I am new to this :grinning_face_with_sweat:

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

                                  @elemen8t no problem.

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                  15

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  102.7k

                                  Posts