Re: Vertical alignment of lyrics to multiple voices
[EMAIL PROTECTED]: > You might find the postings at http://partoches.bearteam.org/ useful. There > is a link to ly source files near the bottom of the page. That link (http://partoches.bearteam.org/jazz.tar.gz) gives $ wget -x http://partoches.bearteam.org/jazz.tar.gz --09:34:09-- http://partoches.bearteam.org/jazz.tar.gz => `partoches.bearteam.org/jazz.tar.gz' Resolving partoches.bearteam.org... 62.212.101.94 Connecting to partoches.bearteam.org|62.212.101.94|:80... connected. HTTP request sent, awaiting response... 404 Not Found 09:34:10 ERROR 404: Not Found. Regards, /Karl --- Karl HammarAspö Data [EMAIL PROTECTED] Lilla Aspö 2340Networks S-742 94 Östhammar +46 173 140 57 Computers Sweden +46 70 511 97 84 Consulting --- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Vertical alignment of lyrics to multiple voices
Jack - You might find the postings at http://partoches.bearteam.org/ useful. There is a link to ly source files near the bottom of the page. - Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Cooper Sent: Sunday, December 31, 2006 3:42 PM To: lilypond-user@gnu.org Subject: Vertical alignment of lyrics to multiple voices Happy new year! I have been navigating the lilypond world for the past six months and have been primarily exploring lilypond as a tool for creating leadsheets and songbooks. My main interest is figuring out how to create an efficient template for creating a leadsheet (or "fakebook" style sheet) for all types of modern guitar-vocal based songs. I am wrestling with the formatting for lyrics. I am aiming for a modular approach to constructing lilypond input so that I can format sheets for a wide variety of song styles. The main problem I am having is the vertical alignment of lyrics assigned to one or more voice contexts. I will start off with a small example to exemplify the problem. In the following example, I am printing off the melody and lyrics to "Frere Jacques". I creating separated voice contexts for each "section" of the song, and am assigning lyrics to each section. The resulting output properly assigns the correct lyric to the correct voice, but the different lyrics are rendered on the same vertical line- each successive lyric is placed lower than the one preceding it. How do I change this so that each lyric snippet is vertically aligned? All my keyword searcing through the archives and manual hasn't come up with anything that seems to work (I've tried overriding the minimum-Y-extent and Y-offset of the lyric context with no discernable change). Any suggestions welcomed! Thanks, Jack -- code snippet: \version "2.8" \include "english.ly" melodya = { \clef treble \key c \major \time 4/4 c'4 d'4 e'4 c'4 | c'4 d'4 e'4 c'4 | } melodyb = { e'4 f'4 g'2 | e'4 f'4 g'2 | } melodyc = { g'8 a'8 g'8 f'8 e'4 c'4 | g'8 a'8 g'8 f'8 e'4 c'4 | } melodyd ={ c'4 g4 c'2 | c'4 g4 c'2 \bar"||"} melody = {\new Voice = "a" {\melodya} \new Voice = "b" {\melodyb} \new Voice = "c" {\melodyc} \new Voice = "d" {\melodyd}} texta = \lyricmode { Fre -- re Jacqu -- es, Fre -- re Jacqu -- es, } textb = \lyricmode { Dor -- mez Vous? Dor -- mez vous? } textc = \lyricmode { Sonn -- ez les ma -- tin -- es, Sonn -- ez les ma -- tin -- es, } textd = \lyricmode { Din, din don! Din, din don! } \score { << \new Voice = "whole" {\new Voice ="a" {\melodya} \new Voice="b" {\melodyb} \new Voice="c" {\melodyc} \new Voice="d" {\melodyd}} \new Lyrics\lyricsto "a" \texta \new Lyrics\lyricsto "b" \textb \new Lyrics\lyricsto "c" \textc \new Lyrics\lyricsto "d" \textd >> \layout { } } --- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Vertical alignment of lyrics to multiple voices
Mats Bengtsson <[EMAIL PROTECTED]> wrote: Every time you do \new Lyrics, you get a new Lyrics context, which is placed on a separate line. Just include all your lyrics sections into one and the same Lyrics context if you want them vertically aligned, i.e. replace your current \score block with \score { << \new Staff = "whole" {\new Voice ="a" {\melodya} \new Voice="b" {\melodyb} \new Voice="c" {\melodyc} \new Voice="d" {\melodyd}} \new Lyrics << \lyricsto "a" \texta \lyricsto "b" \textb \lyricsto "c" \textc \lyricsto "d" \textd >> >> \layout { } } /Mats Thank you very much! It helps me very much to see a working example.. I'm beginning to understand more of the subtleties of this package inch by inch.. Cheers, Jack ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Vertical alignment of lyrics to multiple voices
Every time you do \new Lyrics, you get a new Lyrics context, which is placed on a separate line. Just include all your lyrics sections into one and the same Lyrics context if you want them vertically aligned, i.e. replace your current \score block with \score { << \new Staff = "whole" {\new Voice ="a" {\melodya} \new Voice="b" {\melodyb} \new Voice="c" {\melodyc} \new Voice="d" {\melodyd}} \new Lyrics << \lyricsto "a" \texta \lyricsto "b" \textb \lyricsto "c" \textc \lyricsto "d" \textd >> >> \layout { } } /Mats Jack Cooper wrote: Happy new year! I have been navigating the lilypond world for the past six months and have been primarily exploring lilypond as a tool for creating leadsheets and songbooks. My main interest is figuring out how to create an efficient template for creating a leadsheet (or "fakebook" style sheet) for all types of modern guitar-vocal based songs. I am wrestling with the formatting for lyrics. I am aiming for a modular approach to constructing lilypond input so that I can format sheets for a wide variety of song styles. The main problem I am having is the vertical alignment of lyrics assigned to one or more voice contexts. I will start off with a small example to exemplify the problem. In the following example, I am printing off the melody and lyrics to "Frere Jacques". I creating separated voice contexts for each "section" of the song, and am assigning lyrics to each section. The resulting output properly assigns the correct lyric to the correct voice, but the different lyrics are rendered on the same vertical line- each successive lyric is placed lower than the one preceding it. How do I change this so that each lyric snippet is vertically aligned? All my keyword searcing through the archives and manual hasn't come up with anything that seems to work (I've tried overriding the minimum-Y-extent and Y-offset of the lyric context with no discernable change). Any suggestions welcomed! Thanks, Jack -- code snippet: \version "2.8" \include "english.ly" melodya = { \clef treble \key c \major \time 4/4 c'4 d'4 e'4 c'4 | c'4 d'4 e'4 c'4 | } melodyb = { e'4 f'4 g'2 | e'4 f'4 g'2 | } melodyc = { g'8 a'8 g'8 f'8 e'4 c'4 | g'8 a'8 g'8 f'8 e'4 c'4 | } melodyd ={ c'4 g4 c'2 | c'4 g4 c'2 \bar"||"} melody = {\new Voice = "a" {\melodya} \new Voice = "b" {\melodyb} \new Voice = "c" {\melodyc} \new Voice = "d" {\melodyd}} texta = \lyricmode { Fre -- re Jacqu -- es, Fre -- re Jacqu -- es, } textb = \lyricmode { Dor -- mez Vous? Dor -- mez vous? } textc = \lyricmode { Sonn -- ez les ma -- tin -- es, Sonn -- ez les ma -- tin -- es, } textd = \lyricmode { Din, din don! Din, din don! } \score { << \new Voice = "whole" {\new Voice ="a" {\melodya} \new Voice="b" {\melodyb} \new Voice="c" {\melodyc} \new Voice="d" {\melodyd}} \new Lyrics\lyricsto "a" \texta \new Lyrics\lyricsto "b" \textb \new Lyrics\lyricsto "c" \textc \new Lyrics\lyricsto "d" \textd >> \layout { } } --- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology 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