psychopy.org | Reference | Downloads | Github

Staircase Procedure with Audio Files in Builder

We are trying to create an adaptive staircase procedure across pre-made sound files. In these sounds, tones are embedded in noise, with differing signal-to-noise ratios that are determined offline and stored in audio file. Participants indicate Yes/No to the question ‘did you detect a tone?’

I have created a *.csv file with the list of the audio files (decreasing in order of S/N difficulty). I would like to be able to use the startValue as an index with which to access the audio file names saved in the *.csv and have the level from Staircase move up and down the list to manipulate trial difficulty according to a participant’s response.

All is working except the indexing of sound file name to the staircase procedure. I’ve run into trouble in figuring out how to direct PsychoPy to load the appropriate audio file as a function of the level of the staircase procedure.

Thanks in advance for your guidance!

**OS
**PsychoPy version 3
Standard Standalone? (y/n) If not then what?:
**What are you trying to achieve?: