CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 23 Jul 2025 17:08:53 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.483982, exclusion.robots;dur=0.017988, exclusion.robots.policy;dur=0.008501, esindex;dur=0.011239, cdx.remote;dur=63.581463, LoadShardBlock;dur=192.740669, PetaboxLoader3.datanode;dur=173.089661
x-app-server: wwwb-app220
x-ts: 302
x-tr: 282
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app220; 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: Wed, 23 Jul 2025 17:08:54 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.737267, exclusion.robots;dur=0.028921, exclusion.robots.policy;dur=0.012951, esindex;dur=0.016067, cdx.remote;dur=31.991061, LoadShardBlock;dur=208.715118, PetaboxLoader3.datanode;dur=136.594912, PetaboxLoader3.resolve;dur=168.604825, load_resource;dur=159.038015
x-app-server: wwwb-app220
x-ts: 200
x-tr: 468
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)