parse a midi file

M

Mr.SpOOn

Hi,
I need to parse a midi file with Python. What I exactly need is the
possibility to distinguish all notes in all channels in a midi file
and put them in a list or something.

I've found this:

http://groups.google.com/group/alt.sources/msg/22467419ad4bf416

I'm not sure how it does work, but looking at the code I saw it can
get input from the terminal, so I tried:

python midi.py < mymidi.mid

All it does is printing a lot of strange symbols.

Do you know other easy way to parse a midi file in Python? Or how
actually does this module work?

Thanks,
Carlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top