ianhussey / ImplicitAssociationTest

Implicit Association Test (IAT) programmed in PsychoPy [no longer maintained]
GNU General Public License v3.0
23 stars 13 forks source link

Adding Sound to IAT #7

Open nicballarin opened 6 years ago

nicballarin commented 6 years ago

Hello!

I've run into some issues trying to add a simple loop routine before the IAT starts that plays 1 of 2 songs. It either crashes after the music has played, or I get a screen with the categories in the 2 corners, but no stimuli, and I can't proceed at all. I've attached the psyexp file (via dropbox), if you could take a look and offer any advice, that would be much appreciated.

https://www.dropbox.com/s/ommb0agbmq2qexm/IATw%3Amusic.psyexp?dl=0

nicballarin commented 6 years ago

Just realized that's not too helpful without the stimuli and conditions files as it will just crash immediately. Here are those as well.

https://www.dropbox.com/sh/rx8agmd1nehd28f/AAApNdOX39jNLzF7lpTGRqwya?dl=0

ianhussey commented 6 years ago

By far the easiest way to extend this task is to edit the psyexp file in the psychopy builder and compile the py script from there, rather than editing the py file directly. The code generated by the builder is quite verbose and relatively hard to work with and bug test. A simple addition like this is very easy in builder.