[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] autochange.scm: Use averaged chord pitches to determine staf
From: |
Mark Polesky |
Subject: |
Re: [PATCH] autochange.scm: Use averaged chord pitches to determine staff. |
Date: |
Wed, 22 Jul 2009 15:54:03 -0700 (PDT) |
I've tweaked the autochange code a little more and I've been able
to make some of the improvements suggested. It's still under
construction, but I'm posting it so you guys can play with it.
The easiest way to test it would be to just save the
autochange_revised.scm and autochange.ly attachments in the same
directory and then compile autochange.ly.
Play around with the max-avg-deviation variable in
autochange_revised.scm. Eventually I'll also add a max-deviation
property which will allow fine-tuning of the staff-change
algorithm.
I've attached (in miniature) a png which shows the file compiled
with the current setting on the left, and with my revisions on the
right.
I think there will always be situations that end up not looking
right. One can only automate so much. But I think this is big
improvement over the current function.
Let me know what you guys think.
- Mark
autochange.png
Description: PNG image
autochange_revised.scm
Description: Text Data
autochange.ly
Description: Text Data
Re: [PATCH] autochange.scm: Use averaged chord pitches to determinestaff., Mark Polesky, 2009/07/28