Re: Newbie questions
On Fri, Sep 01, 2023 at 07:27:13PM +0200, Mats-Olof Liljegren wrote: >Hello! > >I'm a beginner with Lilypond but have decent programming knowledge. >Something I haven't managed to figure out is how to best organize >my projects. It becomes a very long file if everything is in the >same one, so I've tried splitting it into separate `.ly` files for >lyrics, soprano, alto, tenor, bass, and so on. It works, but I'm >guessing there are smarter ways to organize scores and lyrics. [...] It really depends on your workflow. In my smaller projects (piano pieces) I just keep everything in one file, with LH/RH parts as separate variables outside the \score block. Or, in more complex works, separate voices in separate variables outside the \score block. For small orchestral works, I keep the structural stuff (\score blocks, \StaffGroup's, \Staff's, \midi blocks) in separate files, but the notes themselves in a single file, one variable per instrument. Yes, the file for notes does get very long, but it's manageable using a decent editor with good navigational tools (one-key bookmarks, quick search function, find-matching-braces) and helpful practices such as consistent naming of variables (fluteIPart, fluteIIPart, violinIPart, violinIIPart, etc.), and dividing input paragraphs of 4 or 8 bars each, with searchable comment markers (e.g., `% Intro`, `% Exposition`, `% Development`, `% Episode 1`, inserted before the corresponding paragraphs in each instrument's part -- that way I can just search for "hornIIPart" then "Development" to find the corresponding place to, say, the celloPart in the same passage). The reason I keep the \score blocks separate is because generating the conductor's score vs. individual parts is very different, but once set up you almost never need to change it. Putting it in different files reduces the clutter in the notes file that I spend most of the time on. T -- "How are you doing?" "Doing what?"
Re: Newbie questions
Mats-Olof Liljegren writes: > Hello! > > I'm a beginner with Lilypond but have decent programming > knowledge. Something I haven't managed to figure out is how to best > organize my projects. It becomes a very long file if everything is in > the same one, so I've tried splitting it into separate `.ly` files for > lyrics, soprano, alto, tenor, bass, and so on. It works, but I'm > guessing there are smarter ways to organize scores and lyrics. > > I've heard about `.ily` files, and if anyone could provide me with > links where I can learn and understand more, I would be grateful. .ily is just an arbitrary extension to indicate "included LilyPond file". The only actual difference to LilyPond is that if you call lilypond somefilename and somefilename does not exist, somefilename.ly will be tried instead. So .ily is not more than a convention. Enough so that editors and other utilities making decisions (like syntax highlighting) based on the file name will tend to know what to do with .ily. -- David Kastrup
Newbie questions
Hello! I'm a beginner with Lilypond but have decent programming knowledge. Something I haven't managed to figure out is how to best organize my projects. It becomes a very long file if everything is in the same one, so I've tried splitting it into separate `.ly` files for lyrics, soprano, alto, tenor, bass, and so on. It works, but I'm guessing there are smarter ways to organize scores and lyrics. I've heard about `.ily` files, and if anyone could provide me with links where I can learn and understand more, I would be grateful. I've of course searched the internet and tried to find resources, but it hasn't been very successful, so I'm taking the liberty to ask here and hope it's okay. Best regards, Mats-Olof Liljegren, an arranger residing in Sweden.
Re: Some newbie questions...
2016-08-22 23:59 GMT+02:00 K Richard Pixley : > Hi. I'm new to lilypond. I've read through much of the manual and I > have a few questions outstanding. > > 1) Can lilypond do Nashville style chords? > > I mean, I'm sure it can, one way or another. What I'm really asking is > if it is as simple as it is to do regular chords. Or what might be > involved. (Pointers to documentation would be fine, thanks.) Not per default, thus no docs about it. But this was asked before: http://lilypond.1069038.n5.nabble.com/Nashville-notation-as-chord-symbols-tt176784.html#none this thread was broken, continue here: http://lilypond.1069038.n5.nabble.com/Re-Nashville-notation-as-chord-symbols-tt177872.html regrettable my post here http://lilypond.1069038.n5.nabble.com/Re-Nashville-notation-as-chord-symbols-td177872i20.html#a178127 was unanswered, so I stopped further coding. It may be a starting point, though. > 2) Can Lilypond do fakebook style slashes? > > I found both of these here: https://en.wikipedia.org/wiki/Chord_chart If I understand correctly you mean a certain NoteHead-style in rhythm notation and simple slashes. I think we provide a method to do slashes in the NR Changing the note-head-style shouldn't be a big problem as well. > 3) How far has anyone gotten in midi -> lilypond translation? You know about midi2ly? > What I'm really looking for, actually, is a computer format that tracks > time signatures, key signatures, chords, and section markers like > "verse", "chorus", and "bridge". Though, midi2ly can't deal with "verse", "chorus", and "bridge". > Lilypond seems to cover most of those > so I'm considering using it as an intermediate format in a project. If > anyone knows offhand of any other candidates, I'd appreciate pointers. Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Some newbie questions...
Hi. I'm new to lilypond. I've read through much of the manual and I have a few questions outstanding. 1) Can lilypond do Nashville style chords? I mean, I'm sure it can, one way or another. What I'm really asking is if it is as simple as it is to do regular chords. Or what might be involved. (Pointers to documentation would be fine, thanks.) 2) Can Lilypond do fakebook style slashes? I found both of these here: https://en.wikipedia.org/wiki/Chord_chart 3) How far has anyone gotten in midi -> lilypond translation? What I'm really looking for, actually, is a computer format that tracks time signatures, key signatures, chords, and section markers like "verse", "chorus", and "bridge". Lilypond seems to cover most of those so I'm considering using it as an intermediate format in a project. If anyone knows offhand of any other candidates, I'd appreciate pointers. Thanks in advance. --rich ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and TeXshop on Mac: Newbie questions
On 30/04/2012 5:13 AM, Dona Mommsen wrote: Just one more thing I found out: The engine(s) cannot handle special characters in the path names, even when they do not appear in a relative path. I had a subfolder ./Exemples with the Lilypond files, but the path further up contained french special characters, so I ran into «file not found» troubles. [...] Have a great time, Dona P.S: I'd like to apologize for the initial flood of messages, it actually took several hours for my first post to get through, so I kept trying… Maybe adding a little waring on the mailing list website would be helpful, like: «first posts may take longer because they are moderated» Please submit your findings as individual requests (the first is a bug, the second an enhancement request) to bug-lilyp...@gnu.org Cheers, Julien ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and TeXshop on Mac: Newbie questions
Hi, thanks to all who responded to my posts. > > One of the best way to use lilypond-book with TeXShop is to use a dedicated > "engine". Nicola Vitacolonna, a lilypond and LaTeX user, made a very > interesting one. You can find it here : > > http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop > http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop > > > Unfortunately, layout in snippets created by lilypond-book is not the best > part of lilypond-book. Usually, I use lilypond-book snippets for 1 or 2 > lines scores. For more important scores, I include the pdf created by > lilypond. For long scores, pdfpages is usefull > > Philippe > For the time being, Nicola Vitacolonna's engine(s) do(es) the trick for me. Thanks a lot! Also thanks for the warning about snippets in lilypond-book. Just one more thing I found out: The engine(s) cannot handle special characters in the path names, even when they do not appear in a relative path. I had a subfolder ./Exemples with the Lilypond files, but the path further up contained french special characters, so I ran into «file not found» troubles. > To your question -- also on a Mac 10.7.3 -- I am using a different > approach, so won't be able to help you. (I use a makefile, which > automatically executs only those commands that are needed because of > some changes, but my setup is probably too involved and specialized to > be easily transportable. I can let you know howto if you want to try > your hand on using "make" and Makefile.) > > Rembrandt Thanks for the offer Rembrandt. And yes please, just out of curiosity, I'd like to know how you do this. I guess your makefile makes you less dependent on changes to TexShop or Lilypond as bundled apps? BTW: How do you install Lilypond? Do you use Fink? Have a great time, Dona P.S: I'd like to apologize for the initial flood of messages, it actually took several hours for my first post to get through, so I kept trying… Maybe adding a little waring on the mailing list website would be helpful, like: «first posts may take longer because they are moderated» > On 4/26/12 8:49 AM, Dona Mommsen wrote: > Hi, > > I'm subscribed to this list for years, as I'm an occasional user of lilypond. > I'm trying to post to this list, but so far, my messages didn't get through. > I've tried sending e-mails directly and I tried the web-interface. > From the gmane list, I got through the confirmation process. > The e-mail I received mentioned that my message should show up in a few > minutes. > That was hours ago. > > What am I missing? > > Cheers, > > Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and TeXshop on Mac: Newbie questions
On Apr 26, 2012, at 1:49 PM, flup2 wrote: > > One of the best way to use lilypond-book with TeXShop is to use a dedicated > "engine". Nicola Vitacolonna, a lilypond and LaTeX user, made a very > interesting one. You can find it here : > > http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop > http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop > Nicola also has great stuff for using TextWrangler with Lilypond. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and TeXshop on Mac: Newbie questions
Hello, One of the best way to use lilypond-book with TeXShop is to use a dedicated "engine". Nicola Vitacolonna, a lilypond and LaTeX user, made a very interesting one. You can find it here : http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop http://users.dimi.uniud.it/~nicola.vitacolonna/home/content/lilypond-engines-texshop Unfortunately, layout in snippets created by lilypond-book is not the best part of lilypond-book. Usually, I use lilypond-book snippets for 1 or 2 lines scores. For more important scores, I include the pdf created by lilypond. For long scores, pdfpages is usefull Philippe -- View this message in context: http://old.nabble.com/Lilypond-book-and-TeXshop-on-Mac%3A-Newbie-questions-tp33754335p33754938.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond-book and TeXshop on Mac: Newbie questions
Hi, I'm an occasional user of Lilypond and so far, I've created only smaller examples. I'm neither an experienced user with Latex, so bare with me. I'm trying to use Lilypond-book (v.2.14.2) with TeXShop (v2.43) on Mac OS X (v10.7.3). The installation worked and I can run a small test-file: 1. I create a myfile.lytex in TexShop 2. I can run lilypond-book from the command line 3. I open the ./out/myfile.tex in TexShop and do the typesetting as I usually would for a Latex file. Sofar, myfile.lytex only calls lilypond-files with snippets. Here are my first questions (sure more to follow…): A. – I'm trying to simplify the usage. Ideally, I'd like to do the three steps mentioned above in one call to the "typeset"-command in TeXShop. Is there a way to do this? – One reason I'd like to do this: When I change only some text in .lytex and run lilypond-book, the file ./out/myfile.tex does not get updated because all the lilypond-snippets are up to date. Any remedy to that in the command-line usage of lilypond-book? B. Layout question: One of the files that I include has no page-size indications. It's basically a big StaffGroup and the width fits on a A4 page with no problem. When I include the same file within a .lytex file, it does not fit anymore; the StaffGroup gets cut in the middle and is spread on 2 pages width. Thanks in advance for any help, Dona P.S: I tried to send this message directly to the list, but it didn't work although I'm subscribed. Is there anything that I missed? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond-book and TeXshop on Mac: Newbie questions
Hi, I'm an occasional user of Lilypond and so far, I've created only smaller examples. I'm neither an experienced user with Latex, so bare with me. I'm trying to use Lilypond-book (v.2.14.2) with TeXShop (v2.43) on Mac OS X (v10.7.3). The installation worked and I can run a small test-file: 1. I create a myfile.lytex in TexShop 2. I can run lilypond-book from the command line 3. I open the ./out/myfile.tex in TexShop and do the typesetting as I usually would for a Latex file. Sofar, myfile.lytex only calls lilypond-files with snippets. Here are my first questions (sure more to follow…): A. – I'm trying to simplify the usage. Ideally, I'd like to do the three steps mentioned above in one call to the "typeset"-command in TeXShop. Is there a way to do this? – One reason I'd like to do this: When I change only some text in .lytex and run lilypond-book, the file ./out/myfile.tex does not get updated because all the lilypond-snippets are up to date. Any remedy to that in the command-line usage of lilypond-book? B. Layout question: One of the files that I include has no page-size indications. It's basically a big StaffGroup and the width fits on a A4 page with no problem. When I include the same file within a .lytex file, it does not fit anymore; the StaffGroup gets cut in the middle and is spread on 2 pages width. Thanks in advance for any help, Dona ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fwd: Lilypond-book and TeXshop on Mac: Newbie questions
Hi, it seems that my message didn't make it to the list. Cheers, Dona Begin forwarded message: > From: Dona Mommsen > Subject: Lilypond-book and TeXshop on Mac: Newbie questions > Date: April 26, 2012 10:13:17 AM GMT+02:00 > To: lilypond-user@gnu.org > > Hi, > > I'm an occasional user of Lilypond and so far, I've created only smaller > examples. I'm neither an experienced user with Latex, so bare with me. > > I'm trying to use Lilypond-book (v.2.14.2) with TeXShop (v2.43) on Mac OS X > (v10.7.3). > The installation worked and I can run a small test-file: > 1. I create a myfile.lytex in TexShop > 2. I can run lilypond-book from the command line > 3. I open the ./out/myfile.tex in TexShop and do the typesetting as I usually > would for a Latex file. > > Sofar, myfile.lytex only calls lilypond-files with snippets. > > Here are my first questions (sure more to follow…): > A. – I'm trying to simplify the usage. Ideally, I'd like to do the three > steps mentioned above in one call to the "typeset"-command in TeXShop. Is > there a way to do this? > – One reason I'd like to do this: When I change only some text in .lytex and > run lilypond-book, the file ./out/myfile.tex does not get updated because all > the lilypond-snippets are up to date. Any remedy to that in the command-line > usage of lilypond-book? > > B. Layout question: > One of the files that I include has no page-size indications. It's basically > a big StaffGroup and the width fits on a A4 page with no problem. > When I include the same file within a .lytex file, it does not fit anymore; > the StaffGroup gets cut in the middle and is spread on 2 pages width. > > Thanks in advance for any help, > > Dona > > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: General newbie questions
On 15 November 2010 10:04, Marc Hohl wrote: > > Xavier, I am impressed by the amount of time you invest in > giving such detailed answers on the list, not only to this specific > mail, but in general. > > You do a great job, kudos! Thanks ! Actually I'm not a programmer, so I cannot fix myself the bugs I report (or the lack of features I'm grumbling about). But as I have some user experience with LilyPond I am able to (try to) help other users —within my capabilities. Then, I should probably (secretly) hope LilyPond devs would be more inclined to fix the issues that annoy me the most! ;D Cheers, Xavier -- Xavier Scheuer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: General newbie questions
Am 15.11.2010 09:49, schrieb Xavier Scheuer: [...] OK, let's try to answer in order. [...] Xavier, I am impressed by the amount of time you invest in giving such detailed answers on the list, not only to this specific mail, but in general. You do a great job, kudos! Marc Cheers, Xavier ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: General newbie questions
On 15 November 2010 06:00, Paul Thompson wrote: > > Thanks. After going thru the manual and the intro section, I have a > good idea about lilypond (plus I am an old LaTeX user, which helps). Please reply to all. So that people on the mailing list receive your message too and could answer as well. > There are two things that I remain confused about: > > 1) Is there a general guide to putting multiple modifiers on a note? > For instance, a note that is flatted, raised an octave, specified as > quarter note, and the first note in a stave. What order is used in > this kind of multiple specification? OK, let's try to answer in order. 1. the first note in a stave -> use \new Staff { to create a new staff. 2. a note that is flatted -> if you use LilyPond default note name, you should add "es" as a suffix to the note name. Ex: bes for b flat. But you can also use other note names (english for instance). See NR 1.1.1 Writing pitches > Note names in other languages http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-pitches.html#Note-names-in-other-languages 3. raised an octave -> I recommend using "Relative octave entry" http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-pitches.html#Relative-octave-entry Use a single quote ' (or apostrophe) to raise a pitch by an extra octave, relative to the pitch calculated without an octave mark. 4. specified as quarter note -> add the number 4 after the note name. To summarize \score { << % if you want to input ‘simultaneous’ staves \new Staff { \relative c' { % use relative octave entry bes4 c d ees | f g a bes | \bar "||" \time 3/2 \key bes \major bes,2 bes' bes' | bes, bes,1 \bar "|." % end bar line } % end \relative } % end Staff >> } % end \score > 2) All of these multiple specifications (\Stem \Score \Book etc) can > be used. Is there a general cheat-sheet to which is used for which > thing, and in what order? \Stem ? I suppose you meant \new Staff ... Well, have you read the learning manual? http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/index.html As said in the description, it's a a “must-read” gentle introduction to LilyPond. :) There are some templates at the end. http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Templates.html There is also a "cheat-sheet" at the end of the notation manual (more complete than the learning manual, containing almost everything a user could want). http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Cheat-sheet.html Cheers, Xavier -- Xavier Scheuer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three newbie questions
> > \set chordRootNamer = #(lambda (x) ("-")) or something like that (I'm > > not sure about the syntax), then \unset chordRootNamer would do the trick. > > Ok, I wasn't able to make some valid lilypond syntax with this. I asked > google and didn't get much help there. > What's the error message? (Sorry I don't have a running lilypond now) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three newbie questions
If you use \set chordRootNamer = #(lambda (x) "-") you will not get any syntax errors, you don't get any syntax errors but you get a somewhat unexpected output. If you, in addition, set \set chordNoteNamer = #note-name->markup the result is somewhat more similar to what you want (by default it seems that chordNoteNamer uses the value of chordRootNamer unless it's explicitly set). However, since the modifier is still printed, you don't really get the result you want, at least not if the chord is f:m/es (however, if you don't care about MIDI output, you could then use the corresponding chord without the modifier, f:/es in the input to get the desired output. /Mats Atte André Jensen wrote: Bertalan Fodor (LilyPondTool) wrote: So I suppose using \set chordRootNamer = #(lambda (x) ("-")) or something like that (I'm not sure about the syntax), then \unset chordRootNamer would do the trick. Ok, I wasn't able to make some valid lilypond syntax with this. I asked google and didn't get much help there. Anyone knows how this could be done? Ideally I think it should be a boolean property, something like \set repeatedRootsDash = ##t If I should try to implement this in lilypond (and submit a patch if I succed), which file should I look at? Would I need a compiled-by-hand version of lilypond in order to try to implement this, or is it possible to work with my 2.10.33 from ubuntu repositories? -- = 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: Three newbie questions
Bertalan Fodor (LilyPondTool) wrote: So I suppose using \set chordRootNamer = #(lambda (x) ("-")) or something like that (I'm not sure about the syntax), then \unset chordRootNamer would do the trick. Ok, I wasn't able to make some valid lilypond syntax with this. I asked google and didn't get much help there. Anyone knows how this could be done? Ideally I think it should be a boolean property, something like \set repeatedRootsDash = ##t If I should try to implement this in lilypond (and submit a patch if I succed), which file should I look at? Would I need a compiled-by-hand version of lilypond in order to try to implement this, or is it possible to work with my 2.10.33 from ubuntu repositories? -- Atte http://atte.dkhttp://modlys.dk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three newbie questions
1) I believe that you will have to enter the Fm again so that it will show up as Fm/Eb (f:m/eb). I have done it this way. I have not seen it done the way that you describe before in any commercially printed music. I am only a little familiar with Finale and not at all with Sibelius but I would be surprised if this was easy to do with them as well. As others have responded, this may be possible with Lilypond as just about anything is possible but it may take a lot of effort to accomplish it. Walter Hofmeister On Nov 6, 2008, at 4:11 AM, Atte André Jensen wrote: Hi I have a couple of questions, that I couldn't figure out in the documentation. 1) If I have a set of chords that I'd like to be printed like this: Fm -/Eb Bb/D how do I then get the dash ("-") symbol (meaning "repeat the previous chord, now with Eb in the bass"? 2) I'm danish, and we write "H" instead of "B". How do I get lilypond to write "H" in a chord instead of "B". 3) When writing a song with lyrics, for instance a Christmas carol, there a alot of additional verses. I read "7.3.9.4 Printing stanzas at the end" on http://lilypond.org/doc/v2.10/Documentation/user/ lilypond-big-page#Vocal-music, but that a) seems cumbersome b) doesn't seem to allow spacing between verses and c) is in one column. Ideally I'd like to simply enter the additional verses in raw text, and have lilypond figure out how to place them, for instance by looking at blank lines (separating verses) which in case of 5 additional verses should be like this (centered): 2. this is 4. this is verse two verse four 3. this is 5. this is verse three verse five 6. this is verse six If the lines are too long it should be printed like this (centered): 2. this is verse two with a looong line 3. this is verse three with a looong line 4. this is verse four with a looong line 5. this is verse five with a looong line 6. this is verse six with a looong line I hope my questions are clear, and sorry if I overlooked it in the manual. -- Atte http://atte.dkhttp://modlys.dk ___ 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: Three newbie questions
1) I don´t know, but I´m interested, too! Ok, hope others will chime in, then. If I see well, it's note very simple. Chord names are written as markups. The markup is generated by a scheme function. So if you want to override this, you either need to override this scheme function or write the chord name as a markup string yourself. I think overwriting this scheme function actually seems to be easy. According to http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Displaying-chords#Displaying-chords if you set "chordRootNamer" a function that simply returns "-" you've done it. So I suppose using \set chordRootNamer = #(lambda (x) ("-")) or something like that (I'm not sure about the syntax), then \unset chordRootNamer would do the trick. Bert ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Three newbie questions
> 3) When writing a song with lyrics, for instance a Christmas carol, > there a alot of additional verses. I read "7.3.9.4 Printing stanzas at > the end" on > http://lilypond.org/doc/v2.10/Documentation/user/lilypond-big-page#Vocal-music, > > but that a) seems cumbersome I'll bet if someone with enough scheme is interested they could make an easier way that would arrange any number or length of verses nicely. >b) doesn't seem to allow spacing between Here's what I've done for columns and spacing. I think I got from Geoff Horton's tips page. The trick is that the space goes on the outside of the verses, to push them together, since \fill-line pushes elements to the extremes of the line. Another horizontal line is another \markup\fill-line{} block, so you have to arrange your "columns" accordingly. And once you have more rows than I have here you might also need an \hspace between the column elements to keep things even. \markup \fill-line { \hspace #1 %to keep the verse from going flush-left \line { "2. " \column { "A land of deepest shade," " Unpierced by human thought;" "The dreary regions of the dead," " Where all things are forgot!" } } % you might want \hspace here,too if you have more rows. \line{ "3. " \column { "Soon as from earth I go," " What will become of me?" "Eternal happiness or woe" " Must then my portion be." } } \hspace #1 %to keep the verse from going flush-right } \markup { " " } % vertical space between verses. %There are an odd number of extra verses, so this one's centered \markup \fill-line { \line { "4. " \column { "Waked by the trumpet sound" " I from my grave shall rise;" "And see the Judge with glory crowned" " And see the flaming skies!" } } } > If the lines are too long it should be printed like this (centered): > > 2. this is verse two > with a looong line > > 3. this is verse three > with a looong line See verse 4 above, and just keep adding \line{\column blocks. Or maybe even without the \line{ ... ?? As long as it's inside \fill-line, it will be centered. -- Пантелеимонъ, монахъ + + + + + + + + + + Господи Їисусе Хрïсте, помилуй мѧ грѣшнаго. + + + + + + + + + + ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three newbie questions
Dominic Neumann wrote: Welcome to LilyPond, André! Thanks. Actually I'm just back from a long break. In 2003 I typeset a set of piano etudes (http://www.abmusic.nl/composition2.htm, "Tien Etudes op een thema van J. Mulders") for my classical teacher in lilypond. So some things are still there, some forgotten and some have changed in lilpond since then. But I still like to think of myself as a newbie regarding lilypond at the moment. 1) I don´t know, but I´m interested, too! Ok, hope others will chime in, then. 2) You should set \germanChords or \semiGermanChords to meet your needs. Great, thanks, that works great! 3) I don´t think, it´s possible to let LilyPond decide how to print stanzas at the end. I hope you're wrong :-( Others? -- Atte http://atte.dkhttp://modlys.dk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three newbie questions
Quoting Dominic Neumann <[EMAIL PROTECTED]>: 3) I don´t think, it´s possible to let LilyPond decide how to print stanzas at the end. It should certainly no be impossible, but would require you to implement this "intelligence" using Scheme functions. /Mats Dominic 2008/11/6 Atte André Jensen <[EMAIL PROTECTED]>: Hi I have a couple of questions, that I couldn't figure out in the documentation. 1) If I have a set of chords that I'd like to be printed like this: Fm -/Eb Bb/D how do I then get the dash ("-") symbol (meaning "repeat the previous chord, now with Eb in the bass"? 2) I'm danish, and we write "H" instead of "B". How do I get lilypond to write "H" in a chord instead of "B". 3) When writing a song with lyrics, for instance a Christmas carol, there a alot of additional verses. I read "7.3.9.4 Printing stanzas at the end" on http://lilypond.org/doc/v2.10/Documentation/user/lilypond-big-page#Vocal-music, but that a) seems cumbersome b) doesn't seem to allow spacing between verses and c) is in one column. Ideally I'd like to simply enter the additional verses in raw text, and have lilypond figure out how to place them, for instance by looking at blank lines (separating verses) which in case of 5 additional verses should be like this (centered): 2. this is 4. this is verse two verse four 3. this is 5. this is verse three verse five 6. this is verse six If the lines are too long it should be printed like this (centered): 2. this is verse two with a looong line 3. this is verse three with a looong line 4. this is verse four with a looong line 5. this is verse five with a looong line 6. this is verse six with a looong line I hope my questions are clear, and sorry if I overlooked it in the manual. -- Atte http://atte.dkhttp://modlys.dk ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Three newbie questions
Welcome to LilyPond, André! 1) I don´t know, but I´m interested, too! 2) You should set \germanChords or \semiGermanChords to meet your needs. 3) I don´t think, it´s possible to let LilyPond decide how to print stanzas at the end. Dominic 2008/11/6 Atte André Jensen <[EMAIL PROTECTED]>: > Hi > > I have a couple of questions, that I couldn't figure out in the > documentation. > > 1) If I have a set of chords that I'd like to be printed like this: > Fm -/Eb Bb/D > how do I then get the dash ("-") symbol (meaning "repeat the previous chord, > now with Eb in the bass"? > > 2) I'm danish, and we write "H" instead of "B". How do I get lilypond to > write "H" in a chord instead of "B". > > 3) When writing a song with lyrics, for instance a Christmas carol, there a > alot of additional verses. I read "7.3.9.4 Printing stanzas at the end" on > http://lilypond.org/doc/v2.10/Documentation/user/lilypond-big-page#Vocal-music, > but that a) seems cumbersome b) doesn't seem to allow spacing between verses > and c) is in one column. Ideally I'd like to simply enter the additional > verses in raw text, and have lilypond figure out how to place them, for > instance by looking at blank lines (separating verses) which in case of 5 > additional verses should be like this (centered): > > 2. this is 4. this is > verse two verse four > > 3. this is 5. this is > verse three verse five > > 6. this is > verse six > > If the lines are too long it should be printed like this (centered): > > 2. this is verse two > with a looong line > > 3. this is verse three > with a looong line > > 4. this is verse four > with a looong line > > 5. this is verse five > with a looong line > > 6. this is verse six > with a looong line > > I hope my questions are clear, and sorry if I overlooked it in the manual. > > -- > Atte > > http://atte.dkhttp://modlys.dk > > > ___ > 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
Three newbie questions
Hi I have a couple of questions, that I couldn't figure out in the documentation. 1) If I have a set of chords that I'd like to be printed like this: Fm -/Eb Bb/D how do I then get the dash ("-") symbol (meaning "repeat the previous chord, now with Eb in the bass"? 2) I'm danish, and we write "H" instead of "B". How do I get lilypond to write "H" in a chord instead of "B". 3) When writing a song with lyrics, for instance a Christmas carol, there a alot of additional verses. I read "7.3.9.4 Printing stanzas at the end" on http://lilypond.org/doc/v2.10/Documentation/user/lilypond-big-page#Vocal-music, but that a) seems cumbersome b) doesn't seem to allow spacing between verses and c) is in one column. Ideally I'd like to simply enter the additional verses in raw text, and have lilypond figure out how to place them, for instance by looking at blank lines (separating verses) which in case of 5 additional verses should be like this (centered): 2. this is 4. this is verse two verse four 3. this is 5. this is verse three verse five 6. this is verse six If the lines are too long it should be printed like this (centered): 2. this is verse two with a looong line 3. this is verse three with a looong line 4. this is verse four with a looong line 5. this is verse five with a looong line 6. this is verse six with a looong line I hope my questions are clear, and sorry if I overlooked it in the manual. -- Atte http://atte.dkhttp://modlys.dk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Newbie Questions
I'm a new user of Lilypond. After some experimentation, I've encountered a couple of situations where I suspect that I am not using the program correctly. 1. In the second alternative to the repeat, the \repeatTie's are concave. I tried tweaking with ^ but it does not seem to have the desired effect. 2. The whole rest in the last measure is not centered, which, I believe, is the conventional location (in organ music, at least). 3. A warning. can't end volta spanner [5], is issued, apparently because the length is tweaked to end at the double bar in the second alternative. It appears to be necessary to include an extra measure in the second alternative in order to tie the new voice across the bar. One further effect I'd like to achieve is to mimic the labels of the volta spanners that appear in the text I am working from: "1ma" and "2nda", where the "ma" and "nda" are raised above the line with a "dot" beneath. Thanks in advance for your help. \version "2.10.25" soprano = \relative c'' { \repeat volta 2 { c16[ e c e ] d[ f d f ] \voiceOne b,[ g a b ] c4~ } \alternative { { c b c r } { c^\repeatTie b c2~ \bar "||" | c r8 c[ c c ] } } e4 r8 d c[ c ] c[ b16 c ] } alto = \relative c' { \repeat volta 2 { s2 \stemDown d4 << { \voiceThree g~ } \new Voice { \voiceTwo r16 e[ d c ] \oneVoice } >> } \alternative { { << { g'4. f8 g4 \voiceTwo r } \new Voice { \voiceTwo d2 e4 s4 \oneVoice } >> } { << { \voiceThree g4.^\repeatTie f8 g2~ | g2 \voiceTwo r } \new Voice { \voiceTwo d2 e2~ | e s \oneVoice } >> } } r1 } << \new Staff { \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4) << \soprano \alto >> } >> ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie questions
Mats Bengtsson wrote: 3) at the end of m. 6 there's again a note tied to the following measure across the line break, but since there's a clef change in the left hand, the tie ends before the line. I cannot recall having seen exactly this problem mentioned earlier. Here's a minimal example: \version "2.10.0" \layout{ragged-right = ##t } << \new Staff \relative c'''{ cis1 ~ \break cis } \new Staff \relative c{ \clef bass a \clef treble cis } >> Thanks, added as http://code.google.com/p/lilypond/issues/detail?id=192 Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie questions
Mats Bengtsson wrote: 2) from measure 4 to 5, in the right hand a note with an accidental is tied across the line break, the accidental in the following note (beginning m. 5) collides with the tie; You may find something useful if you search the mailing list archives, the problem looks familiar. For the bug report, here comes a minimal example: \version "2.10.0" \layout{ragged-right = ##t } \relative c'''{ cis1 ~ \break cis } This is related to an old report that I've just re-opened: http://code.google.com/p/lilypond/issues/detail?id=55 As a temporary workaround, you could replace the tie with a slur. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie questions
Mats Bengtsson wrote: 1) in measure number 4 of the score, the beam in the 3rd quarter note of the right hand is slightly slanted *upwards*, not downwards as it should be; Agree! This seems to be related to how widely spaced the music is, as can be seen in the following small example: \version "2.10.0" \layout{ % line-width = 5\cm % Gives expected beam slanted downwards line-width = 10\cm % Gives unexpected beam slanted upwards } \relative c'''{ \time 2/4 fis16 dis b ais cis4 } Wow, you've got good eyes. I was just about to claim that I couldn't reproduce this bug since the beams were horizontal. Added as http://code.google.com/p/lilypond/issues/detail?id=191 Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie questions
thank you very much mats for your prompt and detailed answer! i'll try to upgrade soon to 2.10.3 (out yesterday!) and look at the examples you mention. Mats Bengtsson <[EMAIL PROTECTED]> escribió: > It seems that all three of your problems would classify as bugs or at > least as requests for enhancements, so I send them to the > bug-lilypond mailing list. thank you, i wasn't aware there was a bug list, and anyway i still don't know if something is a bug or my mistake. > When looking at your .ly file, I noticed that you don't use the > \repeat feature to typeset repeats. indeed, i wasn't aware of that, i'm just beginning to read the manual. i'm still pretty much confused about the structure of the documents, i just write everything in a linear sort of way and it gets rendered. but i don't understand yet how to organize things. i have more questions coming. now another issue in my previous example: to my eyes many of the stems are too short. that might be a matter of taste, the problem is that in many places accidentals collide with beams. for example m. 1 and 2 (see png attached), but in other measures too. that's all for now. best, lj ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie questions
luis jure wrote: hello list, i'm new to lilypond and this is my first message to the list. first of all, a big thank you to all the developers and contributors for this great software. Welcome! ... now i have three questions regarding a short fragment i've written, i hope it's OK to attach the code and a small png file (11 Kb): Definitely! It seems that all three of your problems would classify as bugs or at least as requests for enhancements, so I send them to the bug-lilypond mailing list. 1) in measure number 4 of the score, the beam in the 3rd quarter note of the right hand is slightly slanted *upwards*, not downwards as it should be; Agree! This seems to be related to how widely spaced the music is, as can be seen in the following small example: \version "2.10.0" \layout{ % line-width = 5\cm % Gives expected beam slanted downwards line-width = 10\cm % Gives unexpected beam slanted upwards } \relative c'''{ \time 2/4 fis16 dis b ais cis4 } If you look at the example called beam-position.ly in the Regression Test document, you will learn that you can try \override Stem #'no-stem-extend = ##t but you will probably not be happy with that solution. Rather, you can take a look at the example beam-control.ly in Tips and Tricks, which shows how to manually set the vertical position of the left and right edge of the beam. 2) from measure 4 to 5, in the right hand a note with an accidental is tied across the line break, the accidental in the following note (beginning m. 5) collides with the tie; You may find something useful if you search the mailing list archives, the problem looks familiar. For the bug report, here comes a minimal example: \version "2.10.0" \layout{ragged-right = ##t } \relative c'''{ cis1 ~ \break cis } 3) at the end of m. 6 there's again a note tied to the following measure across the line break, but since there's a clef change in the left hand, the tie ends before the line. I cannot recall having seen exactly this problem mentioned earlier. Here's a minimal example: \version "2.10.0" \layout{ragged-right = ##t } << \new Staff \relative c'''{ cis1 ~ \break cis } \new Staff \relative c{ \clef bass a \clef treble cis } >> my question are: how can i correct those issues? are they the usual behavior, what have i done wrong? i'm using lilypond 2.8.8 on gentoo linux. I'd recommend you to upgrade to version 2.10, an installation package is available at www.lilypond.org -> Downloads. However, this doesn't solve exactly your problems, even though many other bugs have been fixed and the layout has been improved. Unfortunately, I don't have any good fixes for the last two problems. When looking at your .ly file, I noticed that you don't use the \repeat feature to typeset repeats. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
newbie questions
hello list, i'm new to lilypond and this is my first message to the list. first of all, a big thank you to all the developers and contributors for this great software. i've been reading the documentation and i've been able to begin typesetting a simple piano piece in traditional notation. there are many things that i still don't know how to do, and others that i copy from the manual but i still don't understand very well. now i have three questions regarding a short fragment i've written, i hope it's OK to attach the code and a small png file (11 Kb): 1) in measure number 4 of the score, the beam in the 3rd quarter note of the right hand is slightly slanted *upwards*, not downwards as it should be; 2) from measure 4 to 5, in the right hand a note with an accidental is tied across the line break, the accidental in the following note (beginning m. 5) collides with the tie; 3) at the end of m. 6 there's again a note tied to the following measure across the line break, but since there's a clef change in the left hand, the tie ends before the line. my question are: how can i correct those issues? are they the usual behavior, what have i done wrong? i'm using lilypond 2.8.8 on gentoo linux. best, lj test.ly Description: Binary data allemande.png Description: PNG image ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two newbie questions
Palmer, Ralph wrote: Thanks for the quick response, and sorry - by "embedded space", I meant blank space, usually inserted by hitting the space bar on the keyboard (Character code 0020 in Microsoft Word, possibly the same as Unicode u8195, aka "em space"), but a tab does the same thing. Is that clear? If I input cis'( it's clearly interpreted differently from cis '( but cis'( cis') is interpreted the same as cis'( cis') or even cis'( cis') Please keep lilypond emails on the mailist, since other people may benefit from the answers. Lilypond is generally whitespace-insensitive (the programmer name for "embedded space" is whitespace), but as you've noticed the octave mark ', needs to be next to the note name. There isn't any authoritative documentation about this, however. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two newbie questions
Palmer, Ralph wrote: Nice program! I was using .abc, with abcm2ps (which I still like for its ease of use and speed of entry), but LilyPond seems even more flexible. I think I still prefer .abc for some scores, but there are things I can do in LilyPond that I can't do in .abc. You could write your notes in .abc, run abc2ly, and then make a few final tweaks. I'm not certain how complete abc2ly is though. 1) What's LSR? LilyPond Snippet Repository, http://lsr.dsi.unimi.it/ 2) What's the significance of an embedded space? Or, perhaps more to the point, where are embedded spaces (or line returns, for that matter) prohibited (or significant)? It's clear there are places where adding an embedded space mucks things up (like between a note name and and a slur start, for example), and places where it seems to make no difference to LilyPond; is there a simple rule that distinguishes the two categories? I'm not certain what you mean by "embedded space". You can control the line breaks with \break and \noBreak; you can alter the position of individual objects with #'padding and #'extra-offset. (see chapters 5 and 9 in the manual for more about this) Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Two newbie questions
Greetings - Nice program! I was using .abc, with abcm2ps (which I still like for its ease of use and speed of entry), but LilyPond seems even more flexible. I think I still prefer .abc for some scores, but there are things I can do in LilyPond that I can't do in .abc. 1) What's LSR? 2) What's the significance of an embedded space? Or, perhaps more to the point, where are embedded spaces (or line returns, for that matter) prohibited (or significant)? It's clear there are places where adding an embedded space mucks things up (like between a note name and and a slur start, for example), and places where it seems to make no difference to LilyPond; is there a simple rule that distinguishes the two categories? Ralph Palmer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \lyricsto was: Complicated newbie questions!
Markian Hlynka wrote: On Nov 6, 2005, at 4:29, Mats Bengtsson wrote: You just give a name to the voice of music you want to attach your lyrics to. To make it clear what is what in the syntax I didn't use the obvious name "mainvoice" but "THEMUSIC" in the following example: \score{ << \context Voice = THEMUSIC \mainvoice \lyricsto THEMUSIC \new Lyrics \mainwords >> } If you want to split lyrics when the music splits into several voices, use separate Voice contexts with separate names and just attach the lyrics to the corresponding voice. Read in "7.3.6 More stanzas" to see one example. Ok, I've been working with Mats' suggestion, and I'm making progress, but I'm still confused. First, I don't understand the distinction between THEMUSIC in the example above and \mainvoice. mainvoice is where I defined my melody line: Do you have any experience of computer programming? In that case, just think of mainvoice as a macro definition or a variable. It is just a way to structure your input file. For example, mainvoice = { c d e f } \score{ \mainvoice } is completely equivalent to \score{ { c d e f } } Naming Voice contexts is something completely different. For example, in \score{ \context Staff = mystaff { \context Voice = ABCD { c d e f } } } you explicitly tell LilyPond to create a Staff context (corresponding to a printed staff/stave) which contains a Voice context (corresponding to one line of music). LilyPond will create most of these contexts automatically even if you don't specify them, for example a Voice context is created as soon as you have some music and a Staff context as soon as there is a Voice. However, in certain circumstances you want to specify a name of the voice or stave to be able to refer to it. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \lyricsto was: Complicated newbie questions!
Markian Hlynka wrote: On Nov 6, 2005, at 4:29, Mats Bengtsson wrote: You just give a name to the voice of music you want to attach your lyrics to. To make it clear what is what in the syntax I didn't use the obvious name "mainvoice" but "THEMUSIC" in the following example: \score{ << \context Voice = THEMUSIC \mainvoice \lyricsto THEMUSIC \new Lyrics \mainwords >> } If you want to split lyrics when the music splits into several voices, use separate Voice contexts with separate names and just attach the lyrics to the corresponding voice. Read in "7.3.6 More stanzas" to see one example. Hi, Matt. I must not quite understand how Voice is intended to work. Is it possible, then, to have 2 voices, call them A and B, in the same staff, where voice B only occasionally has separate lyrics and or notes? I mean, without having a whole lot of rests in B? Like, I'd align parts of B to marker in A or something. Or am I totally off my rocker? You are right on the spot. The Voice context in LilyPond is intended to correspond exactly to the musical concept of a voice. See the Section on Polyphony in the manual and the example template for "SATB vocal score", for example. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \lyricsto was: Complicated newbie questions!
On Nov 6, 2005, at 4:29, Mats Bengtsson wrote: You just give a name to the voice of music you want to attach your lyrics to. To make it clear what is what in the syntax I didn't use the obvious name "mainvoice" but "THEMUSIC" in the following example: \score{ << \context Voice = THEMUSIC \mainvoice \lyricsto THEMUSIC \new Lyrics \mainwords >> } If you want to split lyrics when the music splits into several voices, use separate Voice contexts with separate names and just attach the lyrics to the corresponding voice. Read in "7.3.6 More stanzas" to see one example. Ok, I've been working with Mats' suggestion, and I'm making progress, but I'm still confused. First, I don't understand the distinction between THEMUSIC in the example above and \mainvoice. mainvoice is where I defined my melody line: mainvoice = \relative c { \key a \minor \repeat volta 2 { \partial 8*3 e8 a8. [ b16] c2~c8 b16 a gis8.( a16) b2 r8 e,8 gis8. [ b16] d4 c8 b e8. c16 a4 ~ a2 r8 } } so, is THEMUSIC what I'd name the staff? I don't quite understand the intention behind this. Second, I've had success fixing my lyric problem, but I now have: \score { \time 4/4 \context ChoirStaff << %\context Staff = bari \context Voice = themusic \mainvoice \lyricsto themusic \new Lyrics \mainwords << \clef bass \mainvoice >> %\context Lyrics = bari \mainwords \context Staff = bass << \clef bass \secondvoice >> >> } This produces 3 staves: the first bass clef, which I want, the second a treble clef, which I don't want, using the music of the first part, and the third a bass clef, second part, which I want. But, if I remove: << \clef bass \mainvoice >> My top line becomes a treble clef. Not right. So, I put \clef bass above \context Voice =... That gives me a blank bass staff as the first line! if I remove \context Staff = bass << \clef bass \secondvoice >> now my _bottom line is a treble clef! What's going on here? Clearly I don't understand the intent of the syntax somewhere here. Clarification would be much appreciated! Thanks, Markian ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hello! Complicated newbie questions!
On Nov 5, 2005, at 6:32, Ishizaki wrote:How about this ?Maybe works for v2.6 series.a little complicated to my eye, but works quite nicely, thank you, ありがとございました!!Is 2.7 still an 'unstable' realease? Any idea when it will be stable? Or, should I just use it now anyway?Thanks,Markian\version "2.7.12"\relative c\new Staff { \clef bass { c4 c c c f f e2 d4 d c c b g << c2 \\ \tiny \once \override Stem #'transparent = ##t c,>> g'4 e << { \override Stem #'transparent = ##t \override NoteHead #'extra-offset = #'(-0.3 . 0.0) c' b } \\ { \tiny \revert NoteHead #'extra-offset \revert Stem #'transparent \override Stem #'lengths = #'(7.0 4.5) \stemUp c, b } >> }}___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \lyricsto was: Complicated newbie questions!
On Nov 6, 2005, at 4:29, Mats Bengtsson wrote:You just give a name to the voice of music you want to attach yourlyrics to. To make it clear what is what in the syntax I didn't use theobvious name "mainvoice" but "THEMUSIC" in the following example:\score{ << \context Voice = THEMUSIC \mainvoice \lyricsto THEMUSIC \new Lyrics \mainwords >>}If you want to split lyrics when the music splits into several voices,use separate Voice contexts with separate names and just attach thelyrics to the corresponding voice. Read in "7.3.6 More stanzas" to seeone example.Hi, Matt.I must not quite understand how Voice is intended to work. Is it possible, then, to have 2 voices, call them A and B, in the same staff, where voice B only occasionally has separate lyrics and or notes? I mean, without having a whole lot of rests in B? Like, I'd align parts of B to marker in A or something. Or am I totally off my rocker?Thanks,Markian___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hello! Complicated newbie questions!
On Nov 5, 2005, at 9:07, Mats Bengtsson wrote:Quoting Arthur Dyck <[EMAIL PROTECTED]>: I'm on a steep learning curve also, and the list has been great. There are acouple of other things you can do. Download the manual onto your machine andthen do word searches for what you are trying to do. For example, if you doa search for "transparent", you 'll find ways to make bars, notes and stemstransparent, among other things. I hope you have realized that there is an index to the manual.indeed I have, and I do searches through the pdf as well, sometimes, though, I either can't quite find what I'm looking for, or can't figure it out.Another thing I have been doing is finding templates wherever I can and thenusing or adapting them. People will often send you a template if you tellthem what you are trying to do. Another good place to look iswww.mutopiaproject.org. There you'll find lots of different styles of musicwith both the pdf and .ly files. Don't forget the LSR, linked from lilypond.org -> Documentation. Mostof these examples are also included in the Tips and Tricks and Regression Tests document.Thanks for the tips. I found the LSR, but where do I find the Regression Tests?You sound really excited about Lilypond, as are we all. But you might getmore responses if you split up your questions into separate emails with theirown subject line.Yeah, I should know better, but I didn't want to spam the list with half a dozen emails first-off; I figured one would be a cleaner start!It seems that you have missed the \lyricsto feature which tells which lyrics line should be aligned with wich music. This should also answerthe next question. Read in section "The Lyrics Context" for more information.I have re-read the section you specify, and have looked at the vocal template in section 3 of the manual too. I guess one thing that I'm not clear on is what the Voice context is for. I wanted one voice per staff, so I figured I could ignore it. I gather that I can't. But, for some reason voice also implied no chords to me, which I didn't like. I suppose I'm probably wrong there.I'll try it out soon and see what I can do.Thanks for your help!Markian___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \lyricsto was: Complicated newbie questions!
You just give a name to the voice of music you want to attach your lyrics to. To make it clear what is what in the syntax I didn't use the obvious name "mainvoice" but "THEMUSIC" in the following example: \score{ << \context Voice = THEMUSIC \mainvoice \lyricsto THEMUSIC \new Lyrics \mainwords >> } If you want to split lyrics when the music splits into several voices, use separate Voice contexts with separate names and just attach the lyrics to the corresponding voice. Read in "7.3.6 More stanzas" to see one example. /Mats Markian Hlynka wrote: On Nov 4, 2005, at 15:52, Erik Sandberg wrote: On Friday 04 November 2005 23.12, Markian Hlynka wrote: 7. Finally (for now), I'm having trouble aligning lyrics to music. I have this: mainvoice = \relative c { \key a \minor \repeat volta 2 { \partial 8*3 e8 a8. [ b16] c2~c8 b16 a gis8. a16 b2 r8 } } mainwords = \lyricmode{ one -- two -- three -- four five six } So, the end of sylable four should align with c2~c8.. It does, but "five" is also under the c2, not under the subsequent b16 where it belongs. I've tried adding _ and __ and even _ __, but there doesn't seem to be any effect. Am I doing something wrong? Same problem in English and Cyrillic. Please re-read the sections about lyrics carefully. You probably want to use \lyricsto or \addlyrics. I see, but I don't understand to what I must "attach" \lyricsto Also, is there a way to have a main lyrics line for choral stuff, and alternative extra lyrics per voice as needed? ie so the main lyrics only print out once if there's a master staff? Does that make sense? Markian When arguing with an idiot, be sure they aren't doing the same. ___ 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
Re: Hello! Complicated newbie questions!
Quoting Arthur Dyck <[EMAIL PROTECTED]>: I'm on a steep learning curve also, and the list has been great. There are a couple of other things you can do. Download the manual onto your machine and then do word searches for what you are trying to do. For example, if you do a search for "transparent", you 'll find ways to make bars, notes and stems transparent, among other things. I hope you have realized that there is an index to the manual. Another thing I have been doing is finding templates wherever I can and then using or adapting them. People will often send you a template if you tell them what you are trying to do. Another good place to look is www.mutopiaproject.org. There you'll find lots of different styles of music with both the pdf and .ly files. Don't forget the LSR, linked from lilypond.org -> Documentation. Most of these examples are also included in the Tips and Tricks and Regression Tests document. Finally, don't forget about Google. It will often take you straight to list archives regarding your search. You sound really excited about Lilypond, as are we all. But you might get more responses if you split up your questions into separate emails with their own subject line. I answer some of the previously unanswered ones below. Regards Arthur On Friday 04 November 2005 03:12 pm, Markian Hlynka wrote: Hi everyone! I just discovered lilypond the other day, and I can't stop playing with it. I have all sorts of questions, and I'm hoping maybe some people here might be able to point me in the right direction. First, here are the simple questions: 3. What about putting parentheses around a note in the score ie (o) There is an example in the Regression Test. 4. One other simple one. I'm sure I saw somewhere in the documentation a way to extend lines, something like \header{ composer = "Mozart " \\ \line "the child prodigy" } or something like that. But, now I can't find it any more! Just use a \markup{...}. Read about the text markup features in the manual. 6. I'm trying to understand how to format a choral score. Of particular interest is how the words get attached etc.I looked at the examples in section 3 of the manual, but that's not quite what I want. So far, I've settled on this: \score { \context ChoirStaff << \context Staff = bari << \clef bass \mainvoice \context Lyrics = bari \mainwords \context Staff = bass << \clef bass \secondvoice } Am I doing this right? Among the things I don't understand are how/ when the names apply (bari), and where the lyrics get stuck. In my example, if I move my \context Lyrics line below the second staff, the words print there as well. Yet, in the manual clearly the words are tied to the staff explicitly? It seems that you have missed the \lyricsto feature which tells which lyrics line should be aligned with wich music. This should also answer the next question. Read in section "The Lyrics Context" for more information. 7. Finally (for now), I'm having trouble aligning lyrics to music. I have this: mainvoice = \relative c { \key a \minor \repeat volta 2 { \partial 8*3 e8 a8. [ b16] c2~c8 b16 a gis8. a16 b2 r8 } } mainwords = \lyricmode{ one -- two -- three -- four five six } So, the end of sylable four should align with c2~c8.. It does, but "five" is also under the c2, not under the subsequent b16 where it belongs. I've tried adding _ and __ and even _ __, but there doesn't seem to be any effect. Am I doing something wrong? Same problem in English and Cyrillic. Greatly appreciate any help people can give me. This is a very cool program, and I'd very much like to use it more! Thanks, Markian PS: System: Mac OS X 10.4.2, Lilypond version 2.6.4-1, also using lilypad preview 2-1 When arguing with an idiot, be sure they aren't doing the same. ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hello! Complicated newbie questions!
How about this ? Maybe works for v2.6 series. \version "2.7.12" \relative c \new Staff { \clef bass { c4 c c c f f e2 d4 d c c b g << c2 \\ \tiny \once \override Stem #'transparent = ##t c,>> g'4 e << { \override Stem #'transparent = ##t \override NoteHead #'extra-offset = #'(-0.3 . 0.0) c' b } \\ { \tiny \revert NoteHead #'extra-offset \revert Stem #'transparent \override Stem #'lengths = #'(7.0 4.5) \stemUp c, b } >> } } | Yoshinobu Ishizaki | |http://www2c.biglobe.ne.jp/~isizaki/ | On Fri, 4 Nov 2005 15:12:31 -0700 Markian Hlynka <[EMAIL PROTECTED]> wrote: > > 1. how can I make a small note? like, sometimes in a bass part > (vocal) there's an additional note an octave down, sometimes small, > sometimes in brackets, indicating that you can sing it if you're > able. I see in the manual an incredibly complex way to change the > notehead size in a chord. That's too much effort. I managed to do it > like this: > > \relative c > \new Staff { > \clef bass > {c4 c c c f f e2 > d4 d c c b g <>} > } > > That's not too bad, trouble is the note has a seperate stem, which > might not be what you want. Is there any other way to do this? > > 2. Similarly, can I print a notehead with NO stem? > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hello! Complicated newbie questions!
I'm on a steep learning curve also, and the list has been great. There are a couple of other things you can do. Download the manual onto your machine and then do word searches for what you are trying to do. For example, if you do a search for "transparent", you 'll find ways to make bars, notes and stems transparent, among other things. Another thing I have been doing is finding templates wherever I can and then using or adapting them. People will often send you a template if you tell them what you are trying to do. Another good place to look is www.mutopiaproject.org. There you'll find lots of different styles of music with both the pdf and .ly files. Finally, don't forget about Google. It will often take you straight to list archives regarding your search. You sound really excited about Lilypond, as are we all. But you might get more responses if you split up your questions into separate emails with their own subject line. Regards Arthur On Friday 04 November 2005 03:12 pm, Markian Hlynka wrote: > Hi everyone! > > I just discovered lilypond the other day, and I can't stop playing > with it. I have all sorts of questions, and I'm hoping maybe some > people here might be able to point me in the right direction. > > First, here are the simple questions: > > 1. how can I make a small note? like, sometimes in a bass part > (vocal) there's an additional note an octave down, sometimes small, > sometimes in brackets, indicating that you can sing it if you're > able. I see in the manual an incredibly complex way to change the > notehead size in a chord. That's too much effort. I managed to do it > like this: > > \relative c > \new Staff { > \clef bass > {c4 c c c f f e2 > d4 d c c b g <>} > } > > That's not too bad, trouble is the note has a seperate stem, which > might not be what you want. Is there any other way to do this? > > 2. Similarly, can I print a notehead with NO stem? > > 3. What about putting parentheses around a note in the score ie (o) > > 4. One other simple one. I'm sure I saw somewhere in the > documentation a way to extend lines, something like > \header{ > composer = "Mozart " \\ > \line "the child prodigy" > } > > or something like that. But, now I can't find it any more! > > > OK, now, here are the tough questions. > > 5. I'm inputting cyrillic text. I've noticed that if cyrillic and > latin text coincide, they collide in a mess. Is this a known problem? > I'll send an example, but I don't know if this list will take > attachments. Basically if I writein, say, > \header{ > title = " " > } > > the result on the score will be where ## indicates > overlapped text. > > 6. I'm trying to understand how to format a choral score. Of > particular interest is how the words get attached etc.I looked at the > examples in section 3 of the manual, but that's not quite what I > want. So far, I've settled on this: > > \score > { > \context ChoirStaff > << > \context Staff = bari > << > \clef bass > \mainvoice > > > \context Lyrics = bari \mainwords > > \context Staff = bass > << > \clef bass > \secondvoice > > > > } > > Am I doing this right? Among the things I don't understand are how/ > when the names apply (bari), and where the lyrics get stuck. In my > example, if I move my \context Lyrics line below the second staff, > the words print there as well. Yet, in the manual clearly the words > are tied to the staff explicitly? > > 7. Finally (for now), I'm having trouble aligning lyrics to music. I > have this: > mainvoice = \relative c > { > \key a \minor > > \repeat volta 2 > { > \partial 8*3 > e8 a8. [ b16] c2~c8 b16 a gis8. a16 b2 r8 > } > } > > mainwords = \lyricmode{ one -- two -- three -- four five six } > > So, the end of sylable four should align with c2~c8.. It does, but > "five" is also under the c2, not under the subsequent b16 where it > belongs. I've tried adding _ and __ and even _ __, but there doesn't > seem to be any effect. Am I doing something wrong? Same problem in > English and Cyrillic. > > Greatly appreciate any help people can give me. This is a very cool > program, and I'd very much like to use it more! > > Thanks, > > Markian > > PS: System: Mac OS X 10.4.2, Lilypond version 2.6.4-1, also using > lilypad preview 2-1 > > > When arguing with an idiot, be sure they aren't doing the same. > > > > > ___ > 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
\lyricsto was: Complicated newbie questions!
On Nov 4, 2005, at 15:52, Erik Sandberg wrote: On Friday 04 November 2005 23.12, Markian Hlynka wrote: 7. Finally (for now), I'm having trouble aligning lyrics to music. I have this: mainvoice = \relative c { \key a \minor \repeat volta 2 { \partial 8*3 e8 a8. [ b16] c2~c8 b16 a gis8. a16 b2 r8 } } mainwords = \lyricmode{ one -- two -- three -- four five six } So, the end of sylable four should align with c2~c8.. It does, but "five" is also under the c2, not under the subsequent b16 where it belongs. I've tried adding _ and __ and even _ __, but there doesn't seem to be any effect. Am I doing something wrong? Same problem in English and Cyrillic. Please re-read the sections about lyrics carefully. You probably want to use \lyricsto or \addlyrics. I see, but I don't understand to what I must "attach" \lyricsto Also, is there a way to have a main lyrics line for choral stuff, and alternative extra lyrics per voice as needed? ie so the main lyrics only print out once if there's a master staff? Does that make sense? Markian When arguing with an idiot, be sure they aren't doing the same. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hello! Complicated newbie questions!
On Friday 04 November 2005 23.12, Markian Hlynka wrote: > 7. Finally (for now), I'm having trouble aligning lyrics to music. I > have this: > mainvoice = \relative c > { > \key a \minor > > \repeat volta 2 > { > \partial 8*3 > e8 a8. [ b16] c2~c8 b16 a gis8. a16 b2 r8 > } > } > > mainwords = \lyricmode{ one -- two -- three -- four five six } > > So, the end of sylable four should align with c2~c8.. It does, but > "five" is also under the c2, not under the subsequent b16 where it > belongs. I've tried adding _ and __ and even _ __, but there doesn't > seem to be any effect. Am I doing something wrong? Same problem in > English and Cyrillic. Please re-read the sections about lyrics carefully. You probably want to use \lyricsto or \addlyrics. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Hello! Complicated newbie questions!
Hi everyone! I just discovered lilypond the other day, and I can't stop playing with it. I have all sorts of questions, and I'm hoping maybe some people here might be able to point me in the right direction. First, here are the simple questions: 1. how can I make a small note? like, sometimes in a bass part (vocal) there's an additional note an octave down, sometimes small, sometimes in brackets, indicating that you can sing it if you're able. I see in the manual an incredibly complex way to change the notehead size in a chord. That's too much effort. I managed to do it like this: \relative c \new Staff { \clef bass {c4 c c c f f e2 d4 d c c b g <>} } That's not too bad, trouble is the note has a seperate stem, which might not be what you want. Is there any other way to do this? 2. Similarly, can I print a notehead with NO stem? 3. What about putting parentheses around a note in the score ie (o) 4. One other simple one. I'm sure I saw somewhere in the documentation a way to extend lines, something like \header{ composer = "Mozart " \\ \line "the child prodigy" } or something like that. But, now I can't find it any more! OK, now, here are the tough questions. 5. I'm inputting cyrillic text. I've noticed that if cyrillic and latin text coincide, they collide in a mess. Is this a known problem? I'll send an example, but I don't know if this list will take attachments. Basically if I writein, say, \header{ title = " " } the result on the score will be where ## indicates overlapped text. 6. I'm trying to understand how to format a choral score. Of particular interest is how the words get attached etc.I looked at the examples in section 3 of the manual, but that's not quite what I want. So far, I've settled on this: \score { \context ChoirStaff << \context Staff = bari << \clef bass \mainvoice >> \context Lyrics = bari \mainwords \context Staff = bass << \clef bass \secondvoice >> >> } Am I doing this right? Among the things I don't understand are how/ when the names apply (bari), and where the lyrics get stuck. In my example, if I move my \context Lyrics line below the second staff, the words print there as well. Yet, in the manual clearly the words are tied to the staff explicitly? 7. Finally (for now), I'm having trouble aligning lyrics to music. I have this: mainvoice = \relative c { \key a \minor \repeat volta 2 { \partial 8*3 e8 a8. [ b16] c2~c8 b16 a gis8. a16 b2 r8 } } mainwords = \lyricmode{ one -- two -- three -- four five six } So, the end of sylable four should align with c2~c8.. It does, but "five" is also under the c2, not under the subsequent b16 where it belongs. I've tried adding _ and __ and even _ __, but there doesn't seem to be any effect. Am I doing something wrong? Same problem in English and Cyrillic. Greatly appreciate any help people can give me. This is a very cool program, and I'd very much like to use it more! Thanks, Markian PS: System: Mac OS X 10.4.2, Lilypond version 2.6.4-1, also using lilypad preview 2-1 When arguing with an idiot, be sure they aren't doing the same. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user