Re: help! need an example
Hi. > > I'm trying to copy music using lilypond, even though I read half of the > manual I don't understand ways of putting notes in a correct sequence :) Maybe you should have read the other half first ;-) > here is the piece pf music: > http://img54.imageshack.us/my.php?image=untitled7et2.jpg > If you are going to transcribe pieces with multiple voices, I would recommend to use explicit "Voice" contexts. You'll find here attached files showing how I organize the code. I've entered the first bar of your example. And you'll quite obviously be able to go on from there. Best, Gilles % Lilypond sub-header piece = "Allegro" \version "2.6.0" upperRH = \relative c' { \time 4/4 % bes'2 bes | % \bar "||" % } lowerRH = \relative c' { % g'2 g | % \bar "||" % } upperLH = \relative c { % d'2 d | % \bar "||" % } lowerLH = \relative c { % 2 | % \bar "||" % } figuresLowerLH = \figuremode { % \override FiguredBass.BassFigure #'direction = #-1 \override FiguredBass.BassFigure #'kern = #-0.5 % % } continuoRH = \new Staff { \set Staff.midiInstrument = "harpsichord" { \clef G \key g \minor \transpose c c << \new Voice { \voiceOne \upperRH } \new Voice { \voiceTwo \lowerRH } >> } } continuoLH = \new Staff { \set Staff.midiInstrument = "harpsichord" \set Staff.minimumVerticalExtent = #'(-4 . 2) { \clef F \key g \minor \transpose c c << \new Voice { \voiceOne \upperLH } << \new FiguredBass { \figuresLowerLH } \new Voice { \voiceTwo \lowerLH } >> >> } } continuoStaff = \context PianoStaff = "Continuo" << \set PianoStaff.instrument = \markup \column { "Basso" "continuo " } \continuoRH \continuoLH >> % Custom fields #(use-modules (srfi srfi-19)) today = #(date->string (current-date) "~d-~m-~Y") lastUpdated = \markup { "Last updated:" " " \today } % Lilypond fields %dedication = "lilyDedication" title = "lilyTitle" %subtitle = "lilySubtitle" %subsubtitle = "lilySubsubtitle" %opus = "lilyOpus" composer = "lilyComposer" tagline = \markup { \column { \hcenter "Encoded by Gilles and engraved by LilyPond" \hcenter \lastUpdated } } % Mutopia fields mutopiatitle = \title mutopiacomposer = \composer mutopiainstrument = "mutopiaInstruments" %mutopiapoet = "mutopiaPoet" %mutopiaopus = "mutopiaOpus" %date = "mutopiaDate" %source = "mutopiaSource" %style = "mutopiaStyle" copyright = "Creative Commons Attribution-ShareAlike 2.5" maintainer = "Gilles Sadowski" maintainerEmail = "[EMAIL PROTECTED]" %maintainerWeb = "mutopiaMaintainerWeb" lastupdated = \today \version "2.6.0" \header { \include "header.inc.ly" instrument = "Basso continuo" } \include "1__continuo.inc.ly" \score { \continuoStaff \header { \include "1__header.inc.ly" } \layout { indent = 15.0\mm } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: macosx command line lilypond-book
Trevor Bača wrote: On 3/8/06, Trevor Bača <[EMAIL PROTECTED]> wrote: On 2/28/06, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: Graham Percival wrote: Are we talking about the same thing? Back in the .dmg package days, there were a few scripts (and a README). The "lilypond.sh" script contained python "$INSTALLDIR/LilyPond.app/Contents/Resources/lilycall.py" \ "$INSTALLDIR/LilyPond.app/" $@ There was also a "lilypond-script-wrapper.sh" Are those no longer required? No, they shouldn't be, but I never tried. If lilycall.py is no longer the preferred way to call lily from the commandline under OS X, could someone kindly point me to the newer, better way? I've added a note to the manual, it now says: The scripts (such as lilypond-book, convert-ly, abc2ly, etc.) are also included inside MacOS X .app. They can be run from the command line by invoking them directly, e.g. @example @var{path/to}/LilyPond.app/Contents/Resources/bin/convert-ly @end example -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with lilypond-invoke-editor
Gianluca D. wrote: Good morning to everybody! I'm using lilypond v. 2.7.38 and I've got a weird problem with lilypond-invoke-editor. I use xpdf as pdf-viewer and it used to work fine with point-and-click, but know it gives me this error message: lilypond-invoke-editor (GNU LilyPond) 2.7.38 ERROR: no code for module (scm editor) Is there anyone who knows why or how could I fix it? My Linux distribution is SuSE 10.0 - is the problem perhaps related to the distribution? Thanks, should be fixed in the next release. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: help! need an example
Here is a piece of code that should give you ideas. Try compile it. I did not finished the second line but you should have gotten the idea. To have proper slurs between all the notes in the chords, use the "multi voice" entering mode which is something like that : << { a4( b4) } \\ { f4( g4) } >> instead of 4( 4) Enjoy. Thibaut. jango wrote: I'm trying to copy music using lilypond, even though I read half of the manual I don't understand ways of putting notes in a correct sequence :) i have a piece of music, it's really short (like 12 notes). I want to ask somebody help me and explain how the notes sequence should look like. here is the piece pf music: http://img54.imageshack.us/my.php?image=untitled7et2.jpg thanks a lot! -- View this message in context: http://www.nabble.com/help%21-need-an-example-t1269418.html#a3369124 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user \header { title = "Title" composer = "Composer" } \paper { %indent = 20\mm } melody = \relative c'' { \clef treble \key bes \major 2 \bar "||" 4( 2 2) 4 4 2( 2) 2( 4 ) } bass = \relative c' { \clef bass \key bes \major 2 2 \bar "||" %etc } \score { << \new StaffGroup << \set Score.timing = ##f % this is to avoid errors in the compilation because our measure is not 4/4 (default) \new Staff << \melody >> \new Staff << \bass >> >> >> \layout{ } \midi { \tempo 4=180} } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
help! need an example
I'm trying to copy music using lilypond, even though I read half of the manual I don't understand ways of putting notes in a correct sequence :) i have a piece of music, it's really short (like 12 notes). I want to ask somebody help me and explain how the notes sequence should look like. here is the piece pf music: http://img54.imageshack.us/my.php?image=untitled7et2.jpg thanks a lot! -- View this message in context: http://www.nabble.com/help%21-need-an-example-t1269418.html#a3369124 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: skip -- What am I missing?
Quoting Geoff Horton <[EMAIL PROTECTED]>: I hope you have read the manual for version 2.7, since it contains several clarifications compared the the earlier version. I haven't because I've been reluctant to move up to 2.7. Is it stable enough to use for regular production work? The next stable version 2.8 is planned to appear any day now, so it should be. Also, the new manual is mostly relevant also for version 2.6 of the program, so it's recommended reading anyway. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Guitar notation
It's possible to have a stand-alone \markup{...} in a .ly file, so one possibility would be to make a .ly file with \markup{ \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-2;" \fret-diagram #"6-x;5-x;4-o;3-1;2-1;1-3;" ... } For your second question, did you read the section on Arpeggio? /Mats Quoting Jannik Jeppesen <[EMAIL PROTECTED]>: Hi all.. How do I whrite A score with only fret diagrams? I can only figure out to use the "^\markup \fret-diagram" command... And Is it possible to whrite arrows to show strumming on the guitar? All for now... \Jannik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: skip -- What am I missing?
> I hope you have read the manual for version 2.7, since it contains > several clarifications compared the the earlier version. I haven't because I've been reluctant to move up to 2.7. Is it stable enough to use for regular production work? Thanks, Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: french score
It might have been a bug in that particular version, please try to upgrade to the latest version and report if it still happens. /Mats Quoting Jan Janovcik <[EMAIL PROTECTED]>: Hi, I have 1 small problem: I've been typesetting a piece in a "French score" style (i.e. with hiding empty staves) - the way this option works for me is, that lily hides the staff but i get an empty vertical space in the system. Is this normal, i.e. do I have to set it manualy? Thanks in advance Jan Janovcik PS: This happenned with version 2.7.23 on windows. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
bc vertical alignment
Hi, I've been typesetting a small cantata by Bach recently and the way figured bass now works (i.e. version 2.7.2x, windows) is really annoying. Manual says: "When using continuation lines, common figures are always put in the same vertical position." but for me this seemed to happen even when not using continuation lines... How can I turn this off? I would much more like to do the vertical alignment manualy, but I cannot find out how to insert a vertical space in the figures. Any advice would be appreciated.. thanks in advance Jan Janovcik __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
french score
Hi, I have 1 small problem: I've been typesetting a piece in a "French score" style (i.e. with hiding empty staves) - the way this option works for me is, that lily hides the staff but i get an empty vertical space in the system. Is this normal, i.e. do I have to set it manualy? Thanks in advance Jan Janovcik PS: This happenned with version 2.7.23 on windows. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: skip -- What am I missing?
I hope you have read the manual for version 2.7, since it contains several clarifications compared the the earlier version. For example, in Sect. 7.3.5 Flexibility in alignment, it says "For every \skip, the text will be delayed another note." A better solution to your situation is illustrated in the last example in Sect. "7.3.8 More stanzas". /Mats Quoting Geoff Horton <[EMAIL PROTECTED]>: I'm obviously not understanding something important about the \skip command. I'm trying to use it in lyrics to skip over a leading refrain, and no matter what argument I give it, it skips over exactly one beat. See the sample below. As I read the documentation, the first word of verse two ought to appear under the d that begins the third measure, but it doesn't. It appears under the e in the first measure. (Verified in 2.6.4 and 2.7.38) What am I doing wrong? \include "english.ly" melody = \relative c'' { \key c \major c4 c e c | c c c c | d c c c } verseOne = \lyricmode { re -- frain re -- frain re -- frain re -- frain verse one verse one } verseTwo = \lyricmode { \skip 1 \skip 1 verse two verse two } \score { \context Staff = main << \context Voice = melody { \melody } \context Lyrics = one \lyricsto melody \verseOne \context Lyrics = two \lyricsto melody \verseTwo >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Guitar notation
Hi all.. How do I whrite A score with only fret diagrams? I can only figure out to use the "^\markup \fret-diagram" command... And Is it possible to whrite arrows to show strumming on the guitar? All for now... \Jannik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyric spacing : "why not follow instructions in manual"
Geoff said: You're saying you didn't see any effect even with #10? Because I got a huge, huge difference in my test file with that. I'm also using 2.6.4, so maybe this is something that's changed in the update. (I'm not going to break a working system just to experiment.) Fr. P says: Aha. It works it 2.6.5. I'd have been using that, but I really like the way the deciduous note stems in 2.7. Your method is better than what is described in the manual at section 7.3.7.1, since it can be applied *once* and will affect all problematic lyrics while exerting minimal effect on note-spacing in general, in melismata, etc. Maybe your method will work in the stable 2.7 and maybe your it will get a place in the manual. (?) Thanks a lot. Fr. P ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyric spacing : "why not follow instructions in manual"
Thank you very much, but it doesn't seem to work for me. See anything wrong with the file below? I'm using 2.7.36 Also, (I realized after I wrote the post in question) this will add padding to *every word. While that's better than adding padding to every note, it's not quite as good as slightly increasing the minimum permissible space between words. Any ideas in that direction would be appreciated. Fr. P \score{\relative c' {\set Score.timing = ##f \key g \major \autoBeamOff \clef "G_8" a2 a8 a a g a4.( b8 c4 b) a a g8[( a)] b4( a g) a( b c2) \fermata \bar "||" } \addlyrics { How shall we sing the Lord's __ song in a __ strange __ land. __ } \layout { ragged-last = ##t \context { \Staff \remove "Time_signature_engraver" \remove "Bar_number_engraver" } \context { \Lyrics \override SeparationItem #'padding = #10.} } } - Original Message - From: "Geoff Horton" <[EMAIL PROTECTED]> To: "Father Panteleimon" <[EMAIL PROTECTED]> Cc: Sent: Saturday, March 11, 2006 3:10 PM Subject: Re: lyric spacing : "why not follow instructions in manual" PS. Could I simply replace \override Score.SeparationItem with \override Lyric.SeparationItem (or something) and put it with the lyrics? You can add \context { \Lyrics \override SeparationItem #'padding = #10 } to your layout block, and it will affect the output. (Obviously 10 is way too big, but I did that to be sure it's having an effect.) Geoff ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Order of the staves
I think the problem is that you have surrounded all the staves by a GrandStaff. If you look at the program reference for GrandStaff, you will learn that it can only contain Staff contexts, by default. Even though it's possible to change this default definition of GrandStaff, but if I recall correctly, it's still not possible to get nested curly braces in version 2.6. However, in version 2.7 (and the next stable release 2.8, which will appear any week) it should be possible to do it, see the NEWS file for version 2.7. /Mats Quoting Eddy <[EMAIL PROTECTED]>: Hi ! I use the following to have a choir with a clarinet and an accordion. \score { \new GrandStaff << \context ChoirStaff=Choeur << \context Staff=Soprano << \context Voice=SopranoUn {\voiceOne \SopranoUnMusique} \context Voice=SopranoDeux {\voiceTwo \SopranoDeuxMusique} >> % end Staff Soprano \context Lyrics=SopranoUn {s1} \context Lyrics=SopranoDeux {s1} \context Staff=Alto << \context Voice=AltoUn {\voiceOne \AltoUnMusique} \context Voice=AltoDeux {\voiceTwo \AltoDeuxMusique} >> % end Staff Alto \context Lyrics=AltoUn {s1} \context Lyrics=AltoDeux {s1} \context Staff=Tenor << \context Voice=TenorUn {\voiceOne \TenorUnMusique} \context Voice=TenorDeux {\voiceTwo \TenorDeuxMusique} >> % end Staff Tenor \context Lyrics=TenorUn {s1} \context Lyrics=TenorDeux {s1} \context Staff=Basse << \context Voice=BasseUn {\voiceOne \BasseUnMusique} \context Voice=BasseDeux {\voiceTwo \BasseDeuxMusique} >> % end Staff Basse \context Lyrics=BasseUn {s1} \context Lyrics=BasseDeux {s1} \context Lyrics=SopranoUn \lyricsto SopranoUn \SopranoUnParoles \context Lyrics=SopranoDeux \lyricsto SopranoDeux \SopranoDeuxParoles \context Lyrics=AltoUn \lyricsto AltoUn \AltoUnParoles \context Lyrics=AltoDeux \lyricsto AltoDeux \AltoDeuxParoles \context Lyrics=TenorUn \lyricsto TenorUn \TenorUnParoles \context Lyrics=TenorDeux \lyricsto TenorDeux \TenorDeuxParoles \context Lyrics=BasseUn \lyricsto BasseUn \BasseUnParoles \context Lyrics=BasseDeux \lyricsto BasseDeux \BasseDeuxParoles >> % end ChoirStaff Choeur \context Staff=Clarinette << \ClarinetteMusique >> % end Staff Clarinette \context PianoStaff=Accordeon << \context Staff=MainDroite \MainDroiteMusique \context Staff=MainGauche \MainGaucheMusique >> % end PianoStaff Accordeon >> % end GrandStaff }% end score In the pdf, the clarinet is at the top of the page ! I can't understand why it is not after the choir ! What does control this ? Sorry for the length of the example, I tried to cut out the unusefull lines. I use lilpond version 2.6.4. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: shortest-duration-space, Re: lyric spacing
Popular question this morning! Please read the section on "Spacing Lyrics" in the manual for LilyPond version 2.7. /Mats Quoting David Rogers <[EMAIL PROTECTED]>: Hi all Does anyone have an example of how to use shortest-duration-space to increase the horizontal spacing of notes? (This is in a vocal score - my words are running together badly.) Thanks in advance David Quoting Father Panteleimon <[EMAIL PROTECTED]>: How can I adjust the minimum space allowed between individual words in lyrics? They seem too close even when the words aren't particularly long. I don't want to adjust the spacing of the notes per se, just to add a tiny bit of space between words, which space won't go away regardless of how short the note durations might be. Thank you. Monk Panteleimon ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fw: EPS files
Hi again... Can any of you answer these questions, simply cant figure out what to do... Question one is most important, since I cant frint out my little book, untill this is solved \Jannik Hi, have a few questions regarding EPS files. 1. If I generate an EPS file it generates alot of white emty space at the top of the document. So when I open the EPS file in word there is a lot of emty space between my text and the image. Here is a example of a file converted to EPS: --- \version "2.6.3" \paper { #(set-paper-size "a4") tagline = "" indent = 0\cm } blues = \relative c { \time 4/4 \repeat volta 20 { a8\6 c\6 d\5 dis\5 e\5 g\4 a\4 c\3 d\3 dis\3 e\2 g\2 a\1 c\1 a\1 g\2 e\2 dis\3 d\3 c\3 a\4 g\4 e\5 dis\5 d\5 c\6 } } guitar = \context Staff = "guitar" { \set Staff.midiInstrument = "acoustic guitar (nylon)" \key a \minor \clef "G_8" \blues } guitartab = \context TabStaff = "guitartab" { \override Beam #'transparent = ##t \override Stem #'transparent = ##t \blues } \score { << \guitar \guitartab >> \layout {} } \score {} --- 2. Do any of you know where I tell it to ONLY generate the eps files... (not tex/texi and eps.pdf) I do not use these files... Thanks for all your help. /Jannik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\skip -- What am I missing?
I'm obviously not understanding something important about the \skip command. I'm trying to use it in lyrics to skip over a leading refrain, and no matter what argument I give it, it skips over exactly one beat. See the sample below. As I read the documentation, the first word of verse two ought to appear under the d that begins the third measure, but it doesn't. It appears under the e in the first measure. (Verified in 2.6.4 and 2.7.38) What am I doing wrong? \include "english.ly" melody = \relative c'' { \key c \major c4 c e c | c c c c | d c c c } verseOne = \lyricmode { re -- frain re -- frain re -- frain re -- frain verse one verse one } verseTwo = \lyricmode { \skip 1 \skip 1 verse two verse two } \score { \context Staff = main << \context Voice = melody { \melody } \context Lyrics = one \lyricsto melody \verseOne \context Lyrics = two \lyricsto melody \verseTwo >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user