Accueil › Forums › Vos projets › A few questions › Re: A few questions
Cunning, maybe. Smart, creative, resourceful — for sure! I’ll bet Guillaume is hiding behind his workstation right now ginning up a more elaborate way to handle trigger groups! :–)
@Softcore wrote:
…My problem however was that each time the specific trigger is triggered, the message is being re-sent to Iannix causing havock.
No problem: Max has some very idiomatic ways to handle that. This is a common problem. For example: You want to sequence MIDI note-off messages in a polyphonic context, so when you lift a key, you want to turn off that pitch, but only on the polyphonic voice that is most recently sounding it. So, the voice ID becomes the index with which to associate a note-off message.
Yes, you could also use some js. Just do an associative array (dictionary) with the id as index. I personally prefer writing Java, js, or C over creating Max-patch spaghetti, but it’s good to become familiar with the builtins.
For standard Max built-ins, have a look at [coll] and [funbuff] (I’m not sure, but I think one of the tutorials or examples shows those very same objects in a note-off application). In 3rd party externals, Peter Elsea’s LObjects are perfect for all kinds of list operations, index-object pairs, lookups, etc., types of things.
Cheers,
–Bob
© IanniX Association
Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos
Cookie | Durée | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |