lilypond-user
[Top][All Lists]
Advanced

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

Re: [Correction] Is there a bug in the way Lilypond handles SLURS?


From: Urs Liska
Subject: Re: [Correction] Is there a bug in the way Lilypond handles SLURS?
Date: Mon, 15 Feb 2016 17:07:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Hi Devin,

you're welcome, but this is not a bug but a characteristic of LilyPond's
syntax.

Slurs (and beams) are not use in an "enclosing" way but are written
after the note they affect.
So the end of a slur is written after the final note. In your first
example (the non-functional) the closing slur would be applied to the
"outside" of the tuplet expression, but in fact it should be applied to
the last note, and therefore the ")" must be written after that note.
After the "}" you have left the context where the slur should apply.

HTH
Urs

Am 15.02.2016 um 17:03 schrieb Devin:
> [This is a correction of previous messsage -- I meant "slurs", not
> "staccato". SORRY!]
>
> Hi,
>
> I am working with Walter Bender on a visual programming language called
> "Music Blocks" (http://musicblocks.net).
>
> Neither of us know Lilypond well enough, so maybe someone on this list
> can help us out.
>
> As part of Music Blocks software, we are developing a feature where the
> user can export to lilypond and we have a SLUR feature in our own
> code, which we are trying to get to go down the pipeline to the lilypond
> code.
>
> Our Question:
>
> Is this a bug?
>
> This doesn't work:
> a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8} )
>
> But this does:
>
> a'4 (b'4 \tuplet 3/2 {a'8 b'8 c'8) }
>
> (The parenthesis and brackets must be flipped in order for the lilypond
> code to work)
>
> It does not make sense to me and Walter, but then again we may not be
> familiar enough with how Lilypond works.
>
> At any rate, we are able to generate code either way, but if this is an
> issue we thought to bring it up now. Our full conversation can be found
> at
> https://github.com/walterbender/musicblocks/issues/180#issuecomment-184214934
>
> Devin
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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