HISE Logo Forum
    • Categories
    • Register
    • Login

    Note Off from Note On?

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 114 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.
    • VirtualVirginV
      VirtualVirgin
      last edited by

      I have some situations where I need to transform Note On to Note Off messages.

      For starters, I am just trying to generate the Note Off messages from Note On, but I do not see a clear way to do this.

      I have tried this, but it does not do anything to the messages:
      Screenshot 2024-10-29 at 2.25.17 PM.png

      I thought this would output a Note On and Note Off message simultaneously for each Note On received.

      Is there some other method to use to create Note Off from Note On?

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

        @VirtualVirgin Change the velocity to 0, most hosts count this as note off

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

        VirtualVirginV 1 Reply Last reply Reply Quote 1
        • VirtualVirginV
          VirtualVirgin @d.healey
          last edited by VirtualVirgin

          @d-healey said in Note Off from Note On?:

          @VirtualVirgin Change the velocity to 0, most hosts count this as note off

          Thanks!
          Yes I forgot to try this.
          My only concern is situations where it may be needed that the messages are distinctly categorized as "note off" as opposed to "note on". I can't think of exactly where it would be crucial, but I may find out down the road a bit.

          In HISE it seems that the note on of velocity 0 remains in the note on category, so when I do subsequent processing with MIDI script modules, the notes will still be going to the "onNoteOn" callback, instead of getting forwarded to the "onNoteOff".
          No so terrible as I can treat those by using filter for == 0 velocity in the "onNoteOn" callback, but maybe a bit messy to have note offs appear in two different places.

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

          26

          Online

          1.7k

          Users

          11.8k

          Topics

          102.3k

          Posts