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 can you try with some delay set 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 I have the delay set to 7092

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

                                            16

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.5k

                                            Posts