f2bark: Convert between frequency in Hz and in Bark

View source: R/hqmisc.R

f2barkR Documentation

Convert between frequency in Hz and in Bark

Description

Convert between frequency in Hz and in psychoacoustic Bark units

Usage

f2bark( hz )
bark2f( bark )

Arguments

hz

a frequency in Hertz (cycles per second).

bark

a frequency in Bark units.

Details

These functions convert between the linear Hertz and psychoacoustic Bark scales. The functions use Formula (6) of Traunm├╝ller (1990).

Value

Transformed value(s) in Bark or Hertz units.

References

Traunm├╝ller, H. (1990). Analytical expressions for the tonotopic sensory scale. Journal of the Acoustical Society of America, 88(1), 97-100.

See Also

f2st, st2f, f2mel, mel2f.

Examples

f2bark( c(1,3,5)*500 )
bark2f( 12 )

hqmisc documentation built on May 9, 2022, 5:08 p.m.

Related to f2bark in hqmisc...