a better search for max devices
MIDI Note Latch screenshot

MIDI Note Latch

by noach

Holds note(s) on until the same note(s) are pressed again, e...

View on maxforlive.com

Type
MIDI Effect
Author
noach
Version
1.0
License
None
Live version
8.1
Downloads
1,777
Updated
2009-12-02

Description

Holds note(s) on until the same note(s) are pressed again, effectively making a note into a toggle rather than a momentary switch. Latch is different from sustain, in that the on/off values of notes can be controlled individually. The patch demonstrates the use of midiselect and midiformat, stripnote, flush, pack and unpack, table, send and receive.

Two issues remain, for which I'd appreciate any help or comments: how to control presentation/patcher layers so that not everything is shown in the Live window, as now; and how to encapsulate the device so that it can be instanced on more than one track at a time.

Comments (9)

  • synnack · December 02 2009
    Hi Noach,
    To change it so that you only have the things you want in the device window, add those specific things to "presentation mode" in max, and under "patcher inspector" turn on the option to "open in presentation mode" by default.
    To change it so that you can have multiple instances, change your send / receive objects to this format [s ---Pitch], [s ---SetTable] and [r ---Pitch], [r ---SetTable] and so on. That will make those routing paths unique for each instance.
  • noach · December 08 2009
    Thanks synnack.
    Is there an RSS feed for this site?
    noach
  • newmiracle · March 04 2010
    This doesn't seem to work at all for me. I noticed that this was uploaded in December. Perhaps the new version of Live (and hence maxforlive) breaks it?
    I've been looking for this exact functionality, and I'd really like to use this.
    Any help?
  • newmiracle · March 10 2010
    Never mind, got it fixed. Works as advertised!
  • LP · May 12 2010
    Thanks, just what I need right now to get some oddly-programmed old midi footpedals on to my side!
  • dandeacon · February 29 2012
    this is so awesome. thanks so much!
  • ChanceD11 · November 09 2012
    This is useful, thanks! How could I change this to automatically turn off the previously latched note when I press the new one?
    I have 16 drum loops (4 bars each) set up in a drum rack. Your patch lets me latch each loop effortlessly.
    Except I have to remember which key I'm looping every time I launch a new loop, and UN-latch it.. getting the timing just right for the on/off switching is tricky.
    How can I have each incoming midi note clear the previous latch automatically? Any assistance or advice would be appreciated.. I don't program m4L yet.. :)
  • mots · October 04 2014
    Hello,
    about your questions :
    to make a "s" and "r" local to a patcher, just prefix the name with "---" like so r ---Velocity
    about opening in presentation mode, right click the background of your patch, select "patch inspector" and then activate "open in presentation". (how intuitive !)
    cheers
    mots
  • Calagan · October 10 2019
    Hi Noach
    Great device, specially that it looks like the only one existing that can do what it does.
    Is there any plan to fix the apparence ?

← Back to search