Collecting continuous ratings of audio file(s)


I’m working on a project where I need to collect continuous ratings of urge to move when listening to different audio files (or maybe all combined into one file). I’ve done some research and can’t seem to find much. Is this possible using PsychoPy? Perhaps using a slider or some other mechanism. And is it possible to collect ratings continuously?

Hi @Ksab22, yes that’s possible. You can capture slider ratings with the same rate as the frame rate of the screen the experiment is running on.

In case you are still looking for a starting point, you can take this as a blueprint:
continuousAudioRating.psyexp (12.3 KB)


Thank you so much! This is incredibly helpful. I really appreciate it

1 Like

Wow, this thread showed up at the perfect time for me. Thank you for sharing your code! Not a coding question per se, but I was wondering if you have any suggestions for how often to collect samples from participants in audio files that may be up to ten minutes long.

Hi @andersoc, from a technical standpoint, you could go up to the frame rate of the screen (as in the example), which will probably yield huge amounts of redundant data points. A more parsimonious approach would be to check every frame whether the marker position has changed from the last frame and only log a data point if it did. This way you’d have the maximum temporal resolution with the minimum of redundant data. Other than that, the appropriate sample frequency probably depends heavily on the conventions of your field.

1 Like

Thank you very much for the suggestion!