• Is there a clever way to deal with overlapping MIDI notes?

    6
    0 Votes
    6 Posts
    301 Views
    W

    I have found a simple solution with the MidiList object:

    When a Note On command comes in, then in a MidiList the index of the pressed key is set to the value of the note that is output. e.g. I press key 60 which is not active but only the next key so "60 -> 61" is stored in the MidiList. When a Note Off command comes in, before the Note Off command is sent, it is first checked whether another key also has this value If no key has this value, a Note Off command is sent for the note and the key is set to -1 in the MidiList. If one or more keys have this value, the NoteOff command is not sent

    onInit()

    reg midiKeyList = Engine.createMidiList();

    onNoteOn()

    const receivedNote = Message.getNoteNumber(); var outputNote = getOutputNoteBySnapMode(receivedNote); midiKeyList.setValue(receivedNote, outputNote); sendNoteToMidiOut(outputNote);

    onNoteOff()

    const receivedNote = Message.getNoteNumber(); var outputNote = getOutputNoteBySnapMode(receivedNote); midiKeyList.setValue(receivedNote, -1); // set pressed Note in midiList to -1 if (midiKeyList.getValueAmount(outputNote) <= 0) { sendNoteToMidiOut(outputNote); }

    I hope you can understand it.
    Thanks guys

  • 0 Votes
    20 Posts
    739 Views
    A

    @d-healey That will work except with some edge cases, but will also double the count of components in the component list :face_with_tears_of_joy:

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • How do I create a visual midi preview?

    3
    1 Votes
    3 Posts
    288 Views
    clevername27C

    @Lumi283 Hit me up if you have any questions.

  • MIDI Learn 2024

    9
    0 Votes
    9 Posts
    330 Views
    Christoph HartC

    @aaronventure said in MIDI Learn 2024:

    How does this work with persistence?

    Midi Mappings are stored in a preset so you don't have to do anything. The JSON objects are just temporary objects that you need for manipulating the data model (or display stuff on the UI).

  • Connecting/Disconnecting a Table to a Modulator?

    Solved
    5
    0 Votes
    5 Posts
    281 Views
    clevername27C

    @d-healey Cheers mate - that did it - thanks!

  • Green Border When Editing a Table?

    Solved
    5
    0 Votes
    5 Posts
    216 Views
    clevername27C

    @d-healey That would be my problem, then. 🤪 Cheers, mate.

  • Sample Start Offset in Samples?

    Solved
    8
    0 Votes
    8 Posts
    357 Views
    clevername27C

    @d-healey said in Sample Start Offset in Samples?:

    Message.delayEvent(samples)

    OMG that's amazing!!! It doesn't require me to create artificial notes!!!!!! THANK YOU!

  • How to make a Panic Button (Send All MIDI Off)?

    Solved
    39
    0 Votes
    39 Posts
    2k Views
    ulrikU

    @WillDevelop Ok I see,

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Discrepancy Between Meter Levels?

    Solved
    9
    0 Votes
    9 Posts
    298 Views
    clevername27C

    @d-healey Thanks, Dave – you're right, the skew was the answer. For anyone experiencing the same issue, set the skew to 1.5.

  • Folders within Sample Folders?

    Solved
    3
    0 Votes
    3 Posts
    124 Views
    clevername27C

    @d-healey Thank you, Dave.

  • Custom custom keyboard :)

    8
    0 Votes
    8 Posts
    431 Views
  • Setting the Folder for SampleMaps and Samples?

    Solved
    10
    0 Votes
    10 Posts
    356 Views
    clevername27C

    @d-healey Ah, I understand. Cheers, mate.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • Undo/Redo with Randomization?

    7
    1 Votes
    7 Posts
    598 Views
    trillbillyT

    Just giving a bump. Any help is appreciated.

  • Putting a clickable link on the UI.

    3
    0 Votes
    3 Posts
    271 Views
    B

    @orange Thankyou!

  • Set step size of button for pluginParameter ?

    Solved
    7
    0 Votes
    7 Posts
    292 Views
    d.healeyD

    @WillDevelop said in Set step size of button for pluginParameter ?:

    then there's nothing you can do about it, right?

    Open an issue on the github page and link to this thread.

  • Another Random Button with Lock Feature [Solved]

    20
    0 Votes
    20 Posts
    779 Views
    NatanN

    Final Snippet:

    HiseSnippet 1402.3ocuX0naaaCDlJIZMVstqEXO.ZEX.1KcA1dccCvKXt4uNileLpyJZQQWGiDcLQjIMnnRsWVdW1iReJ1ywdC1NJIaQ4J4HajTmffHd22ce2w6nNyNBtCw2mKPFkNY7PBx3dlcGyj82oOlxPs2EYbeyCw9RhvNZosGOD66SbQFFq9b0BFkVCE94e+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Hkum4z29sDArFZMeiJLsi5izb7aVPnZd8OTP+s16hkX0vuwEbPQ3PhPRU02F6Rt.9lDQiBWxbWh+4R9PjQ4oudBJdxMV+RyTuUBMJozh1ZbxC+dKe7Ej1rNBBbXhZNZBCCsQpY9OffEL0RT+C4C.GhE.RiUPEhAkMSbecc++FM++wy9r3+FZ9+ihaR+u10dpPNQNh0ZQrStQPgsi9YE4vIawBaqb40L1Z8BbRRNrpUPK+fd8niTGW+MnATWWORGtOU8diDHsaM.mxBvWgeXWX2W+6quXTJ2f61hRqUrS9xIQ82iasvFK2PbFisdANWLud7+5y+92jyayqs+ljRe5EW7.k+C7vxz2ih5xihEnbi9kWntfBF39w5V9F6xUJJEenYGpzoe1bbkL3H7pqaCNFekTkM2qWOhiLgfqYt+quct+IzK4ARJ6LXPZgprv7nfAc4ABGB3cFi3ol3DN5WAM74ZSlcnKg4F9v+AehEVexXIJg0mHDM.6H3u2IZfA0kdsd3J.mXg22GT2pd1NYDCyZaVSUdReuiiJ7+NXb0rwzXIv78KAlmrDX9gk.ySWBL+3Rf4mlKF0X.OKPxGD0N.KzYuvY1LL1KbNgvpPz+C9ikH0A
  • String Concatenation Using the '+' Operator

    Solved
    3
    0 Votes
    3 Posts
    193 Views
    M

    @ulrik "Thank you for taking a few minutes to address my issue. I understand it was a very simple matter, but I was stuck on the syntax. Thanks again."

16

Online

1.8k

Users

12.1k

Topics

105.8k

Posts