Mercurial > ~darius > hgwebdir.cgi > musiccutter
changeset 35:71d1f7a5dc3c
merge
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 04 May 2016 17:48:32 +0930 |
parents | 36b9ff561228 (current diff) 1d5dcaa3b07d (diff) |
children | 6874140c9c11 |
files | |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)