lilypond-user
[Top][All Lists]
Advanced

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

Re: Slurs do not work with Larsen articulations


From: Thomas Morley
Subject: Re: Slurs do not work with Larsen articulations
Date: Wed, 25 Apr 2018 21:46:04 +0200

Hi Carl,

2018-04-25 13:26 GMT+02:00 Carl Sorensen <address@hidden>:
> Evan,
>
> Thanks for your feedback.  Feedback from new users is important for improving 
> the Learning Manual.

Indeed.

> There is a point that I was trying to make with these changes, without 
> jumping right out and saying it (because I couldn’t find a good place to jump 
> out and say it).  In LilyPond, *ALL* extra things that apply to a note are 
> added *after* a note, not before.

To be complete.
There's one exception I'm aware of: ligatures:
\[ g' c, a' f d' \]

> And they are *not* added after a "note pitch".  A note consists of a pitch 
> plus a duration.  For a given note, either the pitch or the duration can be 
> implicit, which means they are not included in the input but instead get 
> their value from the previous note.  Following the note, we get all the 
> modifiers.
>
> This pattern needs to be understood to be successful in working with 
> LilyPond.  Once you understand this, it's clear that you can't use the ABC 
> notation of enclosing a series of notes in parentheses.

Reading this thread I looked for a LM section explaining this
postfix-syntax and couldn't find any, did I overlook something?

If not,  think it should be inserted in section
LM
3. Fundamental concepts
3.1 How LilyPond input files work

My proposal:

%%%%%%%% proposal-start

LM 3.1.4 Attaching other elements to a note - postfix-syntax

Writing a note means to enter a pitch with a duration (which may be implicit).
Ofcourse several other elements may belong to this note, like fingerings,
articulations, slurs, ties, text etc.

All those elements are _attached_ to the note. An example in pseudo-code:

  Note-of-pitch-c'-and-duration-8
    with fingering 1
    with articulation tenuto
    with starting slur
    with starting tie
    with text 'what-ever-remark'

Attaching elements in this mannor is called postfix-syntax.

The above pseudo-code-example would be done in LilyPond-syntax as

{
  c'8-1---(-~-\markup "what-ever-remark"
  %% end Slur
  c'-)
}

The "-"-sign inserts the elements into the list of elements attached to this
note.
Ofcourse all those "-"-signs are probably hard to read, so for convenience most
of them can be omitted. Above can be rewritten as:

{
  c'8-1--(~\markup "what-ever-remark" c')
}


LM 3.1.5 On the un-nestedness of brackets and ties

%%%%%%%% proposal-end


Ofcourse this only a sketch.
Probably links to further explanations should be added. etc


Cheers,
  Harm



reply via email to

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