Forum

    • Register
    • Login
    • Search
    • Categories

    Feature request discussion - Message.isNoteActive(id)

    Feature Requests
    3
    6
    59
    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.
    • d.healey
      d.healey last edited by d.healey

      @Lindon Currently I manage this by setting any events I've killed to -99. But I agree that having a dedicated function would be much nicer. Especially when dealing with events generated/killed by other scripts.

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

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

        @d-healey said in Feature request discussion - Message.isNoteActive(id):

        @Lindon Currently I manage this by setting any events I've killed to -99. But I agree that having a dedicated function would be much nicer. Especially when dealing with events generated/killed by other scripts.

        -yeah - thats all fine - execept there are several scenarios where downstream activities "kill" the note - and the upstream script isnt aware of it... so having this function would be super useful - which is sorta what you said I realise - now I've re-read your post.....

        HISE Development for hire.
        www.channelrobot.com

        1 Reply Last reply Reply Quote 1
        • Christoph Hart
          Christoph Hart last edited by

          You just need that function for artificial events, yes? Because if you kill a note at some place they have to be made artificial anyways.

          I'm asking because then it's a trivial operation but checking the state of a "real" note by the event ID would be much more costly because of the data structure difference of the containers I use.

          Lindon 1 Reply Last reply Reply Quote 1
          • Lindon
            Lindon @Christoph Hart last edited by

            @Christoph-Hart - well I'm assuming(always a bad idea) that its just using the point where HISE issues the warning message about the note id not being found... so wherever that is, which I guess is artificial notes...

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon He implemented it already 😛

              https://github.com/christophhart/HISE/commit/6806cb70a991b7755cfb98f8ebb0fed22406bfab

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

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

                @d-healey -typical me, always late to the party...:)

                HISE Development for hire.
                www.channelrobot.com

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

                16
                Online

                985
                Users

                6.6k
                Topics

                60.8k
                Posts