f2bark {hqmisc} | R 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
Examples
f2bark( c(1,3,5)*500 )
bark2f( 12 )
[Package hqmisc version 0.2-1 Index]