# THE AUDITORY MODELING TOOLBOX

Applies to version: 1.1.0

Go to function

# takanen2013_periphery - Process the input through the model of periphery

## Usage

periphOutput = takanen2013_periphery(insig,fs,outputPlot);
periphOutput = takanen2013_periphery(insig,fs);


## Input parameters

 insig binaural input signal to be processed. Optionally, the output of the cochlear model by Verhulst et. al. 2012 can be used as well fs sampling rate outputPlot boolean value that defines whether the periphery model output at different frequency bands are plotted

## Output parameters

 periphOutput Structure consisting of the following elements periphOutput.left Left ear "where" stream output periphOutput.right Right ear "where" stream output periphOutput.fc Characteristic frequencies periphOutput.ventralLeft Left hemisphere "what" stream output periphOutput.ventralLeft Right hemisphere "what" stream output

## Description

This function processes the binaural input signal through the model of periphery presented by Takanen, Santala, Pulkki 2013, the model which consists of a nonlinear time-domain model of cochlea and model of cochlear nucleus. The processing contains the following steps:

1. the binaural input signal is processed with the nonlinear time- domain model of cochlea by Verhulst et. al. 2013 to obtain the velocity of basilar membrane movement at different positions
2. the obtained velocity information is half-wave rectified
3. the half-waves are replaced with Gaussian pulses centered around the local maxima of the half-waves
4. the frequency-dependent delays of the cochlea model are compensated