Bob Dunsire Bagpipe Forums (http://forums.bobdunsire.com/forums/index.php)
-   Webmaster & Software (http://forums.bobdunsire.com/forums/forumdisplay.php?f=364)
-   -   Automatic note beams in Lilypond (http://forums.bobdunsire.com/forums/showthread.php?t=168534)

 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

http://lilypond.org/doc/v2.19/Docume...notation/beams

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

Calum,

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

Code:

`\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.

Code:

`\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.

Code:

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

-Joe

 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:

Code:

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

Back to writing! :willy:

-Joe

 All times are GMT -7. The time now is 06:37 PM.