Mercurial > ~darius > hgwebdir.cgi > musiccutter
changeset 33:1d5dcaa3b07d
merge
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 03 May 2016 19:30:58 +0930 |
parents | f053dd6e9e68 (diff) ea98c9507f47 (current diff) |
children | 71d1f7a5dc3c |
files | musiccutter.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)