soundgen (version 1.5.0)

getBandwidth: Get bandwidth

Description

Internal soundgen function.

Usage

getBandwidth(f)

Arguments

f

a vector of formant frequencies, Hz

Details

Calculates formant bandwidth as a function of formant frequencies using a modified version of TMF-63 formula. Namely, above 500 Hz it follows the original formula from Tappert, Martony, and Fant (TMF)-1963, and below 500 Hz it applies a correction to allow for energy losses at low frequencies. See Khodai-Joopari & Clermont (2002), "Comparison of formulae for estimating formant bandwidths". Below 250 Hz the bandwidth is forces to drop again to avoid very large values near zero (just guesswork!)

Examples

Run this code
# NOT RUN {
f = 1:5000
plot(f, soundgen:::getBandwidth(f), type = 'l',
  xlab = 'Formant frequency, Hz', ylab = 'Estimated bandwidth, Hz')
# }

Run the code above in your browser using DataLab