MaxMSP Help Turning off triggers
Okay, I'm pretty new to max and need help, I don't understand a lot of what is said to resolve issues. The patcher I made is to play notes or chords (which is what the switches are for) and can be transposed. When I try to play the notes by clicking, say 'q' on the keyboard, value of '113' it does send a bang to a trigger inside of the 'p notes for chords/melodies' encapsulation. Inside there is each chords, because 'q' or '113' is linked up with 'C Major' in my patcher it sends a bang to there. Inside 'p C Major' encapsulation is the delay system I created with a trigger to keep it playing. The only way I can turn that trigger off is by pressing the same keystroke. I do not want this. I want to press any keystroke that is NOT in use to turn it off, I guess this function is capable with the last output of the 'select' object I have encapsulated but I cannot seem to get it to work correctly... Overall I need help turning that trigger off that is playing, and making sure no other triggers turn on.
didnt look into the patch, but wht you need sound like a "solo" or "mono" system and is one of the exceptions where even i think that send/receive can be cool.
1. any new "key down" event should first go to something like
[t b 0]
[send allmythings]
before it activates its destination.
2. all of the possible destinations will have a [receive allmythings] in addition to it normal input.
now every new key press will first turn all running destinations off (including the ones which are already off, but who cares), before they trigger the one linked to it.
I got told to include...
'key'
'integer'
'trigger i b'
this didnt work
but i tried what you said (atleast i think i did) but got nothing still
Simple fix, don't know why I didn't see it, I just used the final output of the select object to send a '0' message to the triggers