The following code:
from psychopy import * win = visual.Window(monitor='testMonitor',allowGUI=False,units='deg') tick = sound.Sound(1500,secs=0.01,sampleRate=44100, bits=8) win.close()
crashes psychopy 1.84.1 in a new mac pro giving the following message:
Fatal Python error: (pygame parachute) Segmentation Fault
The same code does not crash in a old macbook pro retina with the same version of psychopy. It gives a Warning:
WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API’s in AudioComponent.h.
The general preferences look like this:
When I swap ‘pyo’ and ‘pygame’ in the preferences, the crash in the mac pro does not occur. The problem is that using pygame the synchronization between sounds and visual signals is pretty bad as measured with an oscilloscope.