Skip to main content

directout

directout(
@outlets ## required
<...> ## required
) -> llll/null
danger

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

Outputs data from one or more direct outlets. The data are output as the function is evaluated. The return value of directout() is the last llll output. Unlike what happens with its corresponding pseudovariables $do<n>, providing code containing the directout() function does not create automatically the direct outlets. For this reason, it is generally necessary to set the @directouts object argument.


Arguments

  • @outlets [llll] (required)
  • @<...> [positional arguments] (required)

Output

Output data [llll/null]

warning

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