Mechanical Music Digest  Archives
You Are Not Logged In Login/Get New Account
Please Log In. Accounts are free!
Logged In users are granted additional features including a more current version of the Archives and a simplified process for submitting articles.
Home Archives Calendar Gallery Store Links Info

End-of-Year Fundraising Drive In Progress. Please visit our home page to see this and other announcements: https://www.mmdigest.com     Thank you. --Jody

MMD > Archives > April 2003 > 2003.04.16 > 08Prev  Next


MIDI Files for Archiving Music Roll Data
By Julian Dyer

To expand on yesterday's note and Robbie's comment about the archival
qualities of MIDI files: MIDI is an ideal medium for archiving roll
data, but has to be used intelligently to do so.

MIDI files with dynamics simulated from roll expression coding are
not archives of the roll data because you cannot get back to the
original expression coding from the MIDI velocities.  (You can estimate
it, but to get anywhere near you would need to know the original
conversion algorithm, and even then you'd be guessing -- which is not
good archival practice!)

However, the MIDI file format handles up to 127 notes, each with 'on'
and 'off' codes (as well as loads of stuff).  This is quite enough for
directly storing all the 'punch' or 'no punch' information of most roll
formats, mapping every perforation column (both notes and ancillary
coding) on the roll directly to a MIDI note.  Indeed, Richard Stibbons
has defined use of MIDI format for all of the various Rollscanners
derivative files.

The original scan is a graphical file, but as soon as it is interpreted
to work out where the perforation columns are across the rolls and when
actual perforations occur along the roll, this can be stored in MIDI.

The initial analogue interpretation simply allocates the right 'note
on' and 'note off' numbers and records the time to the nearest MIDI
time point.  The 'holy grail' recreated roll master quantises the
timing by identifying the actual position of each punch, and this can
be stored by redefining the MIDI timing so a single count represents
one punch row.  You get loads of short notes, with every bridge being
an 'off'-'on' pair.  Stripping the bridges out uses exactly the same
file format but ends up with longer notes.  Converting the file to
'real' MIDI removes the notes representing ancillary coding and imposes
that information as controllers and MIDI velocities on the notes
themselves (as well as reinstating the timing to ordinary clock
values).

The beauty of using MIDI for all these various representations of the
roll is that the same file-reading software can be used throughout --
which makes a great deal more sense than having bespoke file formats at
each stage!  What's more, MIDI is a widely-understood standard so using
it makes the archived roll data more accessible.  A small drawback is
that MIDI files are a little bigger because they store additional data
that is not required when representing rolls.  Given disk sizes these
days this isn't a problem.

Julian Dyer


(Message sent Thu 17 Apr 2003, 01:47:11 GMT, from time zone GMT+0100.)

Key Words in Subject:  Archiving, Data, Files, MIDI, Music, Roll

Home    Archives    Calendar    Gallery    Store    Links    Info   


Enter text below to search the MMD Website with Google



CONTACT FORM: Click HERE to write to the editor, or to post a message about Mechanical Musical Instruments to the MMD

Unless otherwise noted, all opinions are those of the individual authors and may not represent those of the editors. Compilation copyright 1995-2024 by Jody Kravitz.

Please read our Republication Policy before copying information from or creating links to this web site.

Click HERE to contact the webmaster regarding problems with the website.

Please support publication of the MMD by donating online

Please Support Publication of the MMD with your Generous Donation

Pay via PayPal

No PayPal account required

                                     
Translate This Page