Lines too long in piece with two sections for different instrumentsHow can I transfer the old partcombine syntax of lilypond to a version newer than 2.1.17?Is there a lilypond 'insert whitespace to fill line"?Rendering second ending closing bar when followed by another repeat in LilypondLilyPond vertical spacing, alternate endings, and chordsTop-aligning scores inside Lilypond markup blocksExtend measure so it occupies whole lineLilypond staffs extend past end of musicIn LilyPond (piano staff) how can I type two eighth notes for different hands?Increase space between lines of a staff in LilyPondOne staff with two sections and two voices
Does the usage of mathematical symbols work differently in books than in theses?
Will this series of events work to drown the Tarrasque?
multicol package causes underfull hbox
Who is frowning in the sentence "Daisy looked at Tom frowning"?
Why is Drogon so much better in battle than Rhaegal and Viserion?
How does this piece of code determine array size without using sizeof( )?
Driving a school bus in the USA
Is my company merging branches wrong?
Why does the U.S military use mercenaries?
How to customize the pie chart background in PowerPoint?
How can I monitor the bulk API limit?
Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?
Shortest amud or daf in Shas?
Is it a good idea to teach algorithm courses using pseudocode?
Are there any symmetric cryptosystems based on computational complexity assumptions?
how to create an executable file for an AppleScript?
In Dutch history two people are referred to as "William III"; are there any more cases where this happens?
How to get all possible paths in 0/1 matrix better way?
What should I wear to go and sign an employment contract?
When did Britain learn about the American Declaration of Independence?
How to draw pentagram-like shape in Latex?
Why aren't satellites disintegrated even though they orbit earth within earth's Roche Limits?
Have the writers and actors of GOT responded to its poor reception?
Can more than one instance of Bend Luck be applied to the same roll by multiple Wild Magic sorcerers?
Lines too long in piece with two sections for different instruments
How can I transfer the old partcombine syntax of lilypond to a version newer than 2.1.17?Is there a lilypond 'insert whitespace to fill line"?Rendering second ending closing bar when followed by another repeat in LilypondLilyPond vertical spacing, alternate endings, and chordsTop-aligning scores inside Lilypond markup blocksExtend measure so it occupies whole lineLilypond staffs extend past end of musicIn LilyPond (piano staff) how can I type two eighth notes for different hands?Increase space between lines of a staff in LilyPondOne staff with two sections and two voices
I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves
. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.
I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.
#(set-default-paper-size "letter")
version "2.18.2"
language "english"
global =
key c major
time 6/8
verseTreble = relative c'
c8 e g c g e
verseBass = relative c
c8 e g c g e
chorusSoprano = relative c'
chorusAlto = relative c'
score
<<
new PianoStaff <<
new Staff = "upper" verseTreble
new Staff = "lower" verseBass
>>
new ChoirStaff <<
new Staff <<
new Voice = "s"
chorusSoprano
>>
new Staff <<
new Voice = "a"
chorusAlto
>>
>>
>>
layout
% ragged-right = ##t
context
Staff
RemoveEmptyStaves
override VerticalAxisGroup.remove-first = ##t
Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.
lilypond engraving
add a comment |
I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves
. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.
I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.
#(set-default-paper-size "letter")
version "2.18.2"
language "english"
global =
key c major
time 6/8
verseTreble = relative c'
c8 e g c g e
verseBass = relative c
c8 e g c g e
chorusSoprano = relative c'
chorusAlto = relative c'
score
<<
new PianoStaff <<
new Staff = "upper" verseTreble
new Staff = "lower" verseBass
>>
new ChoirStaff <<
new Staff <<
new Voice = "s"
chorusSoprano
>>
new Staff <<
new Voice = "a"
chorusAlto
>>
>>
>>
layout
% ragged-right = ##t
context
Staff
RemoveEmptyStaves
override VerticalAxisGroup.remove-first = ##t
Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.
lilypond engraving
add a comment |
I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves
. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.
I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.
#(set-default-paper-size "letter")
version "2.18.2"
language "english"
global =
key c major
time 6/8
verseTreble = relative c'
c8 e g c g e
verseBass = relative c
c8 e g c g e
chorusSoprano = relative c'
chorusAlto = relative c'
score
<<
new PianoStaff <<
new Staff = "upper" verseTreble
new Staff = "lower" verseBass
>>
new ChoirStaff <<
new Staff <<
new Voice = "s"
chorusSoprano
>>
new Staff <<
new Voice = "a"
chorusAlto
>>
>>
>>
layout
% ragged-right = ##t
context
Staff
RemoveEmptyStaves
override VerticalAxisGroup.remove-first = ##t
Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.
lilypond engraving
I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-Part Refrain", which takes advantage of RemoveEmptyStaves
. However, Lilypond doesn't seem to be inserting any line breaks within the verse, so the music runs off the edge of the page.
I have tried to reduce the following example as much as possible, but it needs to have a lot of notes to reproduce the problem, so it is still a bit long. Sorry about that.
#(set-default-paper-size "letter")
version "2.18.2"
language "english"
global =
key c major
time 6/8
verseTreble = relative c'
c8 e g c g e
verseBass = relative c
c8 e g c g e
chorusSoprano = relative c'
chorusAlto = relative c'
score
<<
new PianoStaff <<
new Staff = "upper" verseTreble
new Staff = "lower" verseBass
>>
new ChoirStaff <<
new Staff <<
new Voice = "s"
chorusSoprano
>>
new Staff <<
new Voice = "a"
chorusAlto
>>
>>
>>
layout
% ragged-right = ##t
context
Staff
RemoveEmptyStaves
override VerticalAxisGroup.remove-first = ##t
Here is the output, converted to PNG. Note that the last 8 measures of the piano verse are off the page. No warnings are issued when compiling.
lilypond engraving
lilypond engraving
edited May 6 at 12:31
Richard
47k7114201
47k7114201
asked May 6 at 3:08
Nate EldredgeNate Eldredge
1334
1334
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2.
(or r2.*8
, etc.), you should instead have R2.
(or R2.*8
, etc.).
Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.
I'll also take this moment to mention the unfold
command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e
18 times, we can instead input repeat unfold 18 c8 e g c g e
which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18
instead of having to add/delete lines as necessary.
Thanks, I did not know aboutR
. And thanks also for the note aboutunfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.
– Nate Eldredge
May 6 at 13:09
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "240"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmusic.stackexchange.com%2fquestions%2f84592%2flines-too-long-in-piece-with-two-sections-for-different-instruments%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2.
(or r2.*8
, etc.), you should instead have R2.
(or R2.*8
, etc.).
Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.
I'll also take this moment to mention the unfold
command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e
18 times, we can instead input repeat unfold 18 c8 e g c g e
which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18
instead of having to add/delete lines as necessary.
Thanks, I did not know aboutR
. And thanks also for the note aboutunfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.
– Nate Eldredge
May 6 at 13:09
add a comment |
Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2.
(or r2.*8
, etc.), you should instead have R2.
(or R2.*8
, etc.).
Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.
I'll also take this moment to mention the unfold
command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e
18 times, we can instead input repeat unfold 18 c8 e g c g e
which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18
instead of having to add/delete lines as necessary.
Thanks, I did not know aboutR
. And thanks also for the note aboutunfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.
– Nate Eldredge
May 6 at 13:09
add a comment |
Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2.
(or r2.*8
, etc.), you should instead have R2.
(or R2.*8
, etc.).
Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.
I'll also take this moment to mention the unfold
command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e
18 times, we can instead input repeat unfold 18 c8 e g c g e
which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18
instead of having to add/delete lines as necessary.
Remember that full-measure rests in LilyPond are input with a capital R. Thus every instance where you have r2.
(or r2.*8
, etc.), you should instead have R2.
(or R2.*8
, etc.).
Making this change in all voices corrects the problem. In the example you gave, it's present in the final lines of both the treble and bass and it's present in two lines each for the soprano and alto.
I'll also take this moment to mention the unfold
command in LilyPond. Perhaps you're already aware of this and just didn't include it in your MWE, but instead of writing out c8 e g c g e
18 times, we can instead input repeat unfold 18 c8 e g c g e
which will do all of that work for us. And if we need to make edits, it's also much easier to just change the 18
instead of having to add/delete lines as necessary.
edited May 6 at 12:30
answered May 6 at 4:07
RichardRichard
47k7114201
47k7114201
Thanks, I did not know aboutR
. And thanks also for the note aboutunfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.
– Nate Eldredge
May 6 at 13:09
add a comment |
Thanks, I did not know aboutR
. And thanks also for the note aboutunfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.
– Nate Eldredge
May 6 at 13:09
Thanks, I did not know about
R
. And thanks also for the note about unfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.– Nate Eldredge
May 6 at 13:09
Thanks, I did not know about
R
. And thanks also for the note about unfold
. I had just wanted to replace the notes of the actual song with something simple, to rule out the possibility of a problem with them, and it seemed best not to try anything new and risk introducing more bugs. But it could be useful in the future.– Nate Eldredge
May 6 at 13:09
add a comment |
Thanks for contributing an answer to Music: Practice & Theory Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmusic.stackexchange.com%2fquestions%2f84592%2flines-too-long-in-piece-with-two-sections-for-different-instruments%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown