lilypond-user
[Top][All Lists]
Advanced

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

Re: Algorithm for calculating slur shape


From: Simon Albrecht
Subject: Re: Algorithm for calculating slur shape
Date: Fri, 22 Jan 2016 00:33:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 21.01.2016 23:49, Michael Kassler wrote:
I am a user of the Guido music notation system. I believe that Lilypond has
developed an algorithm for calculating slur shape given parameters such as
the (x,y) positions of notes in a passage to be slurred, the number of notes
in such a passage, etc. Have the details of any such algorithm been
published? If so, how can I obtain a copy?

Well, the source code is public: <http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=tree;hb=HEAD>. The algorithms you’d be looking for are written in C++, contained in the lily/ folder. I don’t think there’s an easier way to understanding than reading the source code.

HTH, Simon



reply via email to

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