View source: R/frequency_scales.R
| hz2mel | R Documentation |
Internal soundgen function: a temporary fix needed because tuneR::hz2mel doesn't accept NAs or vectors.
hz2mel(f, htk = TRUE)
f |
frequency, Hz |
htk |
if TRUE, uses an alternative formula 2595 * log10(1 + f/700) |
soundgen:::hz2mel(c(440, 220, NA))
freq = 1:10000
plot(freq, soundgen:::hz2mel(freq), type = 'l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.