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 > August 2002 > 2002.08.13 > 05Prev  Next


Stahnke WEB & BAR Music Roll File Specification
By Robbie Rhodes

WEB file format is a record of the location of the holes in the music
roll.  Its purpose is to control a perforator which has all the punches
lying along a straight line.  The WEB file is creating by transcribing
the music roll using a linear hair-line height tracker bar or a line
scanning camera.

BAR format is intended to control a pneumatic player action using
magnet valves, and so it represents the motion of the valves in
the player piano.  Thus the data must account for the size and
vertical location of the holes in the tracker bar.  For example,
if the tracker bar of the instrument has offset holes, like the
Duo-Art, then the in-line perforator data of WEB format turns on
the control valves much too late.

To overcome this problem Wayne Stahnke created the BAR data format,
which is the cross-correlation of the perforator data with the image of
the tracker bar of the target instrument.  The BAR file is a derivative
of the WEB file.

The data structure of WEB and BAR files is identical; as far as I know
either format can be opened and read with a programs such as "Wind" or
"WindPlay" by Richard Brandle.

The associated ANN (annotation) file defines the units of distance and
paper speed for playback, etc.  Each data record of the file contains
a field telling the long-axis ("time" axis) position, followed by a
second field which toggles the channel on and off.

Some BAR files (but not WEB files) incorporate Tempo compensation using
an assumed take-up spool diameter or acceleration constant declared in
the ANN file.  I think this is usually for long classical rolls, not
for pop rolls which were intended for constant metronome beats per
minute.

The WEB (or BAR) file format supports up to 240 channels, so it's
suitable for the widest player organ rolls.  Meta channels are provided
to store control events and text events such as lyrics.

In the article "Re: Stahnke Roll Archival Methodology", in MMDigest
96.03.07, Wayne Stahnke wrote:

"The specification for the data format is embodied in a C language
driver file called ROLLFILE.C that you can get from Jody Kravitz
(just send him a note on the digest or at rollsreq@foxtail.com)."

See http://mmd.foxtail.com/Archives/Digests/199603/1996.03.07.06.html

I'll send you separately the current version (v10.00) of file
ROLLFILE.C (35 kb).  It's an ordinary DOS text file so it may be viewed
using any text editor.  For convenience with Windows you can rename
the file to ROLLFILE.C.txt if you wish.

Please tell me your impressions of the information, because I'm sure
others will write to me or MMD with questions about the process.

Best regards,

Robbie Rhodes


(Message sent Tue 13 Aug 2002, 08:48:11 GMT, from time zone GMT-0700.)

Key Words in Subject:  BAR, File, Music, Roll, Specification, Stahnke, WEB

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