Issues with Audio Recordings on PsychoPy

OS (e.g. Win10): Windows 10 Enterprise
PsychoPy version (e.g. 1.84.x): StandalonePsychoPy-2023.2.3-win64.exe

What are you trying to achieve?:
I am running a simple picture naming experiment and the psychopy file for this is attached. The experiment runs in 12 blocks, each with a different spreadsheet and each block uses the same microphone component that is configured to last for 3.6 seconds. Normally, this seems to work fine and I end up with the expected 600 audio recordings in the data folder.

However, for at least 4 participant sessions, despite the experiment running normally with no warnings from PsychoPy and with the data folder saving the expected .CSV file (with trial by trial information) .log file with warnings (of which there is only one pertaining to the screen size) and .psydat file, the sub-folder with the audio recordings is blank. This is despite the fact that the .CSV file shows a filepath for each recording that is linked to each trial.

What did you try to make it work?:

  1. We have tried to restart the computer after each participant and also close and restart PsychoPy after each experimental task - this has not solved the intermittent issue and we have still had two participants with no audio recordings after their session.
  2. We have changed the PC that we are using for testing - this has not solved the issue.
  3. We have disconnected the PC from the ethernet connection - this has not solved the issue.

What specifically went wrong when you tried that?:
There is no error message or warning that is provided and the experiment runs as normal. The attachment contains a screenshot of a .log file for a participant with no audio recordings and as you can see, the only (resolved) warning has to do with the screen size. The .CSV file also has a filepath for every recording connected to each individual file. It is only the sub-folder that normally contains the audio recordings that is blank.

Questions:

  1. Why is the audio recording folder blank for some but not all participants despite the lack of warnings from PsychoPy and the presence of a filepath for each audio recording in the .CSV file?
  2. My understanding is that the audio files are saved to the folder only after the specific mic-component connected with the recordings has been terminated. Is there a way to save recordings trial by trial to minimise any potential data loss if there a hardware issue occurs mid-way through the experiment?

main_exp.psyexp (379.5 KB)

Might some of your participants be exiting with Escape instead of letting the final routine finish?

The 2024 version (out soon) saves audio files on escape. However, I’m not sure if it will also save on a crash – if your full experiment includes 600 recordings, would it be possible to reduce it into shorter sessions?