CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 08:58:30 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20101021094938
location: https://web.archive.org/web/20101021094938/https://wiki.python.org/moin/MacPython/CoreAudio
server-timing: captures_list;dur=0.458256, exclusion.robots;dur=0.013508, exclusion.robots.policy;dur=0.005392, esindex;dur=0.008289, cdx.remote;dur=41.826909, LoadShardBlock;dur=363.347410, PetaboxLoader3.datanode;dur=255.708192, PetaboxLoader3.resolve;dur=67.491075
x-app-server: wwwb-app239
x-ts: 302
x-tr: 467
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app239; 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 08:58:31 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Thu, 21 Oct 2010 09:49:37 GMT
x-archive-orig-server: Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.2
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-content-length: 10015
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 21 Oct 2010 09:49:38 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, 18 Sep 2008 22:42:43 GMT", ; rel="memento"; datetime="Thu, 21 Oct 2010 09:49:38 GMT", ; rel="next memento"; datetime="Fri, 12 Aug 2011 05:12:23 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: 52_18_20101021080749_crawl100-c/52_18_20101021094903_crawl103.arc.gz
server-timing: captures_list;dur=8.626998, exclusion.robots;dur=0.021704, exclusion.robots.policy;dur=0.008326, esindex;dur=0.009434, cdx.remote;dur=202.022259, LoadShardBlock;dur=105.681416, PetaboxLoader3.datanode;dur=176.842024, load_resource;dur=396.109339, PetaboxLoader3.resolve;dur=294.383741
x-app-server: wwwb-app239
x-ts: 200
x-tr: 772
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
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 2009-04-02 13:58:32 by a88-115-213-227)