CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 16:35:49 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080918224243
location: https://web.archive.org/web/20080918224243/https://wiki.python.org/moin/MacPython/CoreAudio
server-timing: captures_list;dur=0.957668, exclusion.robots;dur=0.030538, exclusion.robots.policy;dur=0.012528, esindex;dur=0.024546, cdx.remote;dur=26.916146, LoadShardBlock;dur=586.147863, PetaboxLoader3.datanode;dur=253.164377
x-app-server: wwwb-app224
x-ts: 302
x-tr: 645
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app224; 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, 24 Jul 2025 16:35:50 GMT
content-type: text/html;charset=utf-8
x-archive-orig-date: Thu, 18 Sep 2008 22:42:42 GMT
x-archive-orig-server: Apache/2.2.3 (Debian) mod_fastcgi/2.4.2
x-archive-orig-pragma: no-cache
x-archive-orig-cache-control: no-cache
x-archive-orig-expires: -1
x-archive-orig-vary: Accept-Language,Cookie,User-Agent
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 18 Sep 2008 22:42:43 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="Fri, 30 Nov 2007 20:40:20 GMT", ; rel="memento"; datetime="Thu, 18 Sep 2008 22:42:43 GMT", ; rel="next memento"; datetime="Thu, 21 Oct 2010 09:49:38 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_5_20080918212043_crawl105-c/51_5_20080918224202_crawl107.arc.gz
server-timing: captures_list;dur=0.713458, exclusion.robots;dur=0.028392, exclusion.robots.policy;dur=0.010995, esindex;dur=0.014864, cdx.remote;dur=10.360604, LoadShardBlock;dur=377.328837, PetaboxLoader3.datanode;dur=337.868690, PetaboxLoader3.resolve;dur=385.875098, load_resource;dur=411.013480
x-app-server: wwwb-app224
x-ts: 200
x-tr: 862
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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
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)