lilypond-user
[Top][All Lists]
Advanced

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

Re: manual beaming and variables


From: David Kastrup
Subject: Re: manual beaming and variables
Date: Sun, 27 Aug 2017 08:57:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Gianmaria Lari <address@hidden> writes:

> Need some help. This works:
>
> \version "2.19.60"
>
> note = {a8}
>
> {
>   {\note b b b}
> }
>
>
> but if I explicitly set the beaming like this
>
> \version "2.19.60"
>
> note = {a8}
>
> {
>   {\note [b b b]}
> }
>
>
> it doesn't compile. Why and how I can fix it?

You'd have to write

    note = a8

to even have a chance: sequential music enclosed in { } cannot get a
beam: which expression should even get it?

However, LilyPond does not permit adding "post events" after the fact
(never mind their name).  You can use

{
  <>[ \note b b b]
}

to have the beam start event on an empty chord with duration 0.  This
will work reasonably well for beaming but not for post events (like
string numbers) that need to be attached to single notes rather than
moments of time.

-- 
David Kastrup



reply via email to

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