⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bark_hertz.3

📁 speech signal process tools
💻 3
字号:
.\" Copyright (c) 1998 Entropic, Inc. All rights reserved..\" @(#)bark_hertz.3	1.1 9/4/98 ESI/ERL/EG.ds ]W (c) 1998 Entropic, Inc..TH BARK_HERTZ 3\-ESPSsp 9/4/98.SH NAMEbark_to_hz \- Convert a Bark scale value to the equivalent frequency in Hertz..brhz_to_bark \- Convert a frequency in Hertz to the equivalent Bark-scale value..SH SYNOPSIS.ft Bdouble .brbark_to_hz (barkValue).brdouble	barkValue;.sp.br.ft Bdouble .brhz_to_bark (freqValue).brdouble	freqValue;.SH DESCRIPTION.PPThese functions are reciprocal functions that warp a linear-scaled frequencyvalue in Hertz to the equivalent Bark-scale value and back..PPThe frequency.I fin hertz corresponding to a Bark-scale value.I bis given by:.IP.if n \{\f = 600 sinh (b/6)\}.if t \{\.IR f " = 600 sinh (" b "/6)"\}.PPas shown in ref. [1].The conversion from a frequency value to a Bark scale value is done in theobvious manner byusing the inverse hyperbolic function..SH EXAMPLE.nfdouble bigNumber = MAXFLOAT, hertz, bark;/* bark_to_hz can exceed MAXDOUBLE */errno = 0;hertz = bark_to_hz(bigNumber);if (errno)  perror("bark_to_hz error");/* reasonable frequency values are fine */hertz = 5000.0;bark = hz_to_bark(hertz);printf("bark equivalent of 5000 Hz is %f", bark);/* This makes the variable hertz = 5000.0 */hertz = bark_to_hz(bark);printf("bark value converted by to hertz is %f", hertz);.fi.SH WARNINGSIn general, these functions should not be used with negative valued inputs.No checking is done, however, by these functions..SH BUGSNone known..SH SEE ALSO.nf\fImel_to_hz\fP(3-ESPS), \fIhz_to_mel\fP(3-ESPS), \fIbarkspec\fP(1\-ESPS).fi.SH REFERENCES.HP[1] S. Wang, A. Sekey, and A. Gersho,``An objective measure for predicting subjective quality of speech coders,''.I "IEEE Journal on Selected Areas in Communications,".BR SAC-10(5), 819\-829 (June 1992).sp.SH AUTHORCode extracted from \fIbarkspec\fP(1\-ESPS) by David Burton; manual page by David Burton.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -