Skip to main content

mc2f

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

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

Converts all the numbers (assumed to be MIDI cents) and pitches in an llll to frequency, with optional reference frequency and pitch.


Arguments

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

Output

The numbers (assumed to be midi cents) and pitches in an llll to frequency. [llll/null]

warning

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