Re: [linux-audio-dev] analysis/resynthesis environment: python?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] analysis/resynthesis environment: python?
From: Andrew W. Schmeder (andy_AT_e-molecule.com)
Date: Fri Aug 16 2002 - 23:08:14 EEST


<quote who="Brian Redfern">
> Actually a physicicst in northern germany came up with a realtime python
> binding to alsa audio:

There is also an OSS driver, and SDL/Pygame supports esd and arts output. No
promises wrt. latency or flexibility with these implementations.

I tried the python/alsa stuff but concluded that it was not ready for serious
use. The full duplex example actually uses C to run in a background thread,
i.e.
the python integration is a loose coupling. Also IIRC in output-only it does
not need this background thread, but does not work with more than 2 channels.

Following that I attempted to create a jack client for python. The problem
with that was python did not seem friendly to the idea giving up control
of execution to jack... so again at best it would probably be a loose
coupling using a background thread.

> easier to write an alsa app in python instead of having to master pointer
> arthmetic, etc. Also using pygame for a gui and alsa audio could create a
> really cool looking gui without much effort. I don't know how many people
...

In the end there is really no good substitution for C/C++ when it comes to
realtime audio, but there is nothing wrong with doing a not-quite realtime
interface or some sound analysis in python.

  --andy

-----------------------
Andrew W. Schmeder
andy_AT_e-molecule.com


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Aug 16 2002 - 23:07:57 EEST