This contains several basic demos/examples of stimulus scripts written using PsychToolbox.
demo_audio.m : Basic play audio
demo_display.m : Basic display config & use
demo_keyboard.m : Basic keyboard input
demo_keyboard_kbqueue.m : More advanced keyboard input using a queue
demo_meg_photodiode.m : Example flashing square for synchronizing with the MEG photodiode
demo_movie.m : Basic play movie file
demo_recordaudio.m : Basic record audio
demo_trigger_Cogent.m : Basic wait for "Cogent" serial triggers
demo_trigger_Slice3ms.m : Basic wait for dummy volumes with "Slice3ms" triggers
NB DO NOT use KbTriggerWait() with "Slice3ms" triggers!
demo_trigger_Vol3ms.m : Basic wait for dummy volumes with "Vol3ms" triggers using KbTriggerWait()
mmn_audio.m : Example audio task
mmn_visual.m : Example visual task