| 1 |
Sound Space |
| 2 |
=========== |
| 3 |
|
| 4 |
This is a toy program for playing with positional audio in pyglet |
| 5 |
(http://www.pyglet.org). On Linux, OpenAL is required. |
| 6 |
|
| 7 |
The source code is licensed under the BSD license, which is quite permissive |
| 8 |
(see the source headers for details). |
| 9 |
|
| 10 |
Audio samples were generated with Apple GarageBand. |
| 11 |
|
| 12 |
Usage |
| 13 |
----- |
| 14 |
|
| 15 |
Run the toy with:: |
| 16 |
|
| 17 |
python soundspace.py |
| 18 |
|
| 19 |
Everything is controlled with the mouse. Hover over a control to |
| 20 |
see its name. Click and drag an empty area to pan the view, and scroll the |
| 21 |
scroll wheel to zoom in and out. |
| 22 |
|
| 23 |
The red triangles can be dragged to move the position of a player or listener. |
| 24 |
|
| 25 |
The dashed line to the yellow handle shows the cone orientation; this can be |
| 26 |
reoriented by dragging it. |
| 27 |
|
| 28 |
The blue and green segments represent the outer and inner cone angles, |
| 29 |
respectively. You can resize the angle by dragging the handle attached to the |
| 30 |
cone. |
| 31 |
|
| 32 |
There is a master volume control beneath the listener. |
| 33 |
|
| 34 |
Click the (+) sign on a player to show the min_gain, max_gain, cone_outer_gain |
| 35 |
and volume controls. |
| 36 |
|
| 37 |
The initial configuration is given in res/space.txt; it should be |
| 38 |
self-explanatory (parsed by reader.py). |