Stuck MIDI Notes Emulating the Orchid by Telepathic Instruments

Patrick Mattingly's icon
Orchid.amxd
amxd 14.69 KB

This patch is a chord maker patch, trying to emulate the Orchid by Telepathic Instruments, a device where you can hold down different buttons to get different chords on the left hand while playing single notes on the right hand. I am emulating the buttons by the lower keyboard keys. So far it is only making a major chord by using addition to add to the incoming note number another 2 notes.

If MIDI note 60 through 72 is played, it is a single note.

But if MIDI note 48 is held down it acts as a momentary switch, not a note, and makes a major chord.

Problem: Those extra notes created by addition for the chord stick if MIDI note 48 is released while still holding MIDI note 60 through 72.

How do I create the notes in a better way than by using addition? or silence the stuck notes?

Thanks.

TFL's icon

If I understand your patch correctly, you weren't too far and possibly just missed a chord between your [sel 0] and the [flush] at the very bottom (I didn't tested this though).

Here is another approach which I would define as "bruteforce" as as soon as a press or release of key 48 occurs, previous notes are flush. This might not be what you want but no precise behavior was described so this is what you'll get (+ a couple tricks to get the patch logic a bit more streamlined :) )

Max Patch
Copy patch and select New From Clipboard in Max.

If you want to be able to hold single notes while then pressing note 48 and triggering chords, or if you want chords to be released only when the note that triggered them is released (and not when you release note 48), then a different approach will be necessary, possibly based on [coll].

Patrick Mattingly's icon

Thanks for your help. This project is based on the Telepathic Instruments Orchid. The device has buttons on the left that do chord functions but I am using ordinary keyboard MIDI keys for those functions, not notes. Then the device has one octave of keys on the right for the notes and allows you to select bass accompaniment which I just added a -24 semitones for that function. But I need to have 8 of the left hand keys doing different chords and extensions like the Orchid device.

TFL's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I slightly changed the patch above to accept multiple chord selection keys (48 49 50) and have different chords for each of them, conveniently stored in an easily editable [coll].

Patrick Mattingly's icon

It doesn't work when I try it. Take a look at the Orchid keyboard by Telepathic Instruments to see what I am trying to do.

When C below middle C is held down and middle C is played, I should hear a chord. With your patch I don't hear a chord.

Thanks for your help!!!!

TFL's icon

For me the logic works (holding notes 48 to 50 allow to trigger different chords with keys 60 to 72), probably just the key mapping is wrong but surely you can address that yourself. Or maybe you're not on the right octave on your keyboard!

Patrick Mattingly's icon

With a restart of Live and my computer then your patch worked.

It brought to light a new issue that the chord activation button has to be pressed first before the note press and is not very dynamic in allowing casual presses and quickly converting from a single note then to a chord. I wonder if there is any route to making this more casually playable.

TFL's icon

It brought to light a new issue that the chord activation button has to be pressed first before the note press and is not very dynamic in allowing casual presses and quickly converting from a single note then to a chord. I wonder if there is any route to making this more casually playable.

This is the kind of detail I was thinking about when I said "This might not be what you want but no precise behavior was described so this is what you'll get".

What you want can definitely be done, it's a matter of storing the currently pressed notes and retrigger them when one of the chord-activation keys are pressed. It's mostly a matter of adding the [bag] object at the right place in the patch I provided and triggering that object with a bang after changing which door of the [gate] gets opened.