CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 21:36:20 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.732862, exclusion.robots;dur=0.029337, exclusion.robots.policy;dur=0.014160, esindex;dur=0.012752, cdx.remote;dur=115.918566, LoadShardBlock;dur=200.564123, PetaboxLoader3.datanode;dur=56.971762, PetaboxLoader3.resolve;dur=48.286157
x-app-server: wwwb-app212
x-ts: 302
x-tr: 350
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app212; 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: Sat, 19 Jul 2025 21:36:21 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.835326, exclusion.robots;dur=0.035974, exclusion.robots.policy;dur=0.015597, esindex;dur=0.020715, cdx.remote;dur=119.663462, LoadShardBlock;dur=212.591458, PetaboxLoader3.datanode;dur=137.192244, PetaboxLoader3.resolve;dur=158.860599, load_resource;dur=129.542707
x-app-server: wwwb-app212
x-ts: 200
x-tr: 529
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)