psychopy.org | Reference | Downloads | Github

Microphone component not working


#1

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\Project_lastrun.py”, line 378, in
mic_1 = microphone.AdvAudioCapture(name=‘mic_1’, saveDir=wavDirName, stereo=True)
File “C:\Program Files\PsychoPy2_PY3\lib\site-packages\psychopy\microphone.py”, line
381, in init
buffering=buffering, chnl=chnl, stereo=stereo)
File “C:\Program Files\PsychoPy2_PY3\lib\site-packages\psychopy\microphone.py”, 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?


#2

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


#3

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