lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic ottava handling


From: David Nalesnik
Subject: Re: Automatic ottava handling
Date: Sat, 11 Oct 2014 09:57:10 -0500

Hi,

On Wed, Oct 8, 2014 at 9:48 AM, David Bellows <address@hidden> wrote:
>Here's a preliminary experiment.  It will add an automatic \ottava 1 before passages where notes have at least a specified number of ledger lines.


The attached function will work with more complex music expressions.

The only problem here is with the handling of chords.  Right now, the function either ignores them or attempts to add the ottava within the EventChord _expression_ (which causes an error).  This shouldn't be too hard to fix, though it will take some thought.

Hope this proves useful!

David
  

Attachment: auto-ottava-music-function2.ly
Description: Text Data

Attachment: auto-ottava-music-function2.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]