Discussion of Python midi library
gbreed at cix.compulink.co.uk
gbreed at cix.compulink.co.uk
Mon Apr 8 10:18:38 EDT 2002
Max M wrote:
> I am writing a Midi Module for Python.
>
> I basically want it make it possible to:
>
> 1) Read midi from a file
>
> 2) transform the midi data
>
> 3) Write midi to a file
>
> 4) Play midifiles (especially on Windows)
Hey, that's good, I'd like to do those things as well.
> The biggest challenge here is getting the internal representation of
> the midi data right.
You mean getting it to match the standard, or encapsulating it in the most
convenient way?
> The midi data format in it's raw format is too specialized to make it
> possible to load some midi-data and then do any kind meningfull
> transformations on it.
>
> So generally I want to be able to load in the data into a Python
> specific objects representation that can be easily modified and then
> saved back out as a new midi file.
I'd like it to be generic enough that the code could be re-used to
transform live MIDI streams as well.
> I am doing algorithmical composition hence the need.
>
> Has anybody got an interrest in participating in a discussion about how
> such a module should be designed please contact me.
I think a few of us are interested, but we may not have the time to
contribute much. I did get half way through converting my old C++ code,
but I don't think it's really good enough for anybody else to work with.
Unless you want an example of something that can read and write the files
successfully.
> I allready have some code and some ideas.
Where?
Graham
<http://www.microtonal.co.uk/>
More information about the Python-list
mailing list