inlet
inlet() -> llll/null
danger
inlet
only works as intended in Max and should not be used in bellplay~ to avoid unexpected behavior.
Returns the number of the inlet that triggered the computation. This is always 1
, unless you set the @triggers
attribute to a different value. If the computation has been triggered by a trigger variable, rather than an inlet, the function returns 0
.
Arguments
Output
Number of the inlet that triggered the computation. [llll/null]
warning
inlet
is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, inlet
will return null
without raising an error if required arguments are not provided.