# HG changeset patch # User Daniel O'Connor # Date 1462269636 -34200 # Node ID f053dd6e9e689874a0a9573672afe9bcdb2b8f4f # Parent f46cc9401e795690774bf14f456b5998299bac28 Add l33t ASCII diagram to show how folds should be diff -r f46cc9401e79 -r f053dd6e9e68 musiccutter.py --- 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)