HISE Logo Forum
    • Categories
    • Register
    • Login

    Change Note - In a Drum Instrument.

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 206 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.
    • MoidbM
      Moidb
      last edited by

      Currently Hise can Remap a note?

      I have a Kick -- Key Red -- on the note C1 but I want to move it to D1 using a button to change the position and color that instrument will now sound on.

      If possible, could someone give me an example?

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

        @Moidb You probably don't need to move the sample, just redirect the incoming note.

        if (Message.getNoteNumber() == 38)
            Message.setNoteNumber(36);
        

        Or probably better, use Message.setTransposeAmount() but you'll need to calculate the interval.

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

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

        53

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts