Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Arctangent Approximations for $\rho ^*(f_s)$

This subsection provides further details on the arctangent approximation for the optimal allpass coefficient as a function of sampling rate. Compared with other spline or polynomial approximations, the arctangent form

\begin{displaymath}
\rho _{\mathbf\gamma}(f_s) \mathrel{\stackrel{\mathrm{\Delta...
...r\pi}\arctan(\gamma_2f_s)\right]^{{1\over2}}+\gamma_3 \right\}
\end{displaymath} (23)

was found to provide a more parsimonious expression at a given accuracy level. The idea was that the arctangent function provided a mapping from the interval $[0,\infty)$, the domain of $f_s$, to the interval $[0,1)$, the range of $\rho (f_s)$. The additive component $\gamma_3$ allowed $\rho _{\mathbf\gamma}(f_s)$ to be zero at smaller sampling rates, where the Bark scale is linear with frequency. As an additional benefit, the arctangent expression was easily inverted to give sampling rate $f_s$ in terms of the allpass coefficient $\rho _{\mathbf\gamma}$:
\begin{displaymath}
f_s= {1\over \gamma_2}\tan\left[{\pi\over2} \left(\frac{\rho _{\mathbf\gamma}- \gamma_3}{\gamma_1}\right)^2\right].
\end{displaymath} (24)

To obtain the optimal arctangent form $\rho ^*_{\mathbf\gamma}(f_s)$, the expression for $\rho _{\mathbf\gamma}(f_s)$ in Eq. (23) was optimized with respect to its free parameters ${\mathbf\gamma}=\{\gamma_1,\gamma_2,\gamma_3\}$ to match the optimal Chebyshev allpass coefficient as a function of sampling rate:

\begin{displaymath}
\rho ^*_{\mathbf\gamma}(f_s) \mathrel{\stackrel{\mathrm{\Del...
...rho _{\mathbf\gamma}(f_s)\,\right\Vert _\infty\right\}\right].
\end{displaymath} (25)

For a Bark warping, the optimized arctangent formula was found to be
\begin{displaymath}
\rho ^*_{\mathbf\gamma}(f_s) = 1.0674\left[{2\over\pi}\arctan(0.06583f_s)\right]^{{1\over2}}-0.1916,
\end{displaymath} (26)

where $f_s$ is expressed in units of kHz. This formula is plotted along with the various optimal $\rho ^*$ curves in Fig.4a, and the approximation error is shown in Fig.4b. It is extremely accurate below 15 kHz and near 40 kHz, and adds generally less than 0.1 Bark to the peak error at other sampling rates. The rms error versus sampling rate is very close to optimal at all sampling rates, as Fig.5 also shows.

When the optimality criterion is chosen to minimize relative bandwidth mapping error (relative map slope error), the arctangent formula optimization yields

\begin{displaymath}
\rho ^*_{\mathbf\gamma}(f_s) = 1.0480\left[{2\over\pi}\arctan(0.07212f_s)\right]^{{1\over2}}-0.1957.
\end{displaymath} (27)

The performance of this formula is shown in Fig.9. It tends to follow the performance of the optimal least squares map parameter even though the peak parameter error was minimized relative to the optimal Chebyshev map. At 54 kHz there is an additional 3% bandwidth error due to the arctangent approximation, and near 10 kHz the additional error is about 4%; at other sampling rates, the performance of the RBME arctangent approximation is better, and like Eq. (26), it is extremely accurate at 41 kHz.


Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download bbt.pdf

``The Bark and ERB Bilinear Transforms'', by Julius O. Smith III and Jonathan S. Abel, preprint of version accepted for publication in the IEEE Transactions on Speech and Audio Processing, December, 1999.
Copyright © 2007-05-10 by Julius O. Smith III and Jonathan S. Abel
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]