google / carfac

Cascade of Asymmetric Resonators with Fast-Acting Compression (CARFAC) cochlear model.
Apache License 2.0
116 stars 43 forks source link
cochlea

CARFAC

The CAR-FAC (cascade of asymmetric resonators with fast-acting compression) is a cochlear model implemented as an efficient sound processor, for mono, stereo, or multi-channel sound inputs.

This package includes Matlab and C++ implementations of the CARFAC model as well as code for computing Stabilized Auditory Image (SAI) and pitchogram representations.

Web demo (click to open)

Pitchogram visualization

See the design doc for a more detailed discussion of the software design.

Links

Requirements

The Matlab implementation does not depend on any toolboxes.

The C++ implementation is built using the Eigen linear algebra library. Tests also depend on the Google C++ Testing Framework].

See cpp/SConstruct for instructions for building the C++ library and running tests using the SCons build tool.