alter
alter(
@x ## required
) -> llll/null
Returns the difference, in tones, between the pitch value of @x
and its diatonic pitch name.
Arguments
@x
[int/float/llll] Numeric llll.(required)
Output
Difference in tones [llll/null]
warning
alter
is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, alter
will return null
without raising an error if required arguments are not provided.
Usage
alter(Db4) ## returns -1/2