Re: Stem Combining
Risto Vääräniemi wrote: I was hoping to get results as presented in the attached image (situation was staged). I had one song that I wanted to cram into a smaller space. Since all the rhythms were the same on both voices I decided to put the stems in the same direction. Opposite stems would have taken too much space. To get this result I had to use chords. You don't need chords. Just enter the two lines of music in the same Voice context. Unfortunately, when there's only a single note, you will get an ugly result if you repeat it in both lines of music, so you have to replace one of them by a spacer note. Your example can therefore be entered as \version 2.10.0 upper = \relative c'{ a8 e' e d e a, a d ~ | d c d e c a a4 } lower = \relative c'{ s8 c c b c s s b ~ | b a b c a ( e ) e4 } \score{ \new Voice \upper \lower } /Mats -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
Daniel Cheramie lilypond at chosenones.dyndns.org writes: I would like to be able to specify each part individually and have them combined automatically. Is there some simple way to achieve this with Lilypond? I can provide an example if needed of one I have done by hand. Thanks, Daniel Daniel, An example would help. Arno Rog ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
Am 04.09.2008 um 03:57 schrieb Daniel Cheramie: Hi All, I am typesetting a number of SATB hymns and noticed that mine look quite ugly because of not combining stems in the desired manner. The hymnals I have seen combine most stems on the SA and TB parts except for: * Notes less than 2 steps apart * Notes of different durations * Eighth or sixteenth notes that are beamed ar enot combined if the other beamed note isn't. I would like to be able to specify each part individually and have them combined automatically. Is there some simple way to achieve this with Lilypond? I can provide an example if needed of one I have done by hand. Thanks, Daniel Automatically? That would be kind of difficult. (Except with Scheme, I don't know a thing about it, but I'm convinced now that anything that's difficult or cumbersome in lilypond becomes infinitely easier if you know Scheme.) The problems, as I see them are this: 1) Part combine would combine the notes that are the same into one stem, but also all notes that are the same rhythmic value and only has stems in opposite directions when they are different rhythmic values. 2) Multiple voices (which is probably what you're using) has all stems opposite on all notes (and has the problem of two rests which looks reeally ugly) The best solution I can think of would be to do it yourself, and code it like piano music with lyrics. Because, if you're looking at two stave-hymnals, while it's good for a choir, the stems as they are are an aid to an accompanist, as a singer, I hate not having my stems clearly show me which part I'm looking at. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
I'm surprised that nobody has mentioned \partcombine, so far. It's probably the closest you can get to your wishes, with the built-in support in LilyPond. See Section Automatic part combining in the manual for more information. Note that the current part combiner has a number of issues, though. /Mats James E. Bailey wrote: Am 04.09.2008 um 03:57 schrieb Daniel Cheramie: Hi All, I am typesetting a number of SATB hymns and noticed that mine look quite ugly because of not combining stems in the desired manner. The hymnals I have seen combine most stems on the SA and TB parts except for: * Notes less than 2 steps apart * Notes of different durations * Eighth or sixteenth notes that are beamed ar enot combined if the other beamed note isn't. I would like to be able to specify each part individually and have them combined automatically. Is there some simple way to achieve this with Lilypond? I can provide an example if needed of one I have done by hand. Thanks, Daniel Automatically? That would be kind of difficult. (Except with Scheme, I don't know a thing about it, but I'm convinced now that anything that's difficult or cumbersome in lilypond becomes infinitely easier if you know Scheme.) The problems, as I see them are this: 1) Part combine would combine the notes that are the same into one stem, but also all notes that are the same rhythmic value and only has stems in opposite directions when they are different rhythmic values. 2) Multiple voices (which is probably what you're using) has all stems opposite on all notes (and has the problem of two rests which looks reeally ugly) The best solution I can think of would be to do it yourself, and code it like piano music with lyrics. Because, if you're looking at two stave-hymnals, while it's good for a choir, the stems as they are are an aid to an accompanist, as a singer, I hate not having my stems clearly show me which part I'm looking at. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
2008/9/4 Mats Bengtsson : I'm surprised that nobody has mentioned \partcombine, so far. It's probably the closest you can get to your wishes, with the built-in support in LilyPond. See Section Automatic part combining in the manual for more information. Note that the current part combiner has a number of issues, though. Yes, it has. I tried once to combine soprano and alto voices and although it produced fine looking music the biggest obstacle was attaching lyrics to the combined voice. It might be possible to use it by using associatedVoice but that was too complex and I decided to create the voice by hand with chords x y. If someone has found out a solution that will allow attaching lyrics to partcombined voice I'd be very happy to hear of it. :-) -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
Am 04.09.2008 um 12:00 schrieb Risto Vääräniemi: 2008/9/4 Mats Bengtsson : I'm surprised that nobody has mentioned \partcombine, so far. It's probably the closest you can get to your wishes, with the built-in support in LilyPond. See Section Automatic part combining in the manual for more information. Note that the current part combiner has a number of issues, though. Yes, it has. I tried once to combine soprano and alto voices and although it produced fine looking music the biggest obstacle was attaching lyrics to the combined voice. It might be possible to use it by using associatedVoice but that was too complex and I decided to create the voice by hand with chords x y. If someone has found out a solution that will allow attaching lyrics to partcombined voice I'd be very happy to hear of it. :-) -Risto What's the problem? voiceone = \context Voice = voice one \relative { \stemDown c'4 h a g f e d2 c1 } voicetwo = \relative { \stemUp e'4 d c h a g a^( h) c1 } words = \lyricmode { I vii vi V IV iii ii vii I } \score { \new Staff \with { printPartCombineTexts = ##f } \partcombine \voiceone \voicetwo \new Lyrics \lyricsto voice one \words } It works fine for me. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
2008/9/4 James E. Bailey [EMAIL PROTECTED]: What's the problem? \score { \new Staff \with { printPartCombineTexts = ##f } \partcombine \voiceone \voicetwo \new Lyrics \lyricsto voice one \words } Thanks for the tip. I was trying to attach the lyrics to the combined voice and not to an original one. Based on the section Automatic part combining I thought that the original voices wouldn't exist after the partcombine. This would be a nice addition to the LSR if it was up (and if this isn't already there). :-( -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
2008/9/4 Risto Vääräniemi: 2008/9/4 James E. Bailey: What's the problem? Thanks for the tip. I was trying to attach the lyrics to the combined voice and not to an original one. Based on the section Automatic part combining I thought that the original voices wouldn't exist after the partcombine. This would be a nice addition to the LSR if it was up (and if this isn't already there). :-( Sorry for troubling you again. I am not able to make your example work. If I use it as is (except add \version 2.11.56 and \include deutsch.ly or suomi.ly) the stems point in opposite directions. I have to remove the \context Voice = voice one and reverse the voices inside partcombine to actually get the voices combined. However then I can't use the lyrics. :-( Should I upgrade to 2.11.57? -Risto % \version 2.11.56 \include deutsch.ly voiceone = \context Voice = voice one \relative { \stemDown c'4 h a g f e d2 c1 } voicetwo = \relative { \stemUp e'4 d c h a g a^( h) c1 } words = \lyricmode { I vii vi V IV iii ii vii I } \score { \new Staff \with { printPartCombineTexts = ##f } \partcombine \voiceone \voicetwo \new Lyrics \lyricsto voice one \words } % attachment: partcombine_jb.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
What were you looking for in terms of combining? Typically, I found partcombine best when the parts are occasionally the same, but it can be adapted to normal multiple voice music, I guess. In the image that I see, the lower voice has stems down, the upper voice has stems up and the lyrics are attached to the voice? Did you want the stems pointing in the same direction? Just make the stem directions the same then. Lilypond will complain about overlapping note columns, though… Perhaps a better example would be voiceone = \context Voice = voice one \relative { c'4 b a g f e f2 c1} voicetwo = \relative {c'4 b a g f e \stemDown d_( b) \stemNeutral c1} Am 04.09.2008 um 16:26 schrieb Risto Vääräniemi: I am not able to make your example work. If I use it as is (except add \version 2.11.56 and \include deutsch.ly or suomi.ly) the stems point in opposite directions. I have to remove the \context Voice = voice one and reverse the voices inside partcombine to actually get the voices combined. However then I can't use the lyrics. :-( inline: part combine.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
2008/9/4 James E. Bailey [EMAIL PROTECTED]: Perhaps a better example would be voiceone = \context Voice = voice one \relative { c'4 b a g f e f2 c1} voicetwo = \relative {c'4 b a g f e \stemDown d_( b) \stemNeutral c1} Have you noticed what happens if you remove \partcombine in your example? :) Partcombining isn't designed to work with lyrics; once you explicitly name one of the voices, and try to attach lyrics to it, the partcombining stops working. Internally, the two voices are given the names one and two, but these only exist when the individual parts have different durations. For example, if I change your snippet slightly, voiceone = \context Voice = one \relative { c'4 b a g f e f2 c1} voicetwo = \relative {c'4 b a g f e \stemDown d_( b) \stemNeutral c1} words = \lyricmode { I vii vi V IV iii ii vii I } \score { \new Staff \with { printPartCombineTexts = ##f } \partcombine \voiceone \voicetwo \new Lyrics \lyricsto one \words } you can see that the lyrics only find voice one when the voices split. Regards, Neil attachment: test.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
Am 04.09.2008 um 18:06 schrieb Neil Puttock: 2008/9/4 James E. Bailey [EMAIL PROTECTED]: Perhaps a better example would be voiceone = \context Voice = voice one \relative { c'4 b a g f e f2 c1} voicetwo = \relative {c'4 b a g f e \stemDown d_( b) \stemNeutral c1} Have you noticed what happens if you remove \partcombine in your example? :) Partcombining isn't designed to work with lyrics; once you explicitly name one of the voices, and try to attach lyrics to it, the partcombining stops working. Internally, the two voices are given the names one and two, but these only exist when the individual parts have different durations. For example, if I change your snippet slightly, Well that makes sense. And is yet another reason why I've never even attempted to use partcombine with lyrics. Multiple voices always worked for me. -_- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
2008/9/4 James E. Bailey [EMAIL PROTECTED]: What were you looking for in terms of combining? I was hoping to get results as presented in the attached image (situation was staged). I had one song that I wanted to cram into a smaller space. Since all the rhythms were the same on both voices I decided to put the stems in the same direction. Opposite stems would have taken too much space. To get this result I had to use chords. -Risto attachment: partcombine_rv.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Stem Combining
Am 04.09.2008 um 18:17 schrieb Risto Vääräniemi: 2008/9/4 James E. Bailey [EMAIL PROTECTED]: What were you looking for in terms of combining? I was hoping to get results as presented in the attached image (situation was staged). I had one song that I wanted to cram into a smaller space. Since all the rhythms were the same on both voices I decided to put the stems in the same direction. Opposite stems would have taken too much space. To get this result I had to use chords. Yeah, from that image, I wouldn't think of anything but chords. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user