lilypond-user
[Top][All Lists]
Advanced

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

Find ties enclosed in slur (while overriding stencil)


From: Urs Liska
Subject: Find ties enclosed in slur (while overriding stencil)
Date: Tue, 14 Mar 2017 11:52:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Hi,

I'm trying to determine if a slur includes ties in order to do some
layout calculations.

I'm overriding a stencil and have retrieved the slur's 'note-columns.
Now I want to know if any of these note-columns (or enclosed note heads
has a tie attached to it.

I see that NoteColumn has a note-heads property. However, accessing
these note heads and then asking for their ly:grob-object  NAME 'ties
returns empty lists only.

So what is the proper way to assess all the note columns within a slur
and retrieve any included ties?
The information I actually need is the note head's staff position and
the tie's direction.

Any suggestions?
Urs

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

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