R/consonaR.R
ratio2cents.Rd
Converts a vector of ratios to a vector of the corresponding cents values
ratio2cents(ratio)
a numeric vector of ratios
a numeric vector of the corresponding cents values
i <- seq(0, 12) print(ratio2cents(2.0 ^ (i / 12.0))) #> [1] 0 100 200 300 400 500 600 700 800 900 1000 1100 1200