Re: Caesura in Rehearsal Mark over each line of system

2015-02-16 Thread Conor Cook
That works quite nicely.  Thank you!

I had been using \include satb.ly, so I had to recreate the \score
{}, but it was good practice to combine \lyrics and multiple parts to
one staff.

~Conor

On Thu, Feb 12, 2015 at 6:32 PM, Kieren MacMillan
kieren_macmil...@sympatico.ca wrote:
 Hi Conor,

 In the particular score I am working on, I have only this one mark (it's 
 about 30 measures long total).
 What would an example of your suggestion look like, as I can see your 
 concern applying down the road.

 Snippet included below.

 1. In both scores, the breath mark appears in all Staff contexts (because 
 it’s in \global, which is included in every Staff).
 2. In the second score with the Mark_engraver moved to the Staff context 
 level, the ‘A’ rehearsal mark is above every Staff — likely not desired 
 behaviour.

 In general, the \global variable should contain everything that you want in 
 every Voice — like time signatures, tonalities, etc. — and engravers should 
 be \consist-ed at the appropriate level to display the grobs where they are 
 needed/desired.

 Hope this helps!
 Kieren.
 _

 \version 2.19.15

 \paper {
   ragged-right = ##f
 }

 global = {
   \key d \minor
   \tempo Lugubrioso 4=22
   \time 4/4
   s1
   \time 3/4
   s4*3
   \breathe
   \mark \default
   \time 5/8
   s8*5
   \breathe
   \time 4/4
   s1
 }

 theNotes = {
   c''1
   c''2.
   c''4. ~ 4
   c''1
 }

 \markup With Mark_engraver at the Score level (= default):
 \score {
   
 \new Staff  \global \theNotes 
 \new Staff  \global \theNotes 
   
 }

 \markup With Mark_engraver moved to the Staff level:
 \score {
   
 \new Staff  \global \theNotes 
 \new Staff  \global \theNotes 
   
   \layout {
 \context {
   \Score
   \remove Mark_engraver
 }
 \context {
   \Staff
   \consists Mark_engraver
 }
   }
 }
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-16 Thread Trevor Daniels

Conor Cook wrote Monday, February 16, 2015 5:14 PM

 I had been using \include satb.ly, so I had to recreate the \score
 {}, but it was good practice to combine \lyrics and multiple parts to
 one staff.

Perhaps you had other reasons for recreating the \score { }, but
if it was just to add a global to every staff the satb.ly built-in
template uses the Time variable for this purpose - it is included in
every staff.   Might have saved you some effort, but I've just
realised the documentation in the Learning Manual doesn't mention
this.

Trevor
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread tisimst
Conor Cook wrote
 Is it possible to place a caesura, contained in a rehearsal mark, over
 every staff of a system (like in a choral score, since parts will not
 be extracted)?  I know that this is not how rehearsal marks are
 supposed to work, so is there another way to achieve this?  In an
 archived thread, David Kastrup provided a \caesura variable that
 involved the glyph and a breathe, but it is not exactly what I thought
 I wanted (but if it is more in line with the way caesuras are meant to
 be displayed, then I am happy with it, even if I need to offset it to
 above the staff).

Conor,

Try this:

\layout {
  \context {
\Score
\remove Mark_engraver
  }
  \context {
\Staff
\consists Mark_engraver
  }
}

This will mean that you need to put the \mark ... in each staff you want
it to appear, though.

HTH,
Abraham



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Caesura-in-Rehearsal-Mark-over-each-line-of-system-tp171757p171758.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread Conor Cook
That is beautiful, both in its coding simplicity and in the final product!

Thank you!

~Conor

 -- Forwarded message --
 From: tisimst tisimst.lilyp...@gmail.com
 To: lilypond-user@gnu.org
 Cc:
 Date: Thu, 12 Feb 2015 12:38:12 -0700 (MST)
 Subject: Re: Caesura in Rehearsal Mark over each line of system
 Conor Cook wrote
 Is it possible to place a caesura, contained in a rehearsal mark, over
 every staff of a system (like in a choral score, since parts will not
 be extracted)?  I know that this is not how rehearsal marks are
 supposed to work, so is there another way to achieve this?  In an
 archived thread, David Kastrup provided a \caesura variable that
 involved the glyph and a breathe, but it is not exactly what I thought
 I wanted (but if it is more in line with the way caesuras are meant to
 be displayed, then I am happy with it, even if I need to offset it to
 above the staff).

 Conor,

 Try this:

 \layout {
   \context {
 \Score
 \remove Mark_engraver
   }
   \context {
 \Staff
 \consists Mark_engraver
   }
 }

 This will mean that you need to put the \mark ... in each staff you want
 it to appear, though.

 HTH,
 Abraham



 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Caesura-in-Rehearsal-Mark-over-each-line-of-system-tp171757p171758.html
 Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread Kieren MacMillan
