[SciPy-user] Release 0.6.1 of pyaudio, renamed pyaudiolab
hetland at tamu.edu
Wed Jan 31 11:09:29 CST 2007
pyaudiolab works on Mac OS X, but the library needs to point to
libsndfile.dylab instead of libsndfile.so.1.
This seems to be hardwired in the setup, and I needed to change the
pysndfile.py in the actual python site-packages after the install.
Also, the example on the web page does not work exactly right.
setting frames to 1e4 does not work, as 1e4 is a float, not an int.
I think that it would make sense to coerce the frames input to an
integer before calling libsndfile.
Still, veryveryvery cool.
On Jan 31, 2007, at 7:58 AM, David Cournapeau wrote:
> Hi There,
> A few months ago, I posted the first release of pyaudio, a python
> module to give numpy/scipy environment audio file IO capabilities (ala
> matlab wavread and co). I recently took time to update it
> and as several people showed interest in pyaudio recently, I thought
> this may interest some people here.
> The main improvements since last public annoucement:
> - renamed to pyaudiolab to avoid nameclash with other package
> - ability to seek into audio files and sync files for
> flushing IO
> - matlab-like API: wavread and wavwrite
> - improvements of the API: more similar to numpy conventions,
> ability to retrieve most meta-data of a file.
> - some bug fixing (one bug was quite severe, leading to data
> corruption on ubuntu with python2.5, due to some weirdness in ubuntu
> python2.5 packaging)
> - a real documentation
> If some people manage to use it on something else than linux, I
> would happy to hear (particularly Mac OS X, which I cannot test
> ====== pyaudiolab ======
> * WHAT FOR ?:
> The Goal of pyaudiolab is to give to a numpy/scipy environment
> some basic audio IO
> facilities (ala sound, wavread, wavwrite of matlab).
> With pyaudiolab, you should be able to read and write most
> common audio
> files from and to numpy arrays. The underlying IO operations are done
> using libsndfile from Erik Castro Lopo
> (http://www.mega-nerd.com/libsndfile/), so he is the one who did the
> hard work. As libsndfile has support for a vast number of audio files
> (including wav, aiff, but also htk, ircam, and flac, an open source
> lossless codec), pyaudiolab enables the import from and export to a
> large number of file formats.
> * WHERE TO GET ?:
> bzr archive: http://www.ar.media.kyoto-u.ac.jp/members/david/
> # HOW TO USE ?:
> SciPy-user mailing list
> SciPy-user at scipy.org
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
phone: 979-458-0096, fax: 979-845-6331
More information about the SciPy-user