[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: music patterns and octave
From: |
David Wright |
Subject: |
Re: music patterns and octave |
Date: |
Wed, 9 Mar 2016 17:51:42 -0600 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed 09 Mar 2016 at 17:57:25 (+0100), Gianmaria Lari wrote:
> Last "relative" applies only to the whole musical expression generated by
> "changePitch". You can see it clearly here:
> \version "2.19.35"
> \include "changePitch.ly"
> pattern =
> {
> r2 a16 a8 a8 a16
> }
> \relative c'''
> {
> a4 c e g
> \relative c' \changePitch \pattern {a b c d}
> a4 c e g
> }
Hmm. Not nice, in my eyes. I prefer to set my notes (set as in jelly)
early rather than late. The example attached is somewhat artificial
but it illustrates the difference. To run it, you need the scheme code
from page 12 of the Notation Manual (2.19.36), also attached.
Page 14 of the Learning Manual says:
"Accidentals are totally ignored in the calculation of relative position."
Setting the notes early makes the result less surprising in this case,
thereby following the Principle of Least Astonishment/Surprise.
Cheers,
David.
relative.ly
Description: Text Data
relative.pdf
Description: Adobe PDF document
scheme-code-from-page-12-of-the-NM
Description: Text document