lilypond-user
[Top][All Lists]
Advanced

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

Re: Multi-measure spacer rests


From: Jean Abou Samra
Subject: Re: Multi-measure spacer rests
Date: Sun, 13 Nov 2022 22:16:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Le 13/11/2022 à 21:44, Sámuel Simon-Németh a écrit :
\version "2.23.80"

\new Dynamics \with { % some settings here } { % for shared dynamics
      s1 \p
      s \>
      s \!
      s
      s
      s
      s
      s
      s
      \mf

}

works, but

\version "2.23.80"

\new Dynamics \with { % some settings here } { % for shared dynamics
      s1 \p
      s \>
      s \!
      s1*6
      \mf

}

puts it in the 4th measure, presumably ignoring the *6 part.

Thanks for the quick response,

Sam



Hi,

I am adding back the list in CC. Please always include the list in your
replies (use "Reply to all", not "Reply"). This way, everyone can
participate.

The problem is that you are misunderstanding the syntax of \mp. It
is not something standalone, it attaches to a note or rest or spacer
rest. The code

\version "2.23.80"

\new Dynamics {
  s1 \p
  s \>
  s \!
  s1*6
  \mf
}


would be more clearly formatted as

\version "2.23.80"

\new Dynamics {
  s1 \p
  s \>
  s \!
  s1*6\mf
}


The \mf dynamic attaches to the beginning of the
s1*6 spacer rest, just like it attaches to the
first note in this example:

\version "2.23.80"

{
  c'1\mf c'1
}


So, you need to move \mf to the next spacer after s1*6.

\version "2.23.80"

\new Dynamics {
  s1 \p
  s \>
  s \!
  s1*6
  s1\mf
}

Alternatively, you could attach the dynamic to a so-called
"empty chord". The above is equivalent to

\version "2.23.80"

\new Dynamics {
  s1 \p
  s \>
  s \!
  s1*6
  <>\mf
  s1
}


Best,
Jean




Alternatively, attach it to a so-called "empty chord"

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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