Dear all,
I cannot record audio from the microphone using the builder. It just crashes when it runs to the Microphone Component. I am not sure if it is a problem with my computer or the programming language. The error message is as below:
6.7153 WARNING User requested fullscreen with size [1366 768], but screen is actually [1920, 1080]. Using actual size
8.0611 WARNING Starting Microphone but sound lib preference is set to be [‘sounddevice’, ‘pyo’, ‘pygame’]. Clashes might occur since ‘pyo’ is not preferred lib but is needed for Microphone
8.0707 ERROR psychopy.sound.backend_pyo.init could not find speaker hardware; sound not available
Traceback (most recent call last):
File “E:\Research\Stimuli\Lexical\Taskswitch_lexical_lastrun.py”, line 1100, in
mic_cant = microphone.AdvAudioCapture(name=‘mic_cant’, saveDir=wavDirName, stereo=True, chnl=‘0’)
File “C:\Users\aml78\AppData\Local\PsychoPy3\lib\site-packages\psychopy\microphone.py”, line 386, in init
buffering=buffering, chnl=chnl, stereo=stereo)
File “C:\Users\aml78\AppData\Local\PsychoPy3\lib\site-packages\psychopy\microphone.py”, line 174, in init
raise AttributeError(‘pyo server not created’)
AttributeError: pyo server not created
Tested with Psychopy 3.1.2. Thanks a bunch!
Best,
Anthony