Skip to main content

approx

approx(
@pitch ## required
@tonedivision ## required
) -> llll/null

Returns approximated value of @pitch to the nearest tone division


Arguments

  • @pitch [llll] (required)
  • @tonedivision [llll] (required)

Output

Value of @pitch to the nearest tone division. [llll/null]

warning

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