I ran into a problem when I included the microphone response to my experiment. I get this error
#### Running: /Users/reinhard/Desktop/Experiment/Test session2.1_lastrun.py #### pyo version 0.8.6 (uses single precision) 2017-12-17 16:30:17.408 python[4763:92002] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null) Traceback (most recent call last): File "/Users/reinhard/Desktop/Experiment/Test session2.1_lastrun.py", line 224, in <module> mic_1 = microphone.AdvAudioCapture(name='mic_1', saveDir=wavDirName, stereo=False) File "/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/microphone.py", line 357, in __init__ self.setMarker() File "/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/microphone.py", line 402, in setMarker sampleRate = sound.pyoSndServer.getSamplingRate() AttributeError: 'NoneType' object has no attribute 'getSamplingRate'
This seems to be a common problem. Unfortunately, I wasn’t able to find any fixes for this in other discussions. I tried to switch around the ‘pyo’ and ‘pygame’ audio libraries.
Without the microphone response, my experiment works fine.
Is it somehow possible to let my participants record during the experiment? Maybe alternatively with a different time-matched program - I don’t know how/whether it would be possible to link Psychopy with an audio recorder like Audacity…
I have a Macbook Air with OS High Sierra.
Thank you in advance!