Nice python-based audio hacking tools ..

Jay Vaughan EMAIL HIDDEN
Thu Nov 8 21:55:46 CET 2007


.. are on the way, now that pyglet has been released, and pyglet has  
this:

http://www.pyglet.org/doc/programming_guide/positional_audio.html

i took a little screenshot of the soundspace demo application so you  
can see what i am so enthusiastic about:

http://w1xer.de/ass/soundspaceshot.tiff

in this pic you can see 4 instruments being positioned in the audio  
field by their placement on the map .. whats great is you can move  
the listener too .. also great is the little user interface elements  
offered in this demo:

green : cone inner angle
yellow: cone orientation
blue: cone outer angle

I really like that this simple demo is already providing some very  
nice tools for music-software makers to use to design interesting  
applications .. I definitely think this could become a more full- 
fledged mixdown application with just a little bit of hacking here  
and there, and its in python, so such a thing would be *fun* as well  
as intuitive and useful ..

Anyway, here's the README in case you're interested:

Sound Space
===========

This is a toy program for playing with positional audio in pyglet
(http://www.pyglet.org).  On Linux, OpenAL is required.

The source code is licensed under the BSD license, which is quite  
permissive
(see the source headers for details).

Audio samples were generated with Apple GarageBand.

Usage
-----

Run the toy with::

     python soundspace.py

Everything is controlled with the mouse.  Hover over a control to
see its name.  Click and drag an empty area to pan the view, and  
scroll the
scroll wheel to zoom in and out.

The red triangles can be dragged to move the position of a player or  
listener.

The dashed line to the yellow handle shows the cone orientation; this  
can be
reoriented by dragging it.

The blue and green segments represent the outer and inner cone angles,
respectively.  You can resize the angle by dragging the handle  
attached to the
cone.

There is a master volume control beneath the listener.

Click the (+) sign on a player to show the min_gain, max_gain,  
cone_outer_gain
and volume controls.

The initial configuration is given in res/space.txt; it should be
self-explanatory (parsed by reader.py).



;
--
Jay Vaughan







More information about the music-bar mailing list