HISE Logo Forum
    • Categories
    • Register
    • Login

    addPitchFade() bug?

    Scheduled Pinned Locked Moved Bug Reports
    29 Posts 3 Posters 1.4k 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.
    • ulrikU
      ulrik @d.healey
      last edited by

      @d-healey said in addPitchFade() bug?:

      @ulrik I have the delay set to 7092

      and all pressed notes were affected? Wow, why does it not work for me, strange

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @d.healey
        last edited by

        @d-healey which commit are you on?
        I'm on latest develop commit

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

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

          @ulrik Yeah

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

          ulrikU 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @d.healey
            last edited by

            @d-healey said in addPitchFade() bug?:

            @ulrik Yeah

            same?

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

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

              @ulrik not working -in the same way yours isnt - here - so add the delay - set a pitch fade, hold down two notes, press play - only the first note is re-pitched...

              HISE Development for hire.
              www.channelrobot.com

              ulrikU 1 Reply Last reply Reply Quote 1
              • ulrikU
                ulrik @Lindon
                last edited by

                @Lindon Thank you for confirming! Which commit are you on?

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

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

                  @ulrik oh its quite old - I await teh filter display fix before I can move to anything recent.

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @ulrik ok so the culprit is this:

                    id = Synth.addNoteOn(1, n, 60, d*count);
                    

                    the pitchfade apparently doesnt happen until the note is playing...and as you are delaying the onset of the note - its not playing so its not happening..

                    if you replace that line with this:

                    id = Synth.addNoteOn(1, n, 60,0);
                    

                    it works as it should

                    HISE Development for hire.
                    www.channelrobot.com

                    ulrikU 1 Reply Last reply Reply Quote 0
                    • ulrikU
                      ulrik @Lindon
                      last edited by ulrik

                      @Lindon unfortunately yes, it would be great to assign the pitch fade to the event before it happens and it will remember that when fired
                      @Christoph-Hart would it be possible?

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @ulrik
                        last edited by ulrik

                        @ulrik in other words

                        we have the opportunity to set NoteOn and NoteOff delayed

                        local id = Synth.addNoteOn(1, n, 60, amount of delay in samples);
                        Synth.noteOffDelayedByEventId(id, amount of delay in samples);
                        
                        Could we have
                        Synth.addDelayedPitchFade(id, fade time, pitch, fine pitch, amount of delay in samples)
                        

                        or is it possible to achieve this, if so, how?

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

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

                          @ulrik said in addPitchFade() bug?:

                          or is it possible to achieve this, if so, how?

                          Why not use a timer?

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

                          ulrikU 2 Replies Last reply Reply Quote 0
                          • ulrikU
                            ulrik @d.healey
                            last edited by

                            @d-healey yes that is possible but I think it would be more accurate to work with sample delays as in above examples

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            1 Reply Last reply Reply Quote 0
                            • ulrikU
                              ulrik @d.healey
                              last edited by

                              @d-healey I still don't understand how you could make my example work with the delayed NoteOns, can you explain?

                              Hise Develop branch
                              MacOs 15.3.1, Xcode 16.2
                              http://musikboden.se

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

                                @ulrik I didn't change anything, other than the pitch knob's value. I'll make a video and you can tell me if I'm doing something wrong or misunderstanding.

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

                                ulrikU 1 Reply Last reply Reply Quote 0
                                • ulrikU
                                  ulrik @d.healey
                                  last edited by

                                  @d-healey and you had the DelayKnb set to a value as well?

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

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

                                    @ulrik Exactly as your snippet

                                    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

                                      Ah I just tested again, you're right, it's only shifting the first note.

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

                                      ulrikU 2 Replies Last reply Reply Quote 1
                                      • ulrikU
                                        ulrik @d.healey
                                        last edited by

                                        @d-healey thank you for checking again!

                                        Hise Develop branch
                                        MacOs 15.3.1, Xcode 16.2
                                        http://musikboden.se

                                        1 Reply Last reply Reply Quote 0
                                        • ulrikU
                                          ulrik @d.healey
                                          last edited by

                                          @d-healey as you said, I used a timer for the pitch fade part of the strumming

                                          STRUMMING WITH PITCHFADE

                                          HiseSnippet 1495.3oc2X0saaTDEd13rUwtzJJpB0KWEwEaprRsKkBRUP2DGmJqV2XkMMPEBUlr6w1CY8Lalc1zXPUpWxU7xvcbKu.7nz2.3Lytd85TmhqEEQYUTTlYN+7c9cNS5IEAPRhPRrpdv3XfX8A19i4pgsFRYbRmcHVWwNDhnic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e1X64YtDq0VLq+rBs5AdimBgm58bVnZXwFu7Pug.avvR2s+UdrjthQn1nRjSqUTvY3wWxt2i15oZuXAVpsH9wRH46KiDBYVjfmddjzwKIsee1YZ44jj03hLhNUh+7u6knfXe1OBkGhYDKLLB5IRX5L5oT+qdKF5OWTbp9d4Iu0VPY3RbeafK4FEluMZ9XQvqOQANKiHLMhplc.G8Tc4GnkX4oJzSNvQMMtLB9GapmEEhWKyCOeLtxbvHVw7t.i4yJdE6186iWeMEfqZu627tYvvxp+pYp+x193sola+LJ+iMqc9Z5ofyC.NH0Nulug41+iEct83Edt88BTn5O.mlHIVjLif8gQrCvhnjxa9jDbxT3j80Qyx62RPky8nWc+cQibt73SUoRSZwVizyKMSZPk2z6GZtjueX0+y89g2CJ1m4INUmfQeltOca9oPDdylAieDdaPeZZjZxtylK2UvEwCEbVP4.89fRxFL.jkw9bMnsTJblso6bcu8Abz+xIseh2ivjMpD8SvR5KZ9V+bu4FutgcFbczEfNu+1jtx+uaRuuHUw3CvWTIMW.iSY6i8FC.T6bNDom60ZEc+sr0MzqyZNxCMK9S7K+vl50V4G1bxg+qniQz.o3YAYStpySWyrCZ2by+Qlp1c0qcZ95yKiikvdVPvrh50X71KKie5xx3cVVF+rkkw6trL94KKieweOi5Kg1JUIFkUZRHc60171BKq1bJlkapHH+Ew5WhH.
                                          

                                          Hise Develop branch
                                          MacOs 15.3.1, Xcode 16.2
                                          http://musikboden.se

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

                                            @ulrik said in addPitchFade() bug?:

                                            @ulrik in other words

                                            we have the opportunity to set NoteOn and NoteOff delayed

                                            local id = Synth.addNoteOn(1, n, 60, amount of delay in samples);
                                            Synth.noteOffDelayedByEventId(id, amount of delay in samples);
                                            
                                            Could we have
                                            Synth.addDelayedPitchFade(id, fade time, pitch, fine pitch, amount of delay in samples)
                                            

                                            or is it possible to achieve this, if so, how?

                                            To be honest I'd like this too... in my case Im already running a timer - its a custom arp - so it would be MUCH more convenient to not have to fiddle with the timer to get this effect - or add a second timer... ugly...

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            17

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.5k

                                            Posts