Revision 5 as of 2007-07-18 12:35:06

Clear message

Links:

I (DonovanPreston) have been noodling around with wrapping the low level /CoreAudio APIs necessary to generate sound on Mac OS X using Python. After struggling with threading and callbacks into Python issues I managed to get a simple hello world going which just plays a sine wave for 5 seconds. The bulk of the code is in a pyrex file here:

And here is the simple driver python script:

You compile the pyrex to a c file, and then there is a setup script which will build the extension module:

Other links:

Unable to edit the page? See the FrontPage for instructions.