Last chance! 50% off unlimited learning
Sale ends in
Perform frequency scale conversions between Hertz, Bark- and different variants von the Melscale.
bark2hz(z)
hz2bark(f)
hz2mel(f, htk = FALSE)
mel2hz(z, htk = FALSE)
Frequency in Hertz
Frequency in the auditory frequency scale
Use the HTK-Melscale (htk = TRUE
) or Slaney's Melscale from the
Auditory Toolbox (htk = FALSE
)
The value of the input in the target frequency scale.
Daniel P. W. Ellis: http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/, Malcolm Slaney: Auditory Toolbox
# NOT RUN {
hz2bark(440)
bark2hz(hz2bark(440))
hz2mel(440, htk = TRUE)
mel2hz(hz2mel(440, htk = TRUE), htk = TRUE)
hz2mel(440, htk = FALSE)
mel2hz(hz2mel(440, htk = FALSE), htk = FALSE)
# }
Run the code above in your browser using DataLab