THE AUDITORY MODELING TOOLBOX

Applies to version: 1.6.0

View the code

Go to function

JOERGENSEN2011_MULTCHANSNRENV
calculates the SNRenv

Usage:

result =  joergensen2011_multChanSNRenv(signal,test,noise,fs,N,T)

Input parameters:

signal clean input signal
test distorted signal (by noise, reverb etc.)
noise noise signal, processed in the same way as the test signal
fs sampling frequency
N Number of samples in the input signals
T Duration in seconds of the input signals

Output parameters:

result struct containing the results

Description:

joergensen2011_multChanSNRenv calculates the SNRenv in 7 modulation filters in 22 Gammatone filters with 1/3-octave spacing.

The result struct contains the following fields:

.mod_fcs Center frequencies of the modulation filterbank
.outSNRenvs Matrix with an SNRenv value for each modulation filter in each gammatone filter;
.sEPSM_ExcPtns
 (Optional) Modulation excitation patterns