Skip to main content

directin

directin(
@inlet ## required
) -> llll/null
danger

directin only works as intended in Max and should not be used in bellplay~ to avoid unexpected behavior.

Receives data during evaluation from one direct inlet. It is useful for setting up lambda loops. Unlike what happens with its corresponding pseudovariables $di<n>, providing code containing the directout() function does not create automatically the direct inlet. For this reason, it is generally necessary to set the @directins object argument.


Arguments

  • @inlet [llll] (required)

Output

Value of direct inlet. [llll/null]

warning

directin is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, directin will return null without raising an error if required arguments are not provided.