[visionegg] Re: pygame.mixer sound output :: latency and platform-specific options

  • From: Andrew Straw <astraw@xxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Wed, 16 Nov 2005 11:52:14 -0800

I'm also interested, as sound is one avenue of digital-to-analog and analog-to-digital available on almost any computer. So this is of general interest, even for those not interested in auditory stimuli.

Simeon Fitch wrote:

1. It looks like sound.play() returns immediately, so I can go ahead and display visual images while the sound is playing, correct? 2. pygame uses the SDL_mixer code, and through a cursory inspection, I can't tell if it then uses PortAudio or some other platform- specific library for audio output. Ideas? 3. Has anybody had experience using CoreAudio on OS X (through a python wrapper) to provide for low-latency audio output?

I'm also interested in answers to these questions! My current experiment involves sensory integration, and would like the simplest approach to synchronizing sound (both digitized and synthesized) with graphics.


-- Simeon H.K. Fitch, Owner Mustard Seed Software

====================================== The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html

Other related posts: