asf is a tool for presenting visual, auditory, and tactile stimuli in behavioural experiments under Windows, Linux and OSX using the Psychophysics Toolbox www.psychtoolbox.org and Matlab. It provides a framework for connecting with data acquisition devices such as MRI- and MEG/EEG scanners, and with stimulation devices such as TMS and tactile stimulators.
ASF is described in Schwarzbach, J. (2011). A simple framework (ASF) for behavioral and neuroimaging experiments based on the psychophysics toolbox for MATLAB. Behav Res 43, 1194-1201. [pdf] (https://github.com/jvschw/asf/blob/master/documentation/Schwarzbach%202011%20BehavResMeth%20ASF.pdf)