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.
    • elemen8tE
      elemen8t @d.healey
      last edited by

      @d-healey https://we.tl/t-BsmZcjQkuk here is the link for the samples if you want to test :)

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

        @elemen8t My test was with a sampler and it's working here. If it works with a sine wave gen then it's possibly an issue with your sample map.

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

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

          @d-healey https://we.tl/t-ccNRUPJYjn here is a video which shows the problem

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

            @elemen8t That script works by pitch shifting the original sample, it doesn't trigger other samples.

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

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

              @d-healey Ah okay yes that would explain the problem.

              Why does it do that tho and can I change that in the script?

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

                @elemen8t

                Why does it do that tho

                That's what was requested when I wrote the script. It was intended to be used with synthy instruments using the waveform generator if I remember correctly.

                can I change that in the script

                You'd need to rewrite the script, it doesn't have the functionality already to do what you want. I have another script that does it. It's GPL licensed so can only be used in GPL projects.

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

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

                  @d-healey Alright thanks a lot. If anybody has a glide script for the sampler engine let me know. :)

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

                    @Christoph-Hart Do you have an idea?
                    I did a bit of research on this Forum about this topic and came across your Post but the script did not work.

                    I need Glide/Legato for my Sampler and couldn't get it to work.

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

                      @elemen8t It looks like Christoph's script works the same way as mine. I don't see any new notes being triggered, just a pitch fade.

                      Actually I might be wrong. I'll take a closer look.

                      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

                        Yeah his script does what you want, and it works.

                        HiseSnippet 1667.3ocyX8taSbDD+tjbtXW.AT9P+Rk1F0O3HEJ1IAnPDBm+hboN3FmlVopJzl6VauJ2s6o61KEWDR8MnuF8i8QnR8EpOAscl8N6a8EmfiIEvDg77282NytyLqaGIcYwwxHK6xGLHjYYeUmNCDp9a0mxEVM21x95NsnwJVDIk0lCBowwLOKa64eJxvt7BV5O+8S1j5SEtrbVVVGJ4trugGvU4ba23Ybe+codrC3AFZuViltRwVReYBfm4cpYERcOl1isGEUaNGK6R63wUxnNJphEC5rozaPm9xeVjp+g7X9Q9LjntUGvQors1pO22q8v8ZrkksS67c97o67a6zh6wGwOOBbCs.RtElw.64NOHU+B.IaCHsPJjtoSG2HdnJWBhmO1oo.RHcoPn1DJo5ZY+WNaIAEDpuLfdLa2HfXjAUuesZKSf+ao0qToR2DgqhKEDoXOoh8bQ0kp7pJkq75Jjhh51chxvUJR56yhlnXLAGcdFVUjDbDKZYxIT+D1HEgHv3g0RSWX0MciannTzTvUOOjkQuqz2CCW32OcRvJKxAe66ZtMUQw7RFOPuPVjhivwda1IvA6zrTYmsYwGqjgvQ6SkBgCORuDepZ7ST3UmLAP7XrzHlqDwb0.yqVWfiY0N2i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RIcoI9JRLLLjkOWbLy6.ot2efddpRNZbFnmFrTkQC+7A+iDFqoa4gXrCGmAYGwIvvm.GDi2Bxe5XvPti2xskTHC6KEb2wG0Chj85whLw9D2PanTvjl4btci8Y9LZrwrpeQiugKXznwmf8BEKt3uKeh4qO0IEtD8T.uM4sElt71a3orWFOza9o5gdW53c1ez26zP20yd9GAV8H0G344q5nevBA6U+9Bp6KSvGgL7saWCZ31AdTqKy7YdkvtQoz0FVXuCS3oIvB3YBqiz1YBqWP3JCoQgqTP3plBWsfv0LEtVAg2yT3HBK2gvG14YeW2Azddl.eGl92LwGdgqu40ngsX9HGWeITSy5rLc9ywzHoLn9ra5JmJo3LwjxbuUIEn4paj7EtoCVfgoqn4.PUn+scK6zBoI0KLMA1WFdj4KbcG2UmxvUlUCWcVMbsY0v6MqFd+Y0vGLqF9UuYCweCfMRTxfzdGVVsZuS5oP6cxOEZ8e7W3GKN
                        

                        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:

                          HiseSnippet 1667.3ocyX8taSbDD+tjbtXW.AT9P+Rk1F0O3HEJ1IAnPDBm+hboN3FmlVopJzl6VauJ2s6o61KEWDR8MnuF8i8QnR8EpOAscl8N6a8EmfiIEvDg77282NytyLqaGIcYwwxHK6xGLHjYYeUmNCDp9a0mxEVM21x95NsnwJVDIk0lCBowwLOKa64eJxvt7BV5O+8S1j5SEtrbVVVGJ4trugGvU4ba23Ybe+codrC3AFZuViltRwVReYBfm4cpYERcOl1isGEUaNGK6R63wUxnNJphEC5rozaPm9xeVjp+g7X9Q9LjntUGvQors1pO22q8v8ZrkksS67c97o67a6zh6wGwOOBbCs.RtElw.64NOHU+B.IaCHsPJjtoSG2HdnJWBhmO1oo.RHcoPn1DJo5ZY+WNaIAEDpuLfdLa2HfXjAUuesZKSf+ao0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LdVCr9lOojtYvkLI.5rh0KdFaPb0kHO13viQg..1isduqFB14xZH3yav2z4cATAppzkaudVg0NXpLxh6gOAYTd0RC5QMh+0uswLM5LpaPnTfXv9ZS0B+Rbn.bMGL7KwpAX3njCV10Jf644yZKg4Tw4WAD9O+K74I+Vig0BAdkryFe.pehjdYjoUGAG6.UGs5x8ChgANBaF.mkv4AgAQfRIcoI9JRLLLjkOWbLy6.ot2efddpRNZbFnmFrTkQC+7A+iDFqoa4gXrCGmAYGwIvvm.GDi2Bxe5XvPti2xskTHC6KEb2wG0Chj85whLw9D2PanTvjl4btci8Y9LZrwrpeQiugKXznwmf8BEKt3uKeh4qO0IEtD8T.uM4sElt71a3orWFOza9o5gdW53c1ez26zP20yd9GAV8H0G344q5nevBA6U+9Bp6KSvGgL7saWCZ31AdTqKy7YdkvtQoz0FVXuCS3oIvB3YBqiz1YBqWP3JCoQgqTP3plBWsfv0LEtVAg2yT3HBK2gvG14YeW2Azddl.eGl92LwGdgqu40ngsX9HGWeITSy5rLc9ywzHoLn9ra5JmJo3LwjxbuUIEn4paj7EtoCVfgoqn4.PUn+scK6zBoI0KLMA1WFdj4KbcG2UmxvUlUCWcVMbsY0v6MqFd+Y0vGLqF9UuYCweCfMRTxfzdGVVsZuS5oP6cxOEZ8e7W3GKN

                          err no it doesnt:

                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID150 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID162 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found {U2NyaXB0IFByb2Nlc3NvcjJ8b25Ob3RlT24oKXwzMzh8MTN8MjI=}
                          Script Processor2:! onNoteOn() - Line 13, column 22: NoteOn with ID180 wasn't found

                          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'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
                                            • First post
                                              Last post

                                            17

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts