lilypond-user
[Top][All Lists]
Advanced

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

Re[2]: trillspan


From: E Appeldoorn
Subject: Re[2]: trillspan
Date: Wed, 16 Mar 2022 19:29:36 +0000
User-agent: eM_Client/8.2.1659.0

THank you

I knew the <> as a 'stay in this place' type of anchor. I do not know the proper word for it. But yes, your solution did work. I needed a bit of tweaking because the TrillSpan jumped to the right a bit. But got it fixed and it looks as needed. Thanks again.

vriendelijke groet, Erik Appeldoorn

------ Origineel bericht ------
Van: "Valentin Petzel" <valentin@petzel.at>
Aan: "Lilypond" <lilypond-user@gnu.org>
CC: "E Appeldoorn" <ursus.kirk@gmail.com>
Verzonden: 16-3-2022 19:58:22
Onderwerp: Re: trillspan

Hello Erik,

\startTrillSpan is a post event, so you need to specify it after the note you
want the trill to start on. You can use empty chords <> to circumvent this and
kind of specify the span before the first note.

You still won’t get any change, as trill spans are by default outside-staff
grobs, so Lilypond will only position them over or under a staff, but never
within (unless we try hard by using extra-offset or hacks).

Thus if you want to have the spanner insider of the staff you need to tell
Lilypond not to handle it as outside staff object, which can be done by setting
the outside-staff-priority to '() or #f.

Finally the Y-offset will be measured from the center of the staff. This means
it might useful to use the offset command instead of directly going by Y-offset.
Or maybe not.

See here your amended example:

{
  \once \override TrillSpanner.outside-staff-priority = #'()
  \once \offset Y-offset #-2 TrillSpanner <>\startTrillSpan a4*5
\stopTrillSpan }

Cheers,
Valentin

Am Mittwoch, 16. März 2022, 16:40:40 CET schrieb E Appeldoorn:
 I wanted to move a TrillSpann downwards to within the bar on the middle
 barline.
 I finaly came up with
 \once \override TrillSpanner.Y-offset = #-2 \startTrillSpan a4*5
 \stopTrillSpan
 But got an error 'unbound TrillSpannEvent' and nothing has changed.
 So how do I move that TrillSpanner southwards?
 (version 22.2.1)

 Thanks.
 vriendelijke groet, Erik Appeldoorn





reply via email to

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