Linux SoftwareProgrammingLibrariespyao 0.0.2

pyao 0.0.2


pyao is a wrapper for the 'ao' library. pyao is a set of Python bindings for Xiph.org's libao, a cross-platform audio output libra
Developer:   Andrew Chatham
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   15K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


pyao is a wrapper for the 'ao' library.

pyao is a set of Python bindings for Xiph.org's libao, a cross-platform audio output library.

Installation:

python config_unix.py
python setup.py build
[as root] python setup.py install

The config script is new and still pretty weak. If you have any problems let me know. Access the module by using "import ao" in your Python code.

Here's an interactive session of just playing with the module, until I create better documentation (there should be docstrings for everything). Watch as I read some random data and "play" it to a wave file.

>>> import ao

>>> myoptions = {'file': 'myoutput.wav'}

>>> dev = ao.AudioDevice('wav', options = myoptions)

>>> f = open('/dev/urandom', 'r') #that's some good stuff

>>> print dev
< AudioDevice object at 0x812ac28 >

>>> print dev.get_driver_info()
{'author': 'Aaron Holtzman',
'short_name': 'wav',
'name': 'WAV file output',
'comment': 'Sends output to a .wav file'}

>>> print ao.get_driver_info('oss')
{'author': 'Aaron Holtzman',
'short_name': 'oss',
'name': 'OSS audio driver output ',
'comment': 'Outputs audio to the Open Sound System driver.'}

>>> data = f.read(1024*8)

>>> dev.play(data)

>>> < control-d >

And now I have a file myoutput.wav with random noise in it.
tags short name  holtzman short  name wav  wav file  name oss  output comment  aaron holtzman  author aaron  file myoutput  the module  myoutput wav  print dev  driver info  

Download pyao 0.0.2


 http://www.vorbis.com/files/beta4/unix/pyao-0.0.2-1.i386.rpm
 http://www.vorbis.com/files/beta4/unix/pyao-0.0.2.tar.gz


Authors software

pyao 0.0.2 (by Andrew Chatham)
pyao is a wrapper for the 'ao' library.

pyao is a set of Python bindings for Xiph.org's libao, a cross-platform audio output libra


Similar software

pyao 0.0.2 (by Andrew Chatham)
pyao is a wrapper for the 'ao' library.

pyao is a set of Python bindings for Xiph.org's libao, a cross-platform audio output libra

libao 0.8.6 (by Stan Seibert)
Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms.

Li

pymad 0.5.4 (by Jamie Wilkinson)
pymad is a Python module that allows Python programs to use the MPEG Audio Decoder library.

pymad provides a high-level API, simil

Audio::Ao 0.01 (by Dan Pemstein)

PKAudio 0.3 (by Patrick Stinson)
PKAudio library is a high performance signal/audio processing library that allows stream objects to be created and mixed without inte

pyClamAV 0.3.3 (by Alexandre Norman)
pyClamAV program is a python binding to libclamav written in C

Python GnuPGInterface 0.3.2 (by Frank Tobin)
GnuPGInterface is a Python module to interface with GnuPG

magpy 0.3.0 (by Matthias Kramm)
Magpy is a Python wrapper for the mg search engine.

magpy module features fast full text sarch, indexing and boolean queries.

B

Extended attributes for Python 0.1.3 (by Manuel Amador)

Template::Tutorial 2.15 (by Andy Wardley)
Template::Tutorial are template toolkit tutorials.

This section includes tutorials on using the Template Toolkit


Other software in this category

zlib 1.2.3 (by Jean-loup Gailly)
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

libjpeg v6b (by Independent JPEG Group)
libjpeg is a library for handling the JPEG (JFIF) image format

OpenSSL 0.9.7c (by The OpenSSL Project Team)
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

libxml2 2.6.27 (by DV)
Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

GNU C library 2.4 (by Andreas Jaeger)
GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

GNU C library is us

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags