Re: Problem with Lyrics.
When specifying the durations of lyrics, you have two main choices, a) Specify the duration of each syllable explicitly b) Use the durations copied from another line of music. The second alternative is what you get when you use \addlyrics. This means that Lilypond doesn't care at all about what explicit durations you have specified for the syllables, so it doesn't matter if you say A16 or A4 or whatever. In your example it's easy to get the correct duration also for the two last syllables, just add it to the soprano part instead of the alto part using addlyrics. Method a) is almost never used, as far as I know, but if you want to try it, you should remove the \addlyrics statement and add explicit durations like A4 -- bend wird es __ wie2 -- der,2 /Mats Colin Paul Adams wrote: I'm using version 1.6.6. There seems to be very little help in the manual for lyrics (is this only my opinion?). However, it does say under Durations that they apply to lyric mode. But I cannot get them to work right. I have a time signature of 4/4. So I reckon that to typeset one syllable of the lyrics to match one crotchet, then a duration of 4 on the first syllable should be correct. Instead, I have to specify 16 (!). In addition, I cannot get long syllables at the end - although I specify a duration of 1 for the final two syllables, the get set to a crotchet each. Finally I get some warning messages I don't understand. First the source file: \paper { papersize = "a4" } \include "paper20.ly" \header{ title = "Abend wird es wieder" subtitle = "Words by Hoffmann von Fallersleben (1798-1874)" composer = "Johan Cristian Heinrich Fünck (1770-1846). Arranged by Carsten Gerlitz." } sopMusic = \notes { \property Staff.midiInstrument = "flute" \time 4/4 \key g \major \clef treble b'4 b' a' a' | g'2 d' | e'4 fis' g' b' | a'2. r4 | b' b' c'' b' | a'2 d'' | g'4 c'' b' a' | g'2. r4 | b'2( c''4 b' | a'2 )d'' | g'4( c'' b' a' | )g'2. r4 \bar "|." } altoMusic = \notes { \property Staff.midiInstrument = "violin" \property Staff.instrument = "S/A" \time 4/4 \key g \major \clef treble a'4 g' g' fis' | d'( )c' b( c'8 )c' | e'4 d' d' g' | g'( fis'8 e' )fis'4 r | d'8( )g' g'( )f' e'4 d' | cis'2 c'8( e' d' )c' | b( )d' g'( )e' g'( )d' c'( )d' | b2. r4 | d' f' e' d' | c' e' fis' e' | d' e' g'8( )d' c'( )d' | b2. r4 \bar "|." } altoWords = \lyrics \context Lyrics < \context LyricsVoice = "verse 1" { \property LyricsVoice . stanza = "1." A16 -- bend wird es __ wie -- der, __ \"{u}\ -- ber Wald und Feld __ s\"{a}u -- selt Frie -- den nie -- der, __ und es rhut die Welt. mh1 __ mh1 } > tenorMusic = \notes { \property Staff.midiInstrument = "bassoon" \property Staff.instrument = "Baritones " \time 4/4 \key g \major \clef bass d'4-\mf d' d' d'8( )c' | b4( )a g( a8 )b | c'4 c' b a | d2. r4 | g g g g | g2 fis | g8( )fis e( )c d4 d | a,2. r4 | g,1-\p(\( | )g,2. \)c4 | b,( c d2 | )g2. r4 \bar "|." } \score { \notes \context StaffGroup < \property Score.automaticMelismata = ##t \context Lyrics = sopLyrs { s1 } \context Staff = women { s1 } \context Lyrics = altoLyrs { s1 } \context Lyrics = tenorLyrs { s1 } \context Staff = men {\clef bass s1 } \context Lyrics = bassLyrs { s1 } \context Staff = women \context Voice = VA { \voiceOne \sopMusic } \addlyrics \context Staff = women \context Voice = VB { \voiceTwo \altoMusic } \context Lyrics = altoLyrs { \altoWords} \context Staff = men \context Voice = VA { \voiceOne \tenorMusic } > \paper { \translator { % a little smaller so lyrics can be closer to the staff. \StaffContext minimumVerticalExtent = #'(-3 . 3) } } } and then the messages from lilypond: cd /home/colin/ lilypond /home/colin/abend.ly GNU LilyPond 1.6.6 Now processing: `/home/colin/abend.ly' Parsing... Interpreting music...[8][13] Preprocessing elements... Calculating column positions... programming error: Unknown prefatory spacing. (Continuing; cross thumbs) programming error: No StaffSpacing wishes found (Continuing; cross thumbs) [3][6][9][12][13] paper output to `abend.tex'... LilyPond finished at Tue Nov 19 15:32:41 Any help gratefully received. -- = 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/~matsb = ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: margins
Quoting Mike Charnoky <[EMAIL PROTECTED]>: > Anyway, I have been going through the docs trying to find out how to > format a page to have a 1" left margin, in order to bind the pages in a > 3-ring binder. How do I do this? I have experimented with the \paper > directive: "indent" seems to only indent the first line of music. Using > "linewidth" certainly works, but also changes the right margin too, since > all lines are centered. Is there an easy solution? ly2dvi provides fairly limited possibilities to adjust the page layout. If you want more freedom to change the page layout, I recommend lilypond-book, which lets you include music scores in an ordinary LaTeX document. For your specific problem, an alternative is to use linewidth to get the desired width of the music and then use the -O flag to dvips to adjust the horisontal position on the paper. /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: What to do now [formerly (no subject)]
Steven, or Andy (you seem to be using Steven's email) (Copying Lilypond-user list ... hopefully this might help some other newbies as well) 1) Please ... a) Make sure the list is included, as the information just might be useful for others; b) Ensure you use a subject line in your emails; c) Give a bit of information about your envinronment ... your questions are too short, and I need to make a lot of assumptions. Due to these assumptions, I may inadvertently seem to insult you or your skills. 2) You imply that you have installed the program - although you never do say that, nor do you let anyone know what kind of computer or operating systems you are using. I will assume that you are using WIndows. I also assume you clicked on the "Install Lily Now" link on the WIndows Binaries page. Is this correct? 3) It's not a DOS application. It's a Linux application, and uses the Cygwin 'operating system'. As compared to many Windows applications, you MUST do some readong, otherwise you could easily get lost. Do you understand Unix or Linux in any way? Your answer will greatly affect how the friendly people on this list can respond. If you do not understand Unix or Linux, I strongly encourage you to go to the Cygwin site at http://www.cygwin.com/ to get familiar with the basic concepts of the environment. Specifically, go to the menu on the left side and click on the "User's Guide" link. and start reading at least Chapter 1 - until the section on 'Expectations for UNIX programmers'. 4) Assuming you installed the Cygwin application, did you read past the "Install Lily Now" paragraph on the page? You do not let anyone know whether you have done the basic tests or installed any of the supporting stuff. There are other things to do, and possibly to install as described on that page.. There is also a section on testing Lilypond to make sure you've installed correctly. 5) Do you realize that the basic flow for running lilypond is: a) Get into 'unix' (what you call 'DOS') and move to the directory that you want to work in. This is called a 'shell'. Use the 'cd' command to 'c'hange 'd'irectory. b) Create / edit a file that contains the 'note description' you want (use Notepad if you want, but store the file as ".ly" instead of ".txt"). Use the Tutorial to get an idea of what the .ly file contents will look like. (Do NOT use Microsoft Word or Wordperfect or similar - they leave all sorts of charaters in the file.) c) Start Lilypond entering "ly2dvi -P xyz.ly" in the shell. Replace xyz with the name of your file. Or you could use some tricks like "ly2dvi -P xyz.ly > lily.log 2>&1" to record all messages and errors to the file lily.log. d) If any error messages - look at the eror messages (either on the screen or in the log file) and fix the .ly file ... you will likely need to look through the manual at http://www.lilypond.org (use the "Manual" link, menu left side). Once you've fixed some or all errors, return to c) above and rerun lilypond. 6) Finally, look at the resulting xyz.ps file using a PostScript viewer such as GhostView - hopefully you installed that as directed on the install page. /Hans Steven Thompson wrote: > HANSWhere do i go from the Dos application i thought it was a > procgram for writing music yet i get an application that looks similar > to a Dos > application > FromAndy ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
tie misplaced on staff change
I am using Lilypond 1.6.4 on Cygwin and ly2dvi -P. The code below compiles perfectly but the second tie is placed horizontally near the bottom of the lower staff instead of joining the 2 notes. Any suggestions? Peter Dixon \score { \context PianoStaff < \context Staff = upper \notes \relative c' { \time 3/4 \key f \major \stemDown c2. ~ c2. ~ \stemUp \translator Staff=lower c2. ~ c2 \translator Staff=upper d4 } \context Staff = lower \notes { \clef bass \key f \major \stemDown c2. c c c } > \paper {} } --- ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user