# HG changeset patch # User Daniel O'Connor # Date 1462269658 -34200 # Node ID 1d5dcaa3b07de16d4ebf982ca3a11aab088bc607 # Parent f053dd6e9e689874a0a9573672afe9bcdb2b8f4f# Parent ea98c9507f477c47839aa1f74b3a1ba75273a375 merge diff -r ea98c9507f47 -r 1d5dcaa3b07d musiccutter.py --- a/musiccutter.py Tue May 03 18:04:41 2016 +0930 +++ b/musiccutter.py Tue May 03 19:30:58 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)