Mercurial > ~darius > hgwebdir.cgi > musiccutter
diff musiccutter.py @ 32:f053dd6e9e68
Add l33t ASCII diagram to show how folds should be
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 03 May 2016 19:30:36 +0930 |
parents | f46cc9401e79 |
children | 1d5dcaa3b07d |
line wrap: on
line diff
--- a/musiccutter.py Tue May 03 09:10:33 2016 +0930 +++ b/musiccutter.py Tue May 03 19:30:36 2016 +0930 @@ -19,6 +19,13 @@ # Card layout from http://www.orgues-de-barbarie.com/wp-content/uploads/2014/09/format-cartons.pdf # Notes are read from right to left # Highest note is at the bottom (closest to the crank) + # fold fold + # in out + # V ^ + # +---+---+---+ lowest note + # | | | | + # +---+---+---+ highest note + # m = Midi2PDF('notes', 120, 155, 5.5, 3.3, 6.0, 50, False, False, False, False, False, 0, 30, 0.9, 'Helvetica', 12) base, ext = os.path.splitext(filename) base = os.path.basename(base)