The computational auditory signal processing and perception model (CASP): A revised model implementation
This is the repository for the implementation of the revised computational auditory signal processing and perception model (CASP). The toolbox is specifically designed to be integrated in the AFC toolbox for running psychoacoustic experiments in MATLAB.
Installation
It is a requirement to first install the AFC software package for mathworks MATLAB (Version 1.40 Build 0, Copyright (c) 1999 - 2014 Stephan Ewert. All rights reserved.) This is available at www.aforcedchoice.com
In the following it is assumed that you are familiar with the AFC toolbox and structures for running experiments with a listener and a model.
The revised CASP for AFC toolbox contains four folders that need to be added to the AFC toolbox:
- exp_model: This contains the experiment configuration files that tells the AFC that the 'subject' is a model and sets the experiment dependent model settings
- experiments: This contains all the necessary experiment files for the example tasks (intensity discrimination, forward masking, modulation detection). Here the procedure is defined, experiment is setup and signals are generated.
- model: This contains all the necessary model files. It has all the preprocessing and backend steps of the model. See the specific files for details.
- toolbox: This contains all the necessary auxiliary files and model stages necessary for running the experiments and model.
Running an experiment
To run an experiment you can either check the example experiments or you can easily implement your own experiment with CASP by simply using your AFC experiment files to run the experiment and specify CASP as the subject. For full details see the repository readme file.
The code is developed openly at https://gitlab.com/lpau/casp_forafc.git where you can access the latest version.
References
- Ewert, S. D. (2013). “AFC - A modular framework for running psychoacoustic experiments and computational perception models,” in The International Conference on Acoustics AIA-DAGA, Merano, Italy, pp. 1326–1329
- Jepsen, M. L., Ewert, S. D., and Dau, T. (2008). “A computational model of human auditory signal processing and perception,” The Journal of the Acoustical Society of America 124(1), 422–438
- Paulick, L.C., Relaño-Iborra, H., Dau, T. (2024). “The computational auditory signal processing and perception model (CASP): A revised version” bioRxiv 2024.07.31.605576; doi: https://doi.org/10.1101/2024.07.31.605576