I’m in the process of designing an experiment, where a visual stimulus appears in different positions on a screen according to the acoustic properties of a vocalisation.
In order to get started on programming for the rest of the experiment, PsychoPy needs access to the microphone and to open a microphone stream; however, when I run even just a simple script, it returns the following ‘ApplePersistenceIgnoreState’ error:
First part of the returned error:
Second part of the returned error:
From what I gather by reading around online, using the microphone on a Mac computer in PsychoPy can produce difficulties. Following the advice of some colleagues, I have tried to run the script on PsychoPy2, but this didn’t solve the problem either. Does anyone have any suggestions or recommendations for a workaround for this issue?
My specifications are as follows:
PsychoPy version: PsychoPy 2020.1.3
Mac version: 10.15.4
I’d appreciate any help you may have!!
The script I ran was just the following straightforward code:
*from psychopy import visual, sound, microphone *
win = visual.Window()
*rec_duration = 10 *
filename = “my_recording.wav”
mic = microphone.AudioCapture()
mic.setMarker(tone=1000, secs=0.25, volume=0.1)
mic.record(rec_duration, block=False, filename = filename)