CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 23:04:44 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20110812051223
location: https://web.archive.org/web/20110812051223/https://wiki.python.org/moin/MacPython/CoreAudio
server-timing: captures_list;dur=2.451488, exclusion.robots;dur=0.031634, exclusion.robots.policy;dur=0.016509, esindex;dur=0.017085, cdx.remote;dur=58.630300, LoadShardBlock;dur=205.709668, PetaboxLoader3.datanode;dur=196.053473
x-app-server: wwwb-app202
x-ts: 302
x-tr: 289
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app202; 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 23:04:45 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Fri, 12 Aug 2011 05:12:23 GMT
x-archive-orig-server: Apache/2.2.16 (Debian)
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-set-cookie: MOIN_SESSION_80_ROOT_moin=df6ce5d12ddceb520b19d395240a56f07c147415; expires=Fri, 12-Aug-2011 06:12:00 GMT; Max-Age=3600; Path=/
x-archive-orig-content-length: 10224
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 12 Aug 2011 05:12:23 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, 21 Oct 2010 09:49:38 GMT", ; rel="memento"; datetime="Fri, 12 Aug 2011 05:12:23 GMT", ; rel="next memento"; datetime="Thu, 30 Jun 2022 21:56:44 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: WPO-20110812045104-crawl438/WPO-20110812051232-01683.warc.gz
server-timing: captures_list;dur=0.838740, exclusion.robots;dur=0.044176, exclusion.robots.policy;dur=0.022596, esindex;dur=0.038605, cdx.remote;dur=35.351991, LoadShardBlock;dur=269.609164, PetaboxLoader3.datanode;dur=279.136587, load_resource;dur=114.356239, PetaboxLoader3.resolve;dur=51.366222
x-app-server: wwwb-app202
x-ts: 200
x-tr: 470
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
User
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:
MacPython/CoreAudio (last edited 2009-04-02 13:58:32 by a88-115-213-227)