Skip to main content

f2mc

f2mc(
@llll ? ## required
@basefreq 440
@basepitch 6900
) -> llll/null
note

f2mc is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.

Converts all the numbers in an llll from frequency to MIDI cents, with optional reference frequency and pitch.


Arguments

  • @llll [llll] (required)
  • @basefreq [int] (default: 440)
  • @basepitch [int] (default: 6900)

Output

The numbers in an llll from frequency to midi cents. [llll/null]

warning

f2mc will return null without raising an error if required arguments are not provided.