[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spacer rest *
From: |
Simon Albrecht |
Subject: |
Re: spacer rest * |
Date: |
Fri, 27 Apr 2018 15:45:00 +0200 |
On 27.04.2018 10:53, Gianmaria Lari wrote:
To fix it I found two different ways.
First one:
\version "2.19.81"
\score {
\new Voice <<
{f4 g a b}
{s4\< s4 s4 s4\!}
Other possibilities:
{ s4*3\< s4\! }
{ s2.\< s4\! }
{ s4\< s s s\! }
By the way: It is customary to always surround { and } with whitespace,
even if it’s not technically necessary, and I like that convention
because it’s much better to read that way.
>>
\layout {}
}
... and second one (but I'm not sure it is "correct" even if it
compiles and works...)
\version "2.19.81"
\score {
\new Voice <<
{f4 g a b}
\new Dynamics {s4\< 4 4 4\!}
>>
\layout {}
}
If you’re doing that, you can go all the way and write
\new Dynamics { 4\< 4 4 4\! }
Then all the ‘4’s are converted into note events, which are ignored in a
Dynamics context.
And.... why spacer rests and rests don't "propagate" like note?
Because isolated durations are automatically interpreted as note events,
whose pitch is taken from the last encountered pitch. (Notes, rests and
spacer rests generate different kinds of event.)
Even if David K. says that could be changed, I find the current
behaviour pretty clear and sensible from my experience.
Best, Simon
- Re: spacer rest *, (continued)
- Re: spacer rest *, Andrew Bernard, 2018/04/27
- Re: spacer rest *, David Wright, 2018/04/27
- Re: spacer rest *, David Kastrup, 2018/04/27
- Re: spacer rest *, Gianmaria Lari, 2018/04/27
- Re: spacer rest *, David Wright, 2018/04/27
- Re: spacer rest *, David Kastrup, 2018/04/27
- Re: spacer rest *, Gianmaria Lari, 2018/04/27
- Re: spacer rest *, David Wright, 2018/04/30
- Re: spacer rest *, David Kastrup, 2018/04/30
- Re: spacer rest *, David Wright, 2018/04/30
Re: spacer rest *,
Simon Albrecht <=