audiovis

audiovis: a general audio visual stimulus presentation script using expyriment

christophe@pallier.org

audiovis.py plays audio or visual stimuli listed in csv files passed as command line arguments (several csv files can be listed: they will simply be merged)

Each csv file must contain 3 columns:

Try:

python audiovis.py  sounds/list1.csv  pictures/list1.csv  speech/list1.csv 

and

python audiovis.py  rsvp/list1.csv sounds/list1.csv

Note: you can always press Esc to interrupt the script.

To get the list of options:

python audiovis.py -h

For example, it is possible to display a picture, e.g. containing instructions, using the –splash option. The computer will display this picture and then wait for the participant to press the spacebar to start the experiment.

python audiovis.py --splash instructions.jpg --text-font TITUSCBZ.TTF --background-color 127 127 127 -- rsvp/list1.csv sounds/list1.csv

or

python audiovis.py --splash instructions.jpg rsvp/list1.csv sounds/list1.csv

and change the font, or the background color (not working so well now)

Christophe Pallier