Index of /~est/python/MIDI/PyMIDI-0.9.2
Name Last modified Size Description
Parent Directory 11-Jan-2007 04:15 -
MIDI/ 25-Feb-2000 10:12 -
example/ 25-Feb-2000 10:12 -
MANIFEST 25-Feb-2000 10:12 1k
Makefile 25-Feb-2000 10:00 1k
setup.py 23-Feb-2000 06:56 1k
ChangeLog 23-Feb-2000 06:58 1k
MIDI.txt 25-Feb-2000 09:56 3k
LICENSE 25-Feb-2000 10:08 25k
The MIDI module provides MIDI input parsers for Python.
Documentation is in MIDI.txt.
Please, contact Eric S. Tiedemann <est@hyperreal.org> with comments,
suggestions, patches, etc.
To install this, make sure Python (http://www.python.org/) 1.5 or
newer is installed. You will also need distutils
(http://www.python.org/sigs/distutils-sig/) which will be included
with Python 1.6. Make sure python is in your path. Then do:
python setup.py install
You can run test.py and it will read MIDI from standard input. On
UNIX systems with OSS compatible device bindings (e.g., Linux), this
is conveniently tested with:
dd bs=1 </dev/midi | python example/test.py
The dd command alone can be used to see if any bytes *are* readable
from your MIDI device.
If you have no MIDI device handy, you can do:
python example/midispew.py | python example/test.py
Developer's note:
I've found distutils 1.3 a little difficult to use for the development
cycle when it involves extension modules (see late February 2000
traffic on the develpment process in the distutils-sig archive). So,
for the moment, I use Makefiles for development builds directly in the
source directory. Note that the CFLAGS definition in the top-level
Makefile will have to be changed when Python 1.6 comes out. However,
hopefully by then disutils will be easier to use for development. :)