ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
MIDI.py version 3.4
by Peter Billam other posts by this author
Nov 4 2009 11:51PM messages near this date
Re: join , split question | Re: Python 3
Version 3.4 of the Python3 module MIDI.py is available through
  http://www.pjb.com.au/midi/MIDI.html
and is believed to be pretty stable - in other words, I've
actually tested it :-)  (against Sean Burke's MIDI-Perl CPAN
module) and it passes the tests.  It's used by midisox:
  http://www.pjb.com.au/midi/midisox.html
which can therefore also be considered increasingly stable.

MIDI.py breaks out the .mid data into a simple list-of-lists
structure, e.g. (in the closer-to-the-data "opus" format)
    [ 96, # Ticks
        [ # Track 0...
            ['note_on', 6, 1, 60, 100],
            ['note_off', 192, 1, 60, 100]
        ]
    ]
which you can manipulate using all the resources of Python3,
and then reconvert into MIDI.

Peter

-- 
Peter Billam     www.pjb.com.au    www.pjb.com.au/comp/contact.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved