Differences between revisions 8 and 9
Revision 8 as of 2009-04-02 13:58:32
Size: 1073
Editor: a88-115-213-227
Comment:
Revision 9 as of 2014-04-03 11:56:43
Size: 178
Editor: ::ffff:203
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
  Links:
 * [[http://www.musickit.org/|MusicKit]] - [[/PyObjC]]
 * [[http://www.eblong.com/zarf/boodler/|Boodler]] - [[/Python]]
 
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:
 
 * [[http://soundfarmer.com/content/code/coreaudio/coreaudio.pyx]]
 
And here is the simple driver python script:
 
 * [[http://soundfarmer.com/content/code/coreaudio/catest.py]]
 
You compile the pyrex to a c file, and then there is a setup script which will build the extension module:
 
 * [[http://soundfarmer.com/content/code/coreaudio/setup.py]]

Other links:
 
## some description is missing
 
 * http://aldebaran.armory.com/~zenomt/macosx/
 * http://www.mat.ucsb.edu/~c.ramakr/illposed/craudiounits.html
 * http://www.pete.yandell.com/software/pymidi/Read%20Me.html
My name is Julianne (40 years old) and my hobbies are Book collecting and Insect collecting.<<BR>>
<<BR>>
my website - [[http://www.cashitback.com/snapdeal|Snapdeal coupons]]

My name is Julianne (40 years old) and my hobbies are Book collecting and Insect collecting.

my website - Snapdeal coupons

MacPython/CoreAudio (last edited 2015-08-13 01:12:45 by mlh)

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