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 it doesn't help I'm afraid, and yes the id should be different for each note and the pitchFade function will get the right id before it's changed

      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 don't hear anything when pressing play

        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 you have to hold down some keys on your keyboard at the same time

          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 It works here. If I turn the pitch knob to max, hold two notes, and press play both notes are pitched up 12 semi-tones.

            I'm working on a guitar strummer at the moment. I hadn't thought of using delayed notes, it's a clever idea. I'm doing it using the synth timer.

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

            ulrikU 1 Reply Last reply Reply Quote 1
            • 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
                                            • First post
                                              Last post

                                            29

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.5k

                                            Posts