|
From: | Jon Arnold |
Subject: | Re: Trouble with Polyphony |
Date: | Sat, 27 May 2017 15:51:25 -0500 |
2017-05-27 5:06 GMT+02:00 Jon Arnold <address@hidden>:
> I'm trying to print a note simultaneous to a rest but have the rest be in
> normal \oneVoice position. (This is to illustrate a harp muffle of a single
> note.)
>
> This is basically how I'm doing it (minus the complicated code of replacing
> the stem glyph):
>
> << { r8 } {\tiny \stemDown \omit Flag bes,,8} >>
>
> The problem is that this also affects the fontsize of the rest (which seems
> odd to me since they in separate braces).
>
> So I tried:
>
> << {r8} \new Voice {\tiny \stemDown \omit Flag bes,} >>
>
> But this gives a compiling error:
>
> Drawing systems...lilypond:
> /home/gub/NewGub/gub/target/linux-64/src/lilypond-git.sv. gnu.org--lilypond.git-release- unstable/flower/include/drul- array.hh:35:
> T& Drul_array<T>::at(Direction) [with T = double]: Assertion `d == 1 || d ==
> -1' failed.
> Aborted
>
> I get the same error if use the \\ part separator and use \oneVoice on the
> rest to try to get it in the right spot.
>
> Oddly though, I do not get the error using the last line of code in a blank
> file, but it does not print the rest within the staff.
>
> I'm using 2.19.61.
>
> Thanks for any help.
Below's all working.
I never got the assertion failure, though.
\new Staff
<<
{ \tweak staff-position #0 r8 }
\\
{ \tiny \omit Flag bes }
>>
\new Staff
<<
{ \tweak staff-position #0 r8 }
\new Voice { \stemDown \tiny \omit Flag bes }
>>
\new Staff
<<
b'8\rest %% NB Rest is transposeable
\new Voice { \stemDown \tiny \omit Flag bes }
>>
HTH,
Harm
[Prev in Thread] | Current Thread | [Next in Thread] |