CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 23:53:35 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20071130204020
location: https://web.archive.org/web/20071130204020/https://wiki.python.org/moin/MacPython/CoreAudio
server-timing: captures_list;dur=0.618795, exclusion.robots;dur=0.025004, exclusion.robots.policy;dur=0.011059, esindex;dur=0.011563, cdx.remote;dur=7.345567, LoadShardBlock;dur=83.956467, PetaboxLoader3.datanode;dur=64.172544
x-app-server: wwwb-app215
x-ts: 302
x-tr: 118
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app215; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 23:53:36 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Fri, 30 Nov 2007 20:40:19 GMT
x-archive-orig-server: Apache/2.0.54 (Debian GNU/Linux) mod_fastcgi/2.4.2
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 30 Nov 2007 20:40:20 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 23 May 2007 09:38:55 GMT", ; rel="prev memento"; datetime="Thu, 20 Sep 2007 00:49:14 GMT", ; rel="memento"; datetime="Fri, 30 Nov 2007 20:40:20 GMT", ; rel="next memento"; datetime="Thu, 18 Sep 2008 22:42:43 GMT", ; rel="last memento"; datetime="Mon, 24 Jun 2024 10:49:07 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_0_20071130160346_crawl108-c/51_0_20071130202151_crawl107.arc.gz
server-timing: captures_list;dur=0.458602, exclusion.robots;dur=0.018194, exclusion.robots.policy;dur=0.008032, esindex;dur=0.009479, cdx.remote;dur=5.971130, LoadShardBlock;dur=148.306111, PetaboxLoader3.datanode;dur=114.894614, PetaboxLoader3.resolve;dur=390.588889, load_resource;dur=413.552320
x-app-server: wwwb-app215
x-ts: 200
x-tr: 607
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
MacPython/CoreAudio - PythonInfo Wiki
MacPython/CoreAudio
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:
EditText (last edited 2007-07-18 12:35:06 by SkipMontanaro)
DeleteCache (cached 2007-11-24 01:37:11)- Login
- Navigation
- Actions
- Your recent pages