The task was run on Matlab version 7, with Psychtoolbox version 3, and matlib (https://github.com/sgmanohar/matlib).
You will need to download the media files and either place them in ../../media/ContingentMedia (relative to where the Contingent.m file goes), or change the 'soundFolder' variable on line 121 in Contingent.m
Written/adapted by Dawn Finzi, Tim Sandhu, John Grogan, Sanjay Manohar.
Please contact john.grogan@ndcn.ox.ac.uk for issues.