EXP programs
Introduction
EXP programs are MATLAB programs for each auditory lab based on the EXP framework. The EXP framework is a MATLAB toolbox developed by Ruurd Lof. The framework is a collection of classes and functions that are the basis for Lab programs. The toolbox is mainly programmed object oriented programming style. It is modular with respect to the hardware that can be used.
Each lab program is created by defining a gui and a few sub classes of certain classes in the EXP framework.
Lab program example
An example of a Lab program is the TestLabProgram. All programs have the same basic structure:
Six objects (TestLab classes are starting with TL_) are created in a fixed order and linked by passing references to the objects.
programPar = TL_programParameters(version); hardwareSystems = TL_hardwareSystems(programPar); experiment = TL_experiment(programPar); trialRecordings = TL_recordingsHandler(programPar, experiment, hardwareSystems); player = TL_experimentPlayer(hardwareSystems, trialRecordings, programPar, experiment); guihandler = TL_guiHandler(player, programPar, experiment, hardwareSystems);
At last a GUI is launched with a link to the guihandler object.
TL_Gui(guihandler);
Program parameters
The programPar object ....
Hardware systems
The hardwareSystems object ....
Experiment
The eperiment object ....
Trial recordings
The trialRecordings object ....
Experiment player
The experimentPlayer object ....
Gui handler
The guiHandler object ....
The GUI
The Gui object ...