Re: the Basic Lilypond structure
I think it's more like this: \header { filename =neuro_mozart_horn_4_3_01.ly title = Mozart - Horn Concdrto No. 4 in E flat, K 495 subtitle = III Rondo : allegro vivace source = source composer =Wolfgang Amadeus Mozart (1756-1791) enteredby = neuro % copyright = neuro tagline = Copyright \copyright 2002 neuro % opus= K495 % piece = 4 } \include english.ly \version 1.6.5 \paper { } % \paper{ linewidth = 18.0 \cm } % \paper {\translator{ \StaffContext minimumVerticalExtent = #'(-4 . 4) }} \midi{ \tempo 4 = 100 } global = \notes { \key ef \major \time 6/8 } upper = \context Staff \notes\relative c { r8% 1 g'4 bf ef r8 b4f ef r8 % 2 af4 bf ef r8 af4 bf f' r8 % 3 g4 bf ef r8 af4 ef' r8 % 4 bf4 d r8 r4 r8 % 5 g4 bf ef r8 bf4 ef r8 % 6 af4 bf ef r8 af4 bf f' r8 % 7 g4 bf ef r8 d'8 c8 d % 8 ? g,8 bf ef g bf ef g bf ef g8 bf ef r8 bf' % 9 ef8 ef ef ef ef ef % 9 d f bf bf af f%10 } lower = \context Staff \notes\relative c { r8% 1 ef4 r8 g4 r8% 2 f4 r8 d4 r8% 3 ef4 r8 c4 r8 % 4 f4 bf, r8 bf16 c bf af g f % 5 ef4 r8 g4 r8% 6 f4 r8 d4 r8% 7 ef4 r8 bf bf bf % 8 ef8 ef ef ef r8 r8% 9 } \score { \context GrandStaff \context Staff = upper \global \upper \context Staff = lower \global \clef bass \lower } - Original Message - Again, excuse me, I am new here. I have read the document, but am still confused. What is the basic lilypond structure? For example, to write a simple Piano staff, does it look like this ? \header { filename =the_file_nam.ly title = Title goes here subtitle = subtitle goes here composer =comoser's name (1756 - 2002) tagline = Copyright \copyright 2002 my copyright note } \include english.ly \version 1.6.5 \paper {} \midi {\tempo 4 = 120 } global = \notes { \key e \major \time 6/8 } \score { \context PianoStaff \context Staff = upper \upper \context Staff = lower \lower } upper = { a b c d % .. blah blah ... } lower = { e f g h %.. blah blah ... } - thank you very much ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: off beat measure, and measure number
On Mon, 11 Nov 2002 00:02:27 -0800 neuro Hwang [EMAIL PROTECTED] wrote: 1) How can I put off beat on the first bar, like here : \partial 8 that gives you an eighth-note upbeat. \partial 4 gives you a quarter-note upbeat. How do I put a bar after the first rest, r8 ,hence begin a second bar? Technically the first rest is in bar 0; bar 1 is the first full bar of the piece. 2) How do I put the measure number on, for example, every measure? See: http://lilypond.org/stable/Documentation/user/out-www/lilypond/Bar-numbers.html Try changing the every-nth-bar-number-visible 5 to ... 1. Cheers, - Graham ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: the Basic Lilypond structure
On Sun, 10 Nov 2002 20:58:37 -0800 neuro Hwang [EMAIL PROTECTED] wrote: What is the basic lilypond structure? For example, to write a simple Piano staff, does it look like this ? Did you try it? See this for some examples: http://lilypond.org/stable/input/template/out-www/template.html Cheers, - Graham ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
how to add a melody
I really appreciate the answers from Graham Percival. Thank you very much :) One more question, How to sudenly, (not of a regular voice), add a melody on a regular melody? For example, a measure goes like in --- global = \notes { \key ef \major \time 6/8 } upper = \context Staff \notes\relative c { d4. d4 e8 % at this very measure, I'd like to add a b2. % a 2 beats of b } lower = \context Staff \notes\relative c { } \score { \context GrandStaff \context Staff = upper \global \upper \context Staff = lower \global \clef bass \lower } --- thank you very much neuro http://neuro.ohbi.net [EMAIL PROTECTED] [EMAIL PROTECTED] ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: how to add a melody
you could use voices like so {a2 b2} \\ {c,1} will give you an a and a b on top of the c. you can also use the chord structure, a c e which will give you the A minor chord. Jule On Monday, Nov 11, 2002, at 07:41 US/Eastern, neuro Hwang wrote: I really appreciate the answers from Graham Percival. Thank you very much :) One more question, How to sudenly, (not of a regular voice), add a melody on a regular melody? For example, a measure goes like in --- global = \notes { \key ef \major \time 6/8 } upper = \context Staff \notes\relative c { d4. d4 e8 % at this very measure, I'd like to add a b2. % a 2 beats of b } lower = \context Staff \notes\relative c { } \score { \context GrandStaff \context Staff = upper \global \upper \context Staff = lower \global \clef bass \lower } --- thank you very much neuro http://neuro.ohbi.net [EMAIL PROTECTED] [EMAIL PROTECTED] ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user Jule Slootbeek [EMAIL PROTECTED] ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
PS failure with 1.6.6
Hi, I have exactly the same problem. Just upgraded to 1.6.6 from 1.4 12 on top of Debian woody. Installed from .deb. In fact it is even stranger: xdvi (22.29) fails to find the file, whereas oxdvik (22.40f) succeeds (but the PS specials don't look good -- ledger-lines are too high by about 1/4 notehead, braces too small) Looks as though xdvi doesn't even look for music-drawing-routines.ps with kpathsea!! Mark With KPATHSEA_DEBUG=-1 --- working directory: /tmp/ % xdvi /tmp/Hindley.F.dvi 21 | grep music-drawing xdvi: cannot find PS file `music-drawing-routines.ps'. Done 14:20:08 --- working directory: ~/Mail/ % oxdvi /tmp/Hindley.F.dvi 21 | grep music-drawing kdebug:fopen(/tmp/music-drawing-routines.ps, r) = 0x0 kdebug:start search(file=music-drawing-routines.ps, must_exist=0, find_all=0, path=.:/usr/share/lilypond/1.6.6/dvips//:/home/mark/texmf/dvips//:/usr/local/share/texmf/dvips//:/usr/local/lib/texmf/dvips//:!!/usr/share/texmf/dvips//:/usr/share/lilypond/1.6.6/pdftex//:/home/mark/texmf/pdftex//:/usr/local/share/texmf/pdftex//:/usr/local/lib/texmf/pdftex//:!!/usr/share/texmf/pdftex//:/usr/share/lilypond/1.6.6/tex//:/home/mark/texmf/tex//:/usr/local/share/texmf/tex//:/usr/local/lib/texmf/tex//:!!/usr/share/texmf/tex//:/usr/share/lilypond/1.6.6/fonts/type1//:/home/mark/texmf/fonts/type1//:/usr/local/share/texmf/fonts/type1//:/usr/local/lib/texmf/fonts/type1//:!!/usr/share/texmf/fonts/type1//). kdebug:kpse_normalize_path (./music-drawing-routines.ps) = 0 kdebug:kpse_normalize_path (/usr/share/lilypond/1.6.6/dvips/music-drawing-routines.ps) = 1 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/home/mark/texmf/dvips//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/share/texmf/dvips//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/lib/texmf/dvips//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/share/texmf/dvips//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/home/mark/texmf/pdftex//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/share/texmf/pdftex//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/local/lib/texmf/pdftex//) = 0 kdebug:hash_lookup(music-drawing-routines.ps) = (nil) kdebug:hash_lookup(music-drawing-routines.ps) = /usr/share/texmf/tex/lilypond/ kdebug:db:match(/usr/share/texmf/tex/lilypond/music-drawing-routines.ps,/usr/share/texmf/pdftex//) = 0 kdebug:hash_lookup(/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps) = (nil) kdebug:dir_links(/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps) = -1 kdebug:kpse_normalize_path (/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps) = 1 kdebug:search(music-drawing-routines.ps) = /usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps kdebug:fopen(/usr/share/lilypond/1.6.6/tex/music-drawing-routines.ps, r) = 0x81da418 Done 14:21:14 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: PS failure with 1.6.6
Mark Hindley wrote: Hi, I have exactly the same problem. Just upgraded to 1.6.6 from 1.4 12 on top of Debian woody. Installed from .deb. In fact it is even stranger: xdvi (22.29) fails to find the file, whereas oxdvik (22.40f) succeeds (but the PS specials don't look good -- ledger-lines are too high by about 1/4 notehead, braces too small) Looks as though xdvi doesn't even look for music-drawing-routines.ps with kpathsea!! Yeah, I also tried making symlinks to dvips from ps and tex in /usr/local/share/lilypond. Still no go. I'll just wait for 1.6.7 and hope the problem goes away as my passive-aggressive contribution to LilyPond development. -- +-+ |Carter Brey ([EMAIL PROTECTED])| +-+ Homepage: http://www.nyplive.org/music/orchestra/index.cfm?page=profilepersonNum=7 Any dramatic series the producers want us to take seriously as a representation of contemporary reality cannot be taken seriously as a representation of anything -- except a show to be ignored by anyone capable of sitting upright in a chair and chewing gum simultaneously. -- Richard Schickel 9:52am up 12 days, 11:21, 1 user, load average: 0.16, 0.11, 0.04 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Header: Two eighth = dotted eighth and sixteenth
AL I would like to add a header line, above the score, that tells the AL reader, that two eighth notes printed in the score are to be AL played as one dotted eighth and one sixteenth (for better AL readability) AL Is this possible with lilypond? This is possible with Lilypond but requires a few tricks. My first lead would be to use the Text markup which explains how to do a somewhat similar thing for tempo indications: http://lilypond.org/stable/Documentation/user/out-www/lilypond/Text-markup.htm But I think that what you want, two beamed eighths and a beamed dotted eighth sixteenth, is going to be a bit more difficult to get right. This is a pure supposition, but I believe that including something like this (untested): \score { \notes \relative c''' { \stemUp [f8 f] s4^= [f8. f16] } \paper { \translator { \StaffContext \remove Staff_symbol_engraver \remove Clef_engraver \remove Key_engraver \remove Time_signature_engraver } } } Then compile into a .tex file using Lilypond, and include it from your score like this (attached to the first note of the score): [...] \notes { c8.^\\include nomenclatura.tex } [...] -- Best regards, Jérémiemailto:jeremie;lumbroso.fr ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
manually set stem direction
My sincere thanks to all who replied my questions. Now, one more question. How to manually set the stems direction? for example, this is not an ordinary two voices, but rather an temporary two part lines: {f4 a c8 c4 c8}\\{ s4 f8 af f( af )g bf f af} In this case, the upper notes stem downward, and the lower notes stems upward; it's not what I want. Thank you again :) neuro http://neuro.ohbi.net [EMAIL PROTECTED] [EMAIL PROTECTED] ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: manually set stem direction
nH {f4 a c8 c4 c8}\\{ s4 f8 af f( af )g bf f af} nH In this case, the upper notes stem downward, and the lower notes stems nH upward; it's not what I want. The voicify function already explicitly sets stem directions, try to inverse the voices: { s4 f8 af f( af )g bf f af } \\ { f4 a c8 c4 c8 } If you ever need to explicitly specify directions, there are a few property changes. The two below do exactly what they say that they do: \stemUp \stemDown And the following lets Lilypond decide which direction to put the stems: \stemBoth This applies for several other object, for example: \slurUp \slurDown \slurBoth \phrasingSlurUp ... \tieUp ... -- Best regards, Jérémiemailto:jeremie;lumbroso.fr ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: LaTeX question
thanks, just making sure. in the meantime i came across a couple of bbedit plugins that also do the job. thanks On Monday, Nov 11, 2002, at 15:36 US/Eastern, Rune Zedeler wrote: Jule Slootbeek wrote: I'm trying to use lilypond-book to get text _and_music and the only way i can get a visible image (dvi) for the latex file, is by first running it thought lilypond-book and tehn through TeX. is there an easier way to do this?? How could it be easier? In bash you can append the two commands with like this: $ lilypond-book file.ly latex file.latex or is this how it's gonna be? Yes this is how it's gonna be. -Rune Jule Slootbeek [EMAIL PROTECTED] ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user