# HG changeset patch # User Daniel O'Connor # Date 1462349912 -34200 # Node ID 71d1f7a5dc3c56bb5dcb5477fb38592175e50188 # Parent 36b9ff5612281c53a94d6af225e48047c270fdb3# Parent 1d5dcaa3b07de16d4ebf982ca3a11aab088bc607 merge diff -r 36b9ff561228 -r 71d1f7a5dc3c musiccutter.py --- a/musiccutter.py Wed May 04 17:47:23 2016 +0930 +++ b/musiccutter.py Wed May 04 17:48:32 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)