A newer version of Max is available. Click here to access the latest version of this document.

inlet

Receive messages from outside a patcher

Description

inlet can be used within a patcher to receive messages from outside the patcher wherever it is embedded. Each inlet object in a patcher will show up as an inlet at the top of an object box when the patch is used inside another patcher (as an object or a subpatch). Messages sent into such an inlet will be received by the inlet object in the subpatch. A patcher can have a maximum of 250 signal inlets. The number of data inlets is a much bigger number than that.

Arguments

None.

Messages

(mouse) Double-clicking on an inlet object will open the parent patch or bring it to front.

Attributes

Name Type g/s Description
comment object Sets the mouse-over Assistance message for the inlet. This value can only be set using the Comment setting in the inlet object's Inspector.

Information for box attributes common to all objects

Output

anything: In a subpatch inlet sends out whatever messages it receives through patch cords from the patch that contains it.

Examples

Inlets of the subpatch... correspond to the inlet objects in the subpatch

See Also

Name Description
bpatcher Embed a visible subpatch inside a box
outlet Send messages out of a patcher
pcontrol Open and close subwindows within a patcher
receive Receive messages without patch cords
send Send messages without patch cords
Max Basic Tutorial 14: Encapsulation Max Basic Tutorial 14: Encapsulation