[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic ottava handling
From: |
Gilberto Agostinho |
Subject: |
Re: Automatic ottava handling |
Date: |
Tue, 21 Oct 2014 07:35:18 -0700 (PDT) |
Hi David,
David Nalesnik-2 wrote
> I'm not going to venture into automating the process described in the
> manual for having an ottava apply to one voice, but not the other.
That would be indeed painful to implement... this is exactly the type of
notation that a human can spot as "okay" in some cases, even though it
breaks some conventions for a brief moment. Nevertheless, this is quite a
rare case - and I still would avoid using it at all, I'd rather create a new
stave if necessary, which is a more contemporary approach to these types of
passages.
David Nalesnik-2 wrote
> Maybe best would be to throw a warning and completely ignore the << >>
> passage. Certainly easier from my standpoint!
I guess this would be a very fair solution. Your function already handles
chords (it always considers the bottom note for treble clef and the top note
for bass clef, am I right?), which is wonderful. If someone is dealing with
more complex polyphony, then better do it manually.
David Nalesnik-2 wrote
> There is no access to context properties from within a music function. So
> determining the clef relies on its explicit creation within the music
> expression that \ottavate considers. Otherwise, it can only assume treble
> clef.
What about adding a optional variable to set the clef? So if the music
starts with a different clef, the user would have to explicitely have to
inform this.
And here is a minor thing I just spotted: there is also a small
inconsistense with the negative values in your function. Try this:
{
\ottavate #'(4 . 7) #'(-4 . -7) ##f { f''' g''' \clef bass g,, e,,}
}
So up to (inclusive) 4 ledger lines above the treble cleff is displayed
without ottavation, but only notes with less (not inclusive) than 4 ledger
lines are displayed without ottava bassa in the bass clef.
Best,
Gilberto
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Automatic-ottava-handling-tp167190p167762.html
Sent from the User mailing list archive at Nabble.com.
- Re: Automatic ottava handling, (continued)
- Re: Automatic ottava handling, David Nalesnik, 2014/10/12
- Re: Automatic ottava handling, David Bellows, 2014/10/12
- Re: Automatic ottava handling, David Bellows, 2014/10/13
- Re: Automatic ottava handling, David Nalesnik, 2014/10/13
- Re: Automatic ottava handling, David Bellows, 2014/10/14
- Re: Automatic ottava handling, David Nalesnik, 2014/10/14
- Re: Automatic ottava handling, Gilberto Agostinho, 2014/10/21
- Re: Automatic ottava handling, David Nalesnik, 2014/10/21
- Re: Automatic ottava handling, Gilberto Agostinho, 2014/10/21
- Re: Automatic ottava handling, David Nalesnik, 2014/10/21
- Re: Automatic ottava handling,
Gilberto Agostinho <=
- Re: Automatic ottava handling, David Nalesnik, 2014/10/21
- Re: Automatic ottava handling, David Nalesnik, 2014/10/21
- Re: Automatic ottava handling, Gilberto Agostinho, 2014/10/21
- Re: Automatic ottava handling, David Nalesnik, 2014/10/21
- Re: Automatic ottava handling, Gilberto Agostinho, 2014/10/22
- Re: Automatic ottava handling, David Nalesnik, 2014/10/22
- Re: Automatic ottava handling, Gilberto Agostinho, 2014/10/22
- Re: Automatic ottava handling, Janek WarchoĊ, 2014/10/13
- Re: Automatic ottava handling, David Nalesnik, 2014/10/13
- Message not available
- Re: Automatic ottava handling, David Nalesnik, 2014/10/14