lilypond-user
[Top][All Lists]
Advanced

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

Re: music patterns and octave


From: Gianmaria Lari
Subject: Re: music patterns and octave
Date: Wed, 9 Mar 2016 17:57:25 +0100

I'm sorry I have not been clear in my old messages, hope my last one it is clearer.

Regarding:

\relative c'
   {
   ...
     \setOctave c'
     \relative c' \changePitch \rhythmPattern { ...

I'm not even sure of how LP interprets that last \relative.


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  
}
 
I attached the output.
Ciao, g.

Attachment: Capture.PNG
Description: PNG image


reply via email to

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