Re: How do I use \tag? (lyuser: message 5 of 20)
Hello Trevor > bla = -\markup { Bla } > > melody = \relative c'' { > c4 d e f ^\bla > c4 d e f ^\tag #'a \bla % (1) > } > > \keepWithTag #'a \melody > > \removeWithTag #'a \melody > > Hopefully this works in 2.18 too. Yes, it works :) Thank you! Could you please point me to the documentation of the '-' that you used instead of my '^'? (Or explain it to me)? I would like to understand the difference, not just copy/paste it... Thanks again, -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How do I use \tag?
Hello! Here on the list you showed me that I can better re-use my lilypond-code by using \tag s. Wonderful :) It's only - I don't understand how. given this very simple piece of code: \version "2.18.2" bla = \markup{Bla} melody = \relative c'' { c4 d e f ^\bla c4 d e f \tag #'a {^\bla} % (1) c4 d e f \tag #'a ^{\bla} % (2) c4 d e f ^\tag #'a {\bla} % (3) } \score { \new Staff { \melody } } I get these errors: Processing `/home/markus/chor/lilypond/tags.ly' Parsing... /home/markus/chor/lilypond/tags.ly:7:22: error: syntax error, unexpected '^' c4 d e f \tag #'a { ^\bla} % (1) /home/markus/chor/lilypond/tags.ly:7:23: warning: Ignoring non-music expression c4 d e f \tag #'a {^ \bla} % (1) /home/markus/chor/lilypond/tags.ly:8:22: error: syntax error, unexpected '{' c4 d e f \tag #'a ^ {\bla} % (2) /home/markus/chor/lilypond/tags.ly:8:23: warning: Ignoring non-music expression c4 d e f \tag #'a ^{ \bla} % (2) /home/markus/chor/lilypond/tags.ly:9:23: warning: Ignoring non-music expression c4 d e f ^\tag #'a { \bla} % (3) /home/markus/chor/lilypond/tags.ly:9:13: error: post-event expected c4 d e f ^ \tag #'a {\bla} % (3) /home/markus/chor/lilypond/tags.ly:13:5: error: errors found, ignoring music expression \new Staff { \melody } fatal error: failed files: "/home/markus/chor/lilypond/tags.ly" As you see, I'm more or less guessing around. I somehow expected (1) to work and really can't see what to do. Could you give me a hint, please? -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Reusability of lilypond code? (lyuser: message 4 of 20)
Hello Aaron, > Tags might be a reasonably simple option here. Yes, that really looks promising! I'll try that as soon as I can. Thank you! -- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Reusability of lilypond code?
Hello, This time, I have a more general question: I've set some scores for my men's choir using lilypond - and I love it :) With the help of this list, these scores look just like I would like to have them and our singers like to read them. But I have one issue with the reuse of my work. My last score e.g. has four voices (T1, T2, B1, B2). I assign music and lyrics for each voice to a variable and combine them info a choir staff. So for our rehearsal, everybody can see all the voices. There are other usecases, where I would like to have only one voice per staff. I can do that with lilypond, of course, by reusing the variables that I created before. Now comes the problem: For the "one voice per staff" solution (and for midi files, by the way), the single voices have to be annotated with all "bells and whistles", like dynamics, for example. But for the "four voices per staff", all the annotations would pile up (one 'p' above the other 'p' for the two tenor voices, for example) and with all the duplicated dynamic, hairpins, markup, the score would become unreadable. What I would like to have is a simple switch in lilypond that hides the duplicated markup, so that I can use the same variables for both use cases. Frescobaldi provides some tools to remove the markup from a selection. That is not what I want, because it creates two versions of the music. Not good, they will diverge. I've searched this and other lists and there seem to be solutions, but they are too complicated for me: I don't understand them and they never worked for me Can you help me this this problem? cu-- Markus Grunwald https://www.the-grue.de/~markus/markus_grunwald.gpg signature.asc Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to layout in unison and part music score? (lyuser: message 9 of 20)
Hello Kieren, > If you know exactly what the layout will be, and it really is just a few > measures of split, and you're never going to reuse the material in a > different format, then you should probably just use \new Staff at the moment > you need it. There are examples of this all over the web (docs, LSR, probably > Scores of Beauty, etc.). This would be what I need :) Unfortunately, I'm too dumb. Sorry, I'm a c, c++, c#, python, ruby, latex and many other - developer, but the lilypond syntax manages to confuse me every time. I'm happy to set simple scores with lilypond and I really like it - but often, I just don't get it. Could you please detail your pointer to the docs? An example would really be helpfull! Thanks, -- Markus Grunwald http://www.the-grue.de/~markus/markus_grunwald.gpg signature.asc Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Adjust text to notes problem
Hello, I have some trouble with alignment of text to notes: \version "2.18.2" \language "deutsch" { \clef bass \key fis \major \time 4/4 { r2 r4 ais8. gis16 | fis4( cis8) r16 cis'16 cis4( \> ais8.) \! fis16 | \tuplet 3/2 {fis8([ eis gis)]} h4 } \addlyrics { Va, pen -- sie~ro, sull' a~li do -- ra -- te; } %1 \addlyrics { Va, pen -- "sie - ro," sull' "a-li" do -- ra -- te; } %2 } Variant 1 looks strange to me because it looks like "pensi" and "ro" would be two words, while it's one word ("pensiero"). I fiddled with it until I got variant 2. Here, one can see that "pensiero" is one word, because of the dashes. But the dashes look different and the dashes in the quotation marks are ugly ;) How can I set the text so that it reads pen - sie - ro with the correct (and nice) dashes? Thanks for your help, -- Markus Grunwald http://www.the-grue.de/~markus/markus_grunwald.gpg signature.asc Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to layout in unison and part music score?
Hello, For my men's choir I need to set a score that is mostly in unison and only a few bars with multiple voices (TTB). I have set a few simple scores with the help of frescobaldi, but I have no idea how to set this score... I would like to have only one staff for TTB where the music is in unison and only to split up into three staffs when we have multiple voices. Could you help me with that, please? -- Markus Grunwald http://www.the-grue.de/~markus/markus_grunwald.gpg signature.asc Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slur into alternatives (lyuser: message 6 of 20)
Hello Pierre and Jan-Peter, thanks for the nice (and helpful!) welcome! Usually, I need lilypond to create midi output for choir rehearsal. So the advenced Method of pierre for the \repeatTie is a bit too much. I appreciate it, though, because /sometimes/ I need the beautiful pdfs :) Oh, and as a developer I'm used to being pointed to TFM, so feel free to just point me to the answer in the docs; both of my questions are there in the manual, I was just too dumb to find it ;) cu -- Markus ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slur into alternatives (lyuser: message 3 of 3 -last one!-)
Hello { a'1\repeatTie } Great, and so quick :) Many thanks! cu -- Markus ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Difference between ~ and ( ) ?
Hello, what is the difference between ~ and ( ) ? a1 ~ | a1 is rendered just like a1 ( | a1 ), but in the midi output I hear to notes in the latter case and only one in the former... Thanks! -- Markus Grunwald https://www.the-grue.de Fragen zur Mail? https://www.the-grue.de/mail_und_co https://www.the-grue.de/~markus/markus_grunwald.gpg ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Slur into alternatives
Hello, Being quite a rookie in music notation and lilypond in general, I have a problem: \version 2.18.2 { % I want a slur from the b to the c in 1) and to the a in 2) \repeat volta 2 { b'1 ( } \alternative { { c''1 ) } { a'1 ) } } } This gives me a warning: slur_to_next_alternative.ly:9:12: warning: cannot end slur { a'1 ) } What I would like to have is a slur - indication in 2) like I have it in the sheet that I'm trying to set in lilypond. Oh, and the final result will be part of a choir rehearsal - maybe that's important for the solution? Thanks for your help, -- Markus ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user