Latching a Key Down event

Searched for this, but I’m thinking it is more likely that I’ve got the wrong search terms.

Here’s what I’m trying to do.

I have a riser (“The Riser” plug in) that I’m syncing to tempo.I it mapped to the bottom key on the keyboard, and that note needs to be held for 2 or 4 beats before the Riser finishes and fades.

Here’s what I’d like to happen.

  1. I press and release the key and the key “latches” so that there is no key off event to The Riser.
  2. I want to be able to hit the same key again (or a different one) to unlatch the key event. For example, if I accidentally hit the key, I want to be able to have a key off event to stop the riser.

I suppose I could create a MIDI file and use a binding to the media player to play it, but this would be a set it and forget it - I couldn’t abort the key event if I had this setup.

Is there another solution that I’m missing?

Thanks to the big brain in advance for any help

Could you use midi filters to map the note on event to a CC, and then use midi filter to latch it? And do the same for the note off?

1 Like

I also suspect that putting the note-off into a timed binding might hold it. Just off the top of my head… haven’t tested it.

Here’s an easy way to toggle a note on and off - in this case, playing the C1 key toggles between sending a note-on (velocity=127) to the synth, and sending a note-off (implemented as a note-on with velocity=0).

– Jimbo

2 Likes

Hi Pat,

I’d use the sticky note filter on the MIDI route that had the key mapping included. It’s built for this kind of thing IMO. e.g Low A on piano latches and unlatches. You have to route your other notes on a different route.

Dave

2 Likes

Thanks everyone. Got it (and bookmarked it :slight_smile: ).

With the exception of the range filter, this worked perfectly for what I wanted. The range doesn’t matter in this application as that one key is the only thing routed to the plugin anyhow (it’s a noise riser), so that issue is moot. However, I’ll eventually want to get it to work… and I will… :slight_smile: There are some transpositions going on alongside the range mapping, and that’s probably the underlying issue.

1 Like