Set names for recordings from microphone (.wav) + get response time

OS: Win 11
PsychoPy version: 3.2.4 (but also for the newest release)
Standard Standalone?: Y
What are you trying to achieve?: for each trial, set a different name for the recording from mic component (i.e., “rec_” + $trialname + .wav). Also, I would like to get time when an oral response was made.

What did you try to make it work?: mic_1.setFile(“someStringOfYourChoosing”)

What specifically went wrong when you tried that?: It didn’t work, the names are still like “mic_1-1647689785.970”, i.e. “mic_1” + some timer

So, as described above, I would like to

(1) set a different name for the recordings from a mic component (i.e., “rec_” + $trialname + .wav). I have tried “setFile” (i.e., mic_1.setFile(“someStringOfYourChoosing”)), as advised elsewhere, but this did not work (the names are still in the form “mic_1” + some timer).

(2) less importantly, get the time for each oral response from the microphone component (recording), if that is possible at all.

Any help on any of these two?

1 Like

Hi, Martin, I met the same problem as you, have you solved it? Could you please share the solution if you have made it? Thank you very much!