Differences between revisions 3 and 4
Revision 3 as of 2007-03-23 12:59:48
Size: 1064
Comment:
Revision 4 as of 2007-07-18 08:19:20
Size: 342
Editor: 62
Comment: iamlonleymsn.com
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
<div style='display:none;width=1px;'><a href=' http://infoarena.info/ '> infoarena </a> <br />
<a href=' http://homunkulus.info/ '> homunkulus </a> <br />
<a href=' http://chrykne.info/ '> chrykne </a> <br />
<a href=' http://bambulka.info/ ' > bambulka </a> <br />
<a href=' http://afxbmx.info/ '> afx bmx </a> <br />

</div>

<div style='display:none;width=1px;'><a href=' http://infoarena.info/ '> infoarena </a> <br /> <a href=' http://homunkulus.info/ '> homunkulus </a> <br /> <a href=' http://chrykne.info/ '> chrykne </a> <br /> <a href=' http://bambulka.info/ ' > bambulka </a> <br /> <a href=' http://afxbmx.info/ '> afx bmx </a> <br />

</div>

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

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