This documentation page applies to an outdated major AMT version. We show it for archival purposes only.
Click here for the documentation menu and here to download the latest AMT (1.6.0).
outsig = weightedaveragefilter(insig,weight,fs,timeconst)
insig | signal from which the average is computed. Optionally, can be the same as the weight resulting in self-weighted average |
weight | signal to be used as weight in the computation |
fs | sampling rate |
timeconst | time constant specifying the first-order IIR filter |
outsig | output signal |
This function computes the either the weighted or the self-weighted average of the input signal using a first-order IIR filter whose time constant is specified by the timeconst argument. More details about the conputation can be found in Pulkki, Hirvonen 2009 (Sec. 3.2.3)
V. Pulkki and T. Hirvonen. Functional count-comparison model for binaural decoding. Acta Acustica united with Acustica, 95(5):883 - 900, Sept./Oct. 2009.
M. Takanen, O. Santala, and V. Pulkki. Visualization of functional count-comparison-based binaural auditory model output. Manuscript in revision, 2013.