HISE Logo Forum
    • Categories
    • Register
    • Login

    How can I make it so a certain MIDI input note triggers a button?

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 140 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.
    • Y
      yeshuasaves
      last edited by

      Thank you!

      M 1 Reply Last reply Reply Quote 0
      • M
        mehmethand @yeshuasaves
        last edited by

        @yeshuasaves

        function onNoteOn()
        {
        	if (Message.getNoteNumber()==36) Button.setValue(1);
        }
        
        
        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @mehmethand
          last edited by

          @mehmethand said in How can I make it so a certain MIDI input note triggers a button?:

          function onNoteOn()
          {
          if (Message.getNoteNumber()==36) Button.setValue(1);
          }

          actually:

          function onNoteOn()
          {
          	if (Message.getNoteNumber()==36) 
                  {
                        Button.setValue(1);
                        Button.changed();
                  }
          }
          

          HISE Development for hire.
          www.channelrobot.com

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yeshuasaves @Lindon
            last edited by

            @Lindon Thank you! I just started with HISE yesterday. Would you mind explaining what the significance of 36 is? Does that correlate to a certain midi note? Also how may I assign a specific button to this?

            Apologies for my noob knowledge lol, thank you.

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

              @yeshuasaves ok so first step - watch all dave healeys youtube videos, and then subscribe to his patreon and watch all those...

              HISE Development for hire.
              www.channelrobot.com

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

              12

              Online

              1.7k

              Users

              11.8k

              Topics

              103.2k

              Posts