| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Sound: Filter (gammatone)...</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Sound: Filter (gammatone)... |
| 13 | </b></font></table></table> |
| 14 | <p>A command to filter a Sound by a fourth-order gammatone bandpass filter.</p> |
| 15 | <h2>Settings</h2> |
| 16 | <dl> |
| 17 | <dt><b>Centre frequency (Hz)</b>, <b>Bandwidth (Hz)</b> |
| 18 | <dd>determine the passband of the filter.</dd> |
| 19 | </dl> |
| 20 | <h2>Algorithm</h2> |
| 21 | <p>The impulse response of the filter is a 4-th order <a href="gammatone.html">gammatone</a>. The filter is implemented as the convolution of the gammatone with the sound. The gain of the filter is scaled to unity at the centre frequency.</p> |
| 22 | <h2>Remark</h2> |
| 23 | <p>The old implementation with a simple 8-th order recursive digital filter with 4 zeros and 8 poles (these 8 poles consist of one conjugate pole pair to the 4-th power) as suggested by <a href="Slaney__1993_.html">Slaney (1993)</a> was not stable for low frequencies. </p> |
| 24 | <hr> |
| 25 | <address> |
| 26 | <p>© djmw 20170829</p> |
| 27 | </address> |
| 28 | </body> |
| 29 | </html> |