The program freq2erb runs under DOS.  If you type

freq2erb 

the program will request a centre frequency in Hertz.  Enter 
the frequency, and hit return.  The program will then display:

1) The value of p; this is a parameter in the equation W(g) = 
(1+pg)exp(-pg) which defines the shape (intensity weighting 
function) of the main passband of the auditory filter.  g is 
the deviation from the centre frequency of the filter divided 
by the centre frequency.

2) The value of the equivalent rectangular bandwidth (ERB) of 
the auditory filter.

3) The ERB number.

There are two options.

If you type

freq2erb -n

the program will request an ERB number and will then give the 
associated centre frequency in Hz and quantities (1) and (2) 
above.

If you type

freq2erb -e

the program will request an ERB width and will then give the 
associated centre frequency in Hz and quantities (1) and (3) 
above.

For more information about ERB width and ERB number, see:

Glasberg, B. R., and Moore, B. C. J. (1990). "Derivation of 
auditory filter shapes from notched-noise data," Hear. Res. 
47, 103-138.
Moore, B. C. J. (1997). An Introduction to the Psychology of 
Hearing, 4th Ed. (Academic, San Diego).

Brian R. Glasberg and Brian C.J. Moore
