HISE Logo Forum
    • Categories
    • Register
    • Login

    truncate a note (addVolumeFade) *after* the note has ended

    Scheduled Pinned Locked Moved General Questions
    25 Posts 2 Posters 204 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.
    • LindonL
      Lindon @d.healey
      last edited by

      @d-healey yeah that works, but sadly it seems to add a distinct click to the start of every subsequent note...

      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 What's the fade time set to?

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

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

          @d-healey yeah I just worked that out if fade time = 0 then click, else no click...

          so well done - good work.

          HISE Development for hire.
          www.channelrobot.com

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

            @d-healey ok so (sorry to be a pain here..) this is all nice but....

            its using Artificial events, and now I want to add "legato" so:

            step 1:play note 1 (and hold) = plays
            step 2: play note 2 (and hold) = plays note that slides from note 1 to note 2
            step 3:release note 2 = plays a slide from note 2 back to note 1...

            So pretty standard stuff, and my way (and I think yours is similar) is in the note off at step 3 create a new note and slide it from 2 to 1....

            BUT: if we are using Artificial notes for our mono system - then I have no way of turning the new note generated at step 3 into an artificial version of itself...so our new note isnt joining our mono processing club...

            So my question is: in the mono code what value is Synth.isArtificialEventActive() adding?
            Why are we making it artificial at all? wont it work if we leave it alone? Just trying to understand the script...

            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 said in truncate a note (addVolumeFade) *after* the note has ended:

              now I want to add "legato"

              You're one of those moving the goal post feature creep clients, I see how it is 🤣

              @Lindon said in truncate a note (addVolumeFade) *after* the note has ended:

              Why are we making it artificial at all?

              We can't turn off real events so we have to make them artificial.

              I think what you're wanting can be done because I'm doing a similar thing in my legato script, but it's probably a little fiddly.

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

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

                @d-healey said in truncate a note (addVolumeFade) *after* the note has ended:

                @Lindon said in truncate a note (addVolumeFade) *after* the note has ended:

                now I want to add "legato"

                You're one of those moving the goal post feature creep clients, I see how it is 🤣

                damnit! I am!!! Let me take myself outside and shoot myself....

                HISE Development for hire.
                www.channelrobot.com

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

                  @d-healey

                  Actually thinking a bit more about this.....

                  if we are doing legato/glide - then this whole "stop the release sounding" thing might be a bit pointless - as we are sliding some new note into teh equation anyway...

                  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 Yes I think you're right

                    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 Lindon

                      @d-healey actually its simpler than even that I think.....

                      ..separate out mono behaviour from glide/legato behaviour.... so two scripts: mono followed by mono glide...

                      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 Let me know if it works, since we're not calling ignoreEvent I think you should be good.

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

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

                        17

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.5k

                        Posts