| Reference | Downloads | Github

Microphone component not working

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10):Win7
PsychoPy version (e.g. 1.84.x):1.90.1
**Standard Standalone? (y/n)*:y
I am using psychoPy2_Py3 with python 3.6.3 . I want to use microphone component in builder view to capture sound, but getting the following error :

File “D:\psychoexp\”, line 378, in
mic_1 = microphone.AdvAudioCapture(name=‘mic_1’, saveDir=wavDirName, stereo=True)
File “C:\Program Files\PsychoPy2_PY3\lib\site-packages\psychopy\”, line
381, in init
buffering=buffering, chnl=chnl, stereo=stereo)
File “C:\Program Files\PsychoPy2_PY3\lib\site-packages\psychopy\”, line
170, in init
raise AttributeError(‘pyo server not created’)
AttributeError: pyo server not created

I tried to install pyo but it is showing that :
Requirement already satisfied : pyo (0.9.0)

Can someone guide me?

Hi Aishwarya, I am getting the same error. Did you ever find a solution?

I have the same exact problem! Anyone able to fix it?

We had a recent report that the issue is caused when the pyo library doesn’t have a valid sound driver to work with. This can be fixed by adding ‘directsound’ as audio driver.

I am trying to use the microphone to record participants’s voices but it has been unsuccessful so far. And now I can’t open the preferences. Does not seem to work. What should I do?

I am using 1.85.3 on Ubuntu 19.04

What’s the error message?

What’s the error message?