Skip to content

Gammatone and modulation filterbanks in C++ (plus MEX files for MATLAB)

License

Notifications You must be signed in to change notification settings

jfsantos/AuditoryFilterbanks

Repository files navigation

AuditoryFilterbanks

Gammatone and modulation filterbanks in C++ (plus MEX files for MATLAB/Octave)

These are multithreaded implementations of gammatone and modulation filterbanks using C++11 and Eigen. This repository also includes MEX wrappers for MATLAB and Octave.

Build instructions

Clone the repository and then do as follows:

cd AuditoryFilterbanks
mkdir build
cd build
cmake ../
make

Eigen must be in your default include path (or wherever you configured CMake to look for include files). On Linux, you can probably install it using your package manager (in Ubuntu/Debian, the package is called 'libeigen3-dev'). For OS X, it is available from Homebrew. In case you use Windows, you probably have to download the library yourself.

For building the MEX files for Octave, use the build.sh scripts included in the wrapper folders. For building MEX files for MATLAB on Windows, you will need a recent version of Microsoft Visual Studio that supports C++11 (VS2013 should do the job). I needed to use the Source.def files to compile the MEX files directly from Visual Studio (you may need to do that if your MATLAB version does not support the Visual Studio version you have installed).

About

Gammatone and modulation filterbanks in C++ (plus MEX files for MATLAB)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published