psychopy.org | Reference | Downloads | Github

Rename recorded responses

Dear,

Is there a way to name the recorded responses in advance ?. In other words, a participant in my experiment is required to listen to a series of sentences individually and repeat each sentence orally. In the output data file, I would like to have the names of recorded responses files as same as the names of audio files. For example,

If a participants listens to an audio file named ’ Cat’, the recorded repetition of this audio file should give mic-Cat.
I inserted a code component below the microphone component and in its Begin routine tab, I put the following codes because I have three stimuli:
mic.setFile(‘Cat.wav’)
mic.setFile(‘Door’)
mic.setFile(‘Table.wav’)
‘mic’ is the name of the microphone component.
However, I got the same problem; the names of recorded responses appeared with numbers.
Your help will be appreciated.
Sami

I think @jeremygray is needed to answer this one

Any help will be highly appreciated!