noteFromFF(x, diapason = 440, roundshift = 0)
round
.
A higher value means that roundshift
x
given the value of diapason
.
For example: 0 indicates diapason a, 3: c', 12: a', ...round(12 * log(x / diapason, 2) + roundshift)
.FF
, periodogram
, and tuneR for a very complete example.