OS
Windows 10
PsychoPy version
2024.2.4 Py 3.8
Standard Standalone Installation? (y)
Yes
Do you want it to also run online? (n)
No
What are you trying to achieve?:
I have an experiment where a letter and a number prompt appears on the screen with a background that is either blue or orange. Each prompt is 2 seconds and the participant is asked to verbalize the answer. Psychopy should generate an audio file for each prompt, and there are 60 prompts in a row. I get 60 audio files, but some of them are empty (0 seconds long). I seems to be random when it does not record properly. About 1/4 of trials do not get a proper audio file.
The output .csv file says that the mic started during the trial.
What did you try to make it work?:
I am not sure what to try.
Link to the most relevant existing thread you have found:
None
Does the output file contain file locations for the missing audio files?
How does the recording routine end?
1 Like
Yes, the audio file contains the file path for all 60 files. My verbiage may have been off. I get all of the files, but some have zero length and no audio in them. The size is also only 44 bytes, where it should be closer to 45 kilobytes per file. So, it likely has the correct header information present.
I do get this error message
1.5007 ERROR Support for the sounddevice
audio backend is not available this session. Please install psychopy-sounddevice
and restart the session to enable support.
15.1006 WARNING User requested fullscreen with size [2560 1440], but screen is actually [1920, 1080]. Using actual size
19.0845 WARNING Could not find exact match for specified parameters (index=14, sampleRateHz=16000, channels=None), falling back to best approximation (index=14, sampleRateHz=16000, channels=1)
1.5879 WARNING Monitor specification not found. Creating a temporary one…