Hello Tal,
I had a similiar problem and posted a request here.
See: Sound Feedback, playing back just recorded sound file
maybe it’s helpful mind, however, we run the experiment offline, in a lab.
The key was to make psychopy save the audio file as soon as it had been recorded, which the code normally only does at the end.
Regards