Bob Dunsire Bagpipe Forums

Bob Dunsire Bagpipe Forums (
-   Webmaster & Software (
-   -   Automatic note beams in Lilypond (

Joseph Diodato 07-05-2019 11:49 PM

Automatic note beams in Lilypond
I'm having a rather curious issue, that perhaps the more experienced Lilypond users could help with.

I'm working on notating the first bar of an exercise (.ly and .pdf files linked here on my GitHub page), and I can't for the life of me figure out how to properly beam the eigth notes in the first measure. I'd like to beam the notes exactly as they are in the second measure, while keeping all of the doublings.

Am I missing something here?

CalumII 07-06-2019 07:18 AM

Re: Automatic note beams in Lilypond

Presumably the doublings confuse the internal logic of Lilypond, so you'll probably have to look at the section on manual beaming.

Joseph Diodato 07-06-2019 04:46 PM

Re: Automatic note beams in Lilypond

Thank you for the reply. For reference, here is the original line:


\dblG G8 \dbla a \dblb b \dblG G
After referencing the manual beam section, using the \relative command and enclosing the line in brackets yielded the same results.


\relative [\dblG G8 \dbla a \dblb b \dblG G]
Enclosing the \relative block with curly brackets as shown in the manual beam examples only yielded an error upon compilation.


\relative {
[\dblG G8 \dbla a \dblb b \dblG G]

A head scratcher indeed,


Joseph Diodato 07-09-2019 11:55 PM

Re: Automatic note beams in Lilypond
Thought I'd follow up, as I've figured out what was going on! The problem was an easy enough fix -- my brackets simply weren't in the right place! The correct notation is as follows:


\dblG G8 [\dbla a] \dblb b [\dblG G]
The \relative command and curly brackets wasn't necessary at all.

Back to writing! :willy:


All times are GMT -7. The time now is 08:20 AM.