Programmatically messaging a specific inlet on a JavaScript-created object
Eric Lyon
Oct 02 2018 | 1:50 am
Greetings,
Is there a tight JavaScript methodology for sending messages into specific inlets of an object that was created with JavaScript code? The object might be a native Max object that has more than one inlet, or it might be an abstraction that needs to have messages sent not to the containing patcher, but into one of its inlets.
One could of course create a temporary message object, connect it to the inlet in question, set the message into the message object, bang the message into the desired inlet, disconnect the message object, and then remove it from the patcher. But that feels overly dramatic. It would be very enjoyable if a more direct approach were possible.
TiA,
Eric