Incipit issues
I've created an incipit for a piece I'm working on, but there's a minor issue with it. Here's the code. %%% Example begins \version 2.16.0 disIncip = \markup { \score { { \set Staff.instrumentName = \markup \right-column { Discantus [Tenor] } \override Staff.InstrumentName #'padding = #1 \override Staff.InstrumentName #'self-alignment-X = #1 \override Staff.TimeSignature #'style = #'neomensural \clef petrucci-c3 \time 2/2 \key g \minor \hideNotes g'8% -- This is the line at issue } \layout { indent = 0 } } } \new ChoirStaff \with { \override SystemStartBracket #'collapse-height = #0 } { \new Staff \with { instrumentName = \disIncip \override InstrumentName #'padding = #2 \override InstrumentName #'self-alignment-X = #1 } { c''1 } } \layout { indent = 5\cm } %%% Example ends The line I've pointed out above is what I'm frustrated about. The hidden eighth note generates, as would be expected, an empty staff symbol where the note would be if it wasn't hidden. I'm trying to get that to go away so that the incipit resembles those at the beginning of this piece (http://www3.cpdl.org/wiki/images/3/37/TALL-SA1.pdf), but I can't figure out how. Commenting out the line entirely results in both the incipit and the instrument name (Discantus [Tenor]) not showing up at all. Changing the hidden eighth note to a spacer rest (i.e. s8 instead of \hideNotes g'8) fixes the spacing issue, but it also results in the staff symbol stopping unexpectedly in the middle of the key signature, as in the attachment. How can I fix this? DR attachment: incipit.jpg___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: dynamics positioning
Try using two Dynamics contexts, one above and one below. DR -Original Message- From: Peter O'Doherty [mailto:m...@peterodoherty.net] Sent: Monday, October 29, 2012 9:14 AM To: lilypond-user Subject: dynamics positioning Hi, Could someone please take a look at the attached file and help with the placement of dynamics + hairpins? (I also attach an example output.) Ideally they would be grouped together above the top stave for the upper notes and below the lower stave for the lower notes. ^ and _ have little effect. Many thanks, Peter -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: dynamics positioning
Can't really tell from the attachment. As a rule, tiny excerpts of code (which other users can compile themselves) are more useful for debugging than PDFs. Check out: http://www.lilypond.org/tiny-examples.html DR From: Peter O'Doherty [mailto:m...@peterodoherty.net] Sent: Monday, October 29, 2012 9:45 AM To: Daniel Rosen Cc: lilypond-user Subject: Re: dynamics positioning Thanks. My logic suggests it should be enough to add this line above the cymbals part, but it doesn't seems to work (see attached file). \new Dynamics { \time 3/8 \times 2/3 { s8\mf s32 s32 s8.\pp \times 8/13 { s64 s16 s16 s16\pp } s64. s64 s64.] } | } What am I doing wrong? Thanks, Peter On 10/29/2012 02:19 PM, Daniel Rosen wrote: Try using two Dynamics contexts, one above and one below. DR -Original Message- From: Peter O'Doherty [mailto:m...@peterodoherty.net] Sent: Monday, October 29, 2012 9:14 AM To: lilypond-user Subject: dynamics positioning Hi, Could someone please take a look at the attached file and help with the placement of dynamics + hairpins? (I also attach an example output.) Ideally they would be grouped together above the top stave for the upper notes and below the lower stave for the lower notes. ^ and _ have little effect. Many thanks, Peter -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: dynamics positioning
Well, first of all, in the future, you can just paste code right into the body of your email, like I'm about to do--no need for an attachment. :-) And second, I would dispute that you couldn't get it smaller--like the page I referenced says, very few tiny examples are longer than about 10 lines of code. That being said... You need to include the Dynamics context within your score block, like so: dynamics = { \time 3/8 \times 2/3 { s8\mf s32 s32 s8.\pp \times 8/13 { s64 s16 s16 s16\pp } s64. s64 s64.] } | } % All other variables go here, unchanged % { \new StaffGroup \new Dynamics \dynamics \new Staff = cymbals \cymbals \new Staff = temple \temple \new Staff = toms \toms \new Staff = conga \conga \new Staff = snare \snare } Unfortunately, while this corrects the horizontal alignment of the grobs within the Dynamics context, they now collide with the beams, so the vertical spacing needs to be adjusted. I'm not sure how to do that without having to adjust 'Y-offset for each individual DynamicText, so I'm gonna have to punt this to someone else on the list. DR -Original Message- From: Peter O'Doherty [mailto:m...@peterodoherty.net] Sent: Monday, October 29, 2012 9:53 AM To: Daniel Rosen Cc: lilypond-user Subject: Re: dynamics positioning Sorry for the oversight. The attached code is as minimal as I can get it. Thanks, Peter On 10/29/2012 02:48 PM, Daniel Rosen wrote: Can't really tell from the attachment. As a rule, tiny excerpts of code (which other users can compile themselves) are more useful for debugging than PDFs. Check out: http://www.lilypond.org/tiny-examples.html DR From: Peter O'Doherty [mailto:m...@peterodoherty.net] Sent: Monday, October 29, 2012 9:45 AM To: Daniel Rosen Cc: lilypond-user Subject: Re: dynamics positioning Thanks. My logic suggests it should be enough to add this line above the cymbals part, but it doesn't seems to work (see attached file). \new Dynamics { \time 3/8 \times 2/3 { s8\mf s32 s32 s8.\pp \times 8/13 { s64 s16 s16 s16\pp } s64. s64 s64.] } | } What am I doing wrong? Thanks, Peter On 10/29/2012 02:19 PM, Daniel Rosen wrote: Try using two Dynamics contexts, one above and one below. DR -Original Message- From: Peter O'Doherty [mailto:m...@peterodoherty.net] Sent: Monday, October 29, 2012 9:14 AM To: lilypond-user Subject: dynamics positioning Hi, Could someone please take a look at the attached file and help with the placement of dynamics + hairpins? (I also attach an example output.) Ideally they would be grouped together above the top stave for the upper notes and below the lower stave for the lower notes. ^ and _ have little effect. Many thanks, Peter -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= -- //= - Peter O'Doherty - http://www.peterodoherty.net - m...@peterodoherty.net - https://joindiaspora.com/people/70716 //= ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Modified laissez vibrer ties
Never mind--I found the solution: http://lsr.dsi.unimi.it/LSR/Item?id=794 I only just discovered the LSR, so I completely forgot to check there before bothering everyone here. Oops. :-P DR -Original Message- From: Trevor Daniels [mailto:t.dani...@treda.co.uk] Sent: Sunday, October 28, 2012 12:46 PM To: lilypond-user@gnu.org; David Kastrup; Daniel Rosen Subject: Re: Modified laissez vibrer ties David Kastrup wrote Sunday, October 28, 2012 10:07 AM Daniel Rosen drose...@gmail.com writes: I did consider that; the problem is those ties go _over_ the barline instead of stopping just short, so they'd still need to be adjusted manually. I tried using normal ties to invisible notes after the barline and tweaking to-barline in order to have them stop short. I have not been able to make to-barline have any effect, though. Not very elegant, but this might be a possibility: \relative c'' { \override Slur #'to-barline = ##t a1*3/4( \once \hideNotes a4) a1 } or, if you prefer, \relative c'' { a1*3/4 -\tweak #'to-barline ##t ( \once \hideNotes a4) a1 } Unlike hairpins, 'to-barline for Slurs seems to extend the slur to the _next_ bar line rather than stopping it short at the previous one. And the hidden note seems to require a non-zero duration too. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Modified laissez vibrer ties
Is there a way to extend laissez vibrer ties so that they stop just short of the barline, as in the attached example? I can't seem to find a way that doesn't involve manually adjusting control points. DR attachment: laissez vibrer.jpg___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Modified laissez vibrer ties
I did consider that; the problem is those ties go _over_ the barline instead of stopping just short, so they'd still need to be adjusted manually. DR -Original Message- From: Janek Warchoł [mailto:janek.lilyp...@gmail.com] Sent: Sunday, October 28, 2012 3:31 AM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Modified laissez vibrer ties On Sun, Oct 28, 2012 at 7:28 AM, Daniel Rosen drose...@gmail.com wrote: Is there a way to extend laissez vibrer ties so that they stop just short of the barline, as in the attached example? I can't seem to find a way that doesn't involve manually adjusting control points. You may consider using a trick: create ties attached to hidden notes. See http://lilypond.org/doc/v2.14/Documentation/notation/inside-the-staff#hidden-notes hth, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Changing program defaults
I'll bear that in mind going forward--I appreciate the warning. DR -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Sunday, October 28, 2012 6:44 AM To: lilypond-user@gnu.org Subject: Re: Changing program defaults Daniel Rosen drose...@gmail.com writes: That's really OK in my case--no one else I know uses LilyPond. :-P And at the next update things change, and then somebody else _does_ ask you for it, willing to help with things, and so on and so on. Then you try asking here on the list for some fine-polishing of a score, and nobody can reproduce your layout. Janek has engaged half his choir in entering some scores. Having a standard setup really has advantages. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: One staff, two voices
You always need to enclose simultaneous music in double angle brackets. Here's how the third bar of your fugue might look: \new PianoStaff \new Staff = upper \new Voice { \relative c' { \voiceOne \key cis \major cis8 cis'16 bis cis dis eis fis gis16 fisis eis fisis gis fis eis dis | } } \new Voice { \relative c' { \voiceTwo r4 r8 cis eis16 dis cis dis bis'8 gis } } \new Staff = lower { \clef bass \key cis \major R1 | } This is the first time I've answered a question on the list (I've only asked a couple so far), but I don't think I'd be out of line by asking you to use tiny examples in the future. I wasn't sure what music belonged where in your example, and I had to get out my copy of the WTC to figure it out... not sure how many other users on here would have gone to that effort. ;-) DR From: Mark Stephen Mrotek [mailto:carsonm...@ca.rr.com] Sent: Saturday, October 27, 2012 9:57 PM To: lilypond-user@gnu.org Subject: One staff, two voices Fellow Users: I am encoding a three part fugue (Bach). Two of the voices should be in the treble staff. The instructions in the on-line manual were followed (1.5.2 Multiple Voices Explicitly instantiating voices). When I enter code in { \voiceTwo } the notes are just appended wherever voice one stopped (I use Frescobaldi). I have checked the instructions several times. I must still be missing something. To save space I have attached the code as a Lilypond file and as a Word file. Thank you for your kind attention. Mark Stephen Mrotek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Changing program defaults
I'm sorry, I should have been more clear--I'm trying to figure out how to change the program files so that I don't have to put that in every single document. DR -Original Message- From: David Nalesnik [mailto:david.nales...@gmail.com] Sent: Saturday, October 27, 2012 11:01 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Changing program defaults Hi Daniel, On Sat, Oct 27, 2012 at 9:50 PM, Daniel Rosen drose...@gmail.com wrote: I'm an American user, and the standard paper size here is 8.5x11 inches (letter size); I'm not sure I've ever seen a piece of A4 paper in my life. Is it possible for me to change the default paper size? I've been looking for this information in the documentation, and maybe I'm just not looking in the right place, but I can't find it. Sure--put this line at the top of your document: #(set-default-paper-size letter) -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Bar numbers for broken measures
Here's what I ended up using, and it works fine: \version 2.16.0 \relative c' { \set Score.barNumberVisibility = #(lambda (bar-number measure-position) #t) \time 4/4 \repeat volta 2 { c d e } \break f | g a b } \paper { ragged-right = ##t } This is essentially Mark's solution, except that (a) I didn't use the \once command, and (b) I didn't have to adjust the barNumberFormatter property because the parentheses appeared by default. I have absolutely no programming experience and don't understand Scheme at all, so I never would have figured out this syntax by myself; perhaps it should be included in the NR somewhere? DR -Original Message- From: Janek Warchoł [mailto:janek.lilyp...@gmail.com] Sent: Friday, October 19, 2012 8:19 AM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Bar numbers for broken measures Hi, On Fri, Oct 19, 2012 at 2:52 AM, Daniel Rosen drose...@gmail.com wrote: The piece I'm working on has a repeat that ends in the middle of a measure, with a line break at the same point: I would like to have a bar number, perhaps in parentheses, at the beginning of the second line, sorry, no time to analyze this carefully, but according to this http://code.google.com/p/lilypond/issues/detail?id=460 Lilypond should have this feature available. If it doesn't work, please report a bug. cheers, janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Script objects avoid notes in other voices?
Wim, thanks for the help--your solution worked best. To be honest, I had thought that the tag solution looked promising, but I was finding the NR (http://www.lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source#using-tags) pretty dense. I think part of it was the fact that it explains \keepWithTag and \removeWithTag in separate examples, but mostly it was because I just didn't notice the part explaining the -\tag #'your-tag syntax for articulations. :-P Thanks, all! DR -Original Message- From: Wim van Dommelen [mailto:m...@wimvd.nl] Sent: Thursday, October 18, 2012 6:20 AM To: David Kastrup; Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Script objects avoid notes in other voices? Use the tags for this problem, not different voices at all! Daniel's example modified: \version 2.16.0 music = \relative c'' { b g'-\tag #'part \upbow d d,-\tag #'part \downbow } \keepWithTag #'part { \music } Using this will NOT print the tagged strings in the score. Multiple tags are possible, see the Notation Reference for more details. Regards, Wim. In the music: On 18 Oct 2012, at 00:21 , David Kastrup wrote: Daniel Rosen drose...@gmail.com writes: I'm trying to create a score and parts for a piece. I want to have bow markings in the string parts but not the score, so I'm trying to put them in a voice separate from the notes (ex. 1): Don't do that. Put them in the same voice, or they won't combine well. \version 2.16.0 \new Voice { \music } \new Voice { \bowing } rather use \new Voice \music \bowing -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Bar numbers for broken measures
The piece I'm working on has a repeat that ends in the middle of a measure, with a line break at the same point: \version 2.16.0 \relative c' { \time 4/4 \repeat volta 2 { c d e } \break f | g a b } \paper { ragged-right = ##t } I would like to have a bar number, perhaps in parentheses, at the beginning of the second line, as in this example (sorry for the poor image quality): http://j.mp/QyEsTT. How can I make this happen? I've been combing through the list archives to no avail. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Script objects avoid notes in other voices?
I'm trying to create a score and parts for a piece. I want to have bow markings in the string parts but not the score, so I'm trying to put them in a voice separate from the notes (ex. 1): \version 2.16.0 music = \relative c'' { b g' d d, } bowing = { s\upbow s\downbow } { \new Staff \new Voice { \music } \new Voice { \bowing } } My issue is that, when I compile the part, the bow markings don't automatically avoid the notes in the other voice. Is there some way to get it to look more like this (ex. 2)? \version 2.16.0 { \relative c'' { b g'\upbow d d,\downbow } } Perhaps a property of Script that can be overridden? Thanks! DR attachment: ex1.jpgattachment: ex2.jpg___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user