Hi Conor,

 That is beautiful, both in its coding simplicity and in the final product!

Unless you’re planning to have *all* of your marks (including \mark \default, 
etc.) above every staff — which is not a usual engraving convention — why not 
just put the caesura in a global variable that is layered into every staff?

Hope this helps!
Kieren.
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread tisimst
Kieren MacMillan wrote
 Hi Conor,
 
 That is beautiful, both in its coding simplicity and in the final
 product!
 
 Unless you’re planning to have *all* of your marks (including \mark
 \default, etc.) above every staff — which is not a usual engraving
 convention — why not just put the caesura in a global variable that is
 layered into every staff?

Conor,

I am inclined to agree with Kieren. Manually putting the marks in EVERY
staff can be tedious and error prone, depending on how many you plan to use.
The better way is to create another voice that only contains spacer rests
with the marks at the appropriate position(s), then make it simultaneous
with a voice in each staff. That way you only have to define where the marks
are once, but it is replicated perfectly. Here's a complete example:

%  SNIP

\version 2.18.2

markVoice = {
  s1*3
  \mark \default
  s1*5
  \mark \default
  s1*4
}

partI = \relative c' {
 \repeat unfold 13 { c1 }
}

partII = \relative c' {
 \repeat unfold 13 { d1 }
}

\score {
  \new ChoirStaff 
\new Staff 
  \new Voice \markVoice
  \new Voice \partI

\new Staff 
  \new Voice \markVoice
  \new Voice \partII

  
  \layout {
\context {
  \Score
  \remove Mark_engraver
}
\context {
  \Staff
  \consists Mark_engraver
}
  }
}

%  SNIP

HTH,
Abraham



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Caesura-in-Rehearsal-Mark-over-each-line-of-system-tp171757p171788.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread Kieren MacMillan
Hi Conor,

 In the particular score I am working on, I have only this one mark (it's 
 about 30 measures long total).
 What would an example of your suggestion look like, as I can see your concern 
 applying down the road.

Snippet included below.

1. In both scores, the breath mark appears in all Staff contexts (because it’s 
in \global, which is included in every Staff).
2. In the second score with the Mark_engraver moved to the Staff context level, 
the ‘A’ rehearsal mark is above every Staff — likely not desired behaviour.

In general, the \global variable should contain everything that you want in 
every Voice — like time signatures, tonalities, etc. — and engravers should be 
\consist-ed at the appropriate level to display the grobs where they are 
needed/desired.

Hope this helps!
Kieren.
_

\version 2.19.15

\paper {
  ragged-right = ##f
}

global = {
  \key d \minor
  \tempo Lugubrioso 4=22
  \time 4/4
  s1
  \time 3/4
  s4*3
  \breathe
  \mark \default
  \time 5/8
  s8*5
  \breathe
  \time 4/4
  s1
}

theNotes = {
  c''1
  c''2.
  c''4. ~ 4
  c''1
}

\markup With Mark_engraver at the Score level (= default):
\score {
  
\new Staff  \global \theNotes 
\new Staff  \global \theNotes 
  
}

\markup With Mark_engraver moved to the Staff level:
\score {
  
\new Staff  \global \theNotes 
\new Staff  \global \theNotes 
  
  \layout {
\context {
  \Score
  \remove Mark_engraver
}
\context {
  \Staff
  \consists Mark_engraver
}
  }
}
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread Conor Cook
Kieren,




In the particular score I am working on, I have only this one mark (it's about 
30 measures long total).




What would an example of your suggestion look like, as I can see your concern 
applying down the road.




~Conor



—
Sent from Mailbox

On Thu, Feb 12, 2015 at 4:44 PM, Kieren MacMillan
kieren_macmil...@sympatico.ca wrote:

 Hi Conor,
 That is beautiful, both in its coding simplicity and in the final product!
 Unless you’re planning to have *all* of your marks (including \mark \default, 
 etc.) above every staff — which is not a usual engraving convention — why not 
 just put the caesura in a global variable that is layered into every staff?
 Hope this helps!
 Kieren.
 ___
 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Caesura in Rehearsal Mark over each line of system

2015-02-12 Thread Johan Vromans
On Thu, 12 Feb 2015 19:32:30 -0500
Kieren MacMillan kieren_macmil...@sympatico.ca wrote:

 In general, the \global variable should contain everything that you want
 in every Voice — like time signatures, tonalities, etc. 

Yes, but it's very unfortunate this does not work for \repeats when
generating MIDI with \unfoldRepeats:

  In scores containing multiple voices, unfolding of repeats in MIDI output
  will only occur correctly if each voice contains fully notated repeat
  indications.

-- Johan

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user