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 > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user