hz2mel: Hz to mel

View source: R/math.R

hz2melR Documentation

Hz to mel

Description

Internal soundgen function: a temporary fix needed because tuneR::hz2mel doesn't accept NAs or vectors.

Usage

hz2mel(f, htk = FALSE)

Arguments

f

frequency, Hz

htk

algrithm

Examples

soundgen:::hz2mel(c(440, 220, NA))
freq = 1:10000
plot(freq, soundgen:::hz2mel(freq), type = 'l')

soundgen documentation built on April 4, 2025, 3:44 a.m.