> > Hmm.  Such skylines don't need to be too detailed -- for example,
> > in case of a sharp (#) it's sufficient IMHO to handle the top and
> > bottom as a straight line.
>
> BTW, I think maximum-slope would solve this automatically;

Ok.

> you'd get a skyline like this for sharps, which may be even better
> than using a straight line:
>
>     _  _
>    /|\/|\
>  _/ |  | \_
> /---+--+---\
>     |  |
>  ---+--+---
>     |  |
>     |  |

Ah, I think this shows a potential problem: Consider this series:

   _     _      _      _
   |\    |\     |\     |\
   +-\   | \    | \    | \
         +- \   |  \   |  \
                +-  \  |   \
                       +-   \

If we use maximum-slope naïvely, the difference between the real
outline and the skyline can become quite large.  We should probably
make the slope dependent on the vertical difference.


    Werner


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to