[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with String Orchestra Template Please
From: |
Simon Albrecht |
Subject: |
Re: Help with String Orchestra Template Please |
Date: |
Sun, 6 Oct 2019 23:37:22 +0200 |
On 06.10.19 23:11, Ben wrote:
I've never had to use quotes before and I must admit, I am very
confused about the syntax. I just consulted the manual and tried to
copy and paste some code so I can learn it and tweak it, but I am
getting warnings directly from the documentation.
That second example in the docs there is actually a little weird. To the
documentation’s defense, it does say: “If the music expression used in
|\quoteDuring| contains notes instead of spacer or multimeasure rests
then the quote will appear as polyphony and may produce unexpected
results.” So these warnings are probably what’s meant by ‘unexpected
results’, but for one thing this kind of ‘quote in parallel’ is
certainly a very unusual use case; for another we really shouldn’t have
any examples in our docs that cause warnings (unless maybe that is very
explicitly stated in the preceding text and serves an important purpose).
Any chance you know what is going on? I'm finding the whole quote
system difficult to wrap my head around. I don't see why (or how?) it
works in your divisi code, and I'd like to be able to grasp it.
The second argument to \quoteDuring is a music expression that usually
consists just of one spacer rest and can hence normally be written
without surrounding brackets—just like the first argument, a string, can
now be written without # and "":
\quoteDuring flute s1
means ‘for the duration of one bar (assuming we’re in 4/4) insert the
notes the flute plays at this time’. Once \quoteDuring has retrieved the
notes from the flute part, the way they are inserted behaves like this:
\context Bottom <<
% music retrieved from flute part
% music supplied as second argument to \quoteDuring
>>
That means: within the current voice, insert the two music expressions
simultaneously.
If both contain actual rests at the same time, that’s what generates the
warning, because you’re not supposed to have multiple simultaneous rests
within one voice.
HTH,
Simon