Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Playing a list of audio files

edited February 2012 in OpenSesame

I'm running an auditory discrimination test. There are a couple of sound stimuli but the soundfile column only reads one.
How do I get the sampler to play them at random?
I am aware of the other discussion ( but I have no idea how to add a [soundfile] column to the loop.


  • edited 1:45AM

    Ok, I think I know how to add the add the [soundfile] variable to the loop. The variable is named stimulus and I keyed the file names (e.g. pair 0_0, pair 0_10) in the loop under variable. I get the error runtime error with the description:failed to load sample in sampler 'stimulus':openexp._sampler.legacy.init() the file 'pair 0_10' does not exist. What went wrong? Thanks.

  • edited 1:45AM

    Figured it out. I left out the .wav when I entered the files. Thank you for this tool!

  • edited 1:45AM

    Hi Xuan,

    Thanks you for your interest in OpenSesame. And good to hear you figured it out by yourself!


    There's much bigger issues in the world, I know. But I first have to take care of the world I know.

Sign In or Register to comment.