OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2021.2.3
Standard Standalone? (y/n) If not then what?:y
What are you trying to achieve?:
I found this on the official website of psychopy:
https://www.psychopy.org/api/voicekey.html
But I don’t know how to save the recording file
Hai ,
file_outt = os.path.join(directory, f’{participant}trial{str(trials.thisN).zfill(3)}_{prompt}.wav’)
vpvk = vk.OnsetVoiceKey(
sec=2.5,
file_out=file_outt,
threshold = 20)