Re: Best practices for Da Capo/Dal Segno/al Fine/etc.

2018-02-21 Thread Joel C. Salomon
On 2018-02-20 5:21 PM, I asked:
> … what is the current (2.19) best practice for typesetting the Da
> Capo/‌Dal Segno/‌al Fine/‌etc. repeat marks?

I’m having some trouble extracting a readable-but-useful minimal example
from my code, but this excerpt might help the next fellow:

\include "poly-mark-engraver.ly"% from

\tagGroup #'(midi-only score-only)

…
lowerVI = {
  \clef bass
  \globalVI

  % \repeat coda 2 {
  \lowerVIabac
  % }   % \repeat coda

  % \alternative {
  %   { % \repeat coda
  \lowerVId
  %   }
  %   {}  % }   % \repeat coda

  % Manual repeat unfold for MIDI
  \tag #'midi-only \lowerVIabac
}

dynamicsVI = {
  <>\p
  % \repeat coda 2 {
  #(skip-of-length upperVIabac)
  % }   % \repeat coda

  \polyMark #'DCFine \markup \italic "Fine"
  \polyMark #'Fermata \markup \fermata
  \bar "|."

  % \alternative {
  %   { % \repeat coda
  #(skip-of-length upperVId)
  %   }
  %   {}
  % }   % \repeat coda

  % Manual repeat unfold for MIDI
  \tag #'midi-only #(skip-of-length upperVIabac)

  % Manual mark for \repeat coda
  \polyMark #'DCFine \markup \italic "D.C. al Fine"
  \bar "||"
}

…

scoreVI = \score {
  \keepWithTag #'score-only
  <<
\new Staff = "upper" \upperVI
\new Dynamics = "dynamics" \dynamicsVI
\new Staff = "lower" \lowerVI
  >>
  \layout {
\context { \Score
  polyMarkOptions = #`((DCFine
 (direction. ,DOWN)
 (self-alignment-X . 1.0)
 (break-visibility . ,begin-of-line-invisible))
   (Fermata
 (direction. ,UP)
 (self-alignment-X . 0.0)
 (break-visibility . ,begin-of-line-invisible)))
}
  }
}

midiVI = \score {
  \new PianoStaff
  \keepWithTag #'midi-only
  <<
\new Staff = "upper" <<
  \unfoldRepeats \upperVI
  \dynamicsVI
>>
\new Staff = "lower" <<
  \unfoldRepeats \lowerVI
  \dynamicsVI
>>
  >>
  \midi {}
}


There’s nothing here that isn’t already in
, and a good deal is missing
here which that snippet includes, but I think it does illustrate this
particular usage without invoking the full power of \polyMark.

––Joel C. Salomon

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


Re: best practices with tempo markings

2016-11-14 Thread tisimst
Tobian

On Mon, Nov 14, 2016 at 3:50 PM, Tobin Chodos [via Lilypond] <
ml-node+s1069038n196622...@n5.nabble.com> wrote:

> This one really is basic, but: a \tempo command in a large score will
> automatically register on each part, right?  that is, if I insert the
> marking to change tempo in the flute part in bar 2, it will appear on every
> other part...so where is it advisable to put it?
>

It will and it won't. By default, it is collected by the Score context, so
it will only appear above the top-most Staff unless you give a particular
staff permission to print it as well via a \with { \consists
"Metronome_mark_engraver" }. If you put the \tempo command in-line with the
part's music and reuse the same variable in the full score and part score,
then it will show up in both.

However, I find it prudent to put any Score-level items that generally
don't change from part to part (e.g., \tempo, \time, \key, \bar, etc.) in a
global variable that basically defines the structure and where each of
those items appears. For example:

struct = {
  \tempo 4=120
  \time 3/4
  \key a \minor
  s2.*7
  \bar "||"
  \tempo 4=80
  \time 4/4
  s1*10
  \bar "|."
}


This I then place in a simultaneous construct with each part within the
\score blocks. Thus, I can manage the overall structure in ONE place, but
apply it everywhere, both the full-score and individual parts. For example:

% full score
\score {
  <<
\new Staff << \struct \violinNotes >>
\new Staff << \struct \violaNotes >>
\new Staff << \struct \celloNotes >>
\new Staff << \struct \bassNotes >>
  >>
}

% violin part
\score {
  \new Staff << \struct \violinNotes >>
}

% viola part
\score {
  \new Staff << \struct \violaNotes >>
}

% cello part
\score {
  \new Staff << \struct \celloNotes >>
}

% bass part
\score {
  \new Staff << \struct \bassNotes >>
}


There are a variety of ways to customize this to your tastes and uses, but
this has been very reliable for me.

Hope that helps,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/best-practices-with-tempo-markings-tp196622p196625.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: [Best Practices] splitting and combining choral parts

2015-11-25 Thread Kieren MacMillan
p.s. To see the power of the system I’m trying to develop, add a manual line 
break at m. 8 (e.g., change line 103 to s4*2 \break s4*2), and then observe how 
the third system reacts.

=)

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: [Best Practices] splitting and combining choral parts

2015-11-25 Thread Kieren MacMillan
Hi, 

> Can we focus on how to achieve automatic frenching based on divisi?

Thanks.  =)

> this seems like a lot of work.

Well, I’m know it won’t be trivial… But I was hoping we could come up with a 
"Goldilocks solution”: a rather elegant way of handling it, with a minimum of 
effort on the engraver’s (i.e., user’s) part.

> It sounds like we want Lily to look at the line she's working on
> and decide whether some of the staves can be
> combined based on the content they have.

Eventually, sure, that’s the ideal. But for now, I’d be happy with manually 
entering \letStaffVanish and \showStaff (i.e., force visibility) at the 
sections where it’s clear those are necessary.

> An ideal solution would have to allow the user to turn certain rules on or 
> off.
> This seems like complex programming to me.

I’m not sure that’s in my Five-Year Plan for this feature/framework.  ;)

> would a solution that requires user intervention be acceptable?

Without a doubt. I sort of assume(d) that Phase One would be completely 
user-driven, with Phase Two [and beyond] being incremental automation of the 
various mechanisms involved.

> For example, a switch like \separateStaves which would force
> staves to be separated from the beginning of the current line, and a
> corresponding \combineStaves which would tell Lily to begin combining at the
> next line break. You would also have to specify which staves to combine.
> This puts the burden of decision on the user, hopefully simplifying the
> programming. Then, Lily just has to create a new Staff, use \partcombine,
> and assign lyrics to the voice.

Yes! This is the kind of discussion I want to have.

For \separateStaves, one can already put \letStaffVanish (resp. 
\letLyricsVanish) in the contexts that are not absolutely required, and 
\showStaff in those parts that are. And we have \quoteDuring, \partCombine, 
etc. to reduce the redundant code entry. See attached modified example.

There’s a divisi framework in openlilylib (cf. 
),
 but I haven’t investigated how mature it is, or how suitable to helping me 
solve this problem.

So… Here are some questions right off the bat:

1. How can I \addQuote and \quoteDuring lyrics?

2. If I wanted to condense the S+A staves on system 3 into a single SA staff, 
what’s the best approach?

3. Would all of this [kind of thing] be best conceived/coded as “exploding 
music” (i.e., start with a unison context, and divisi outwards), or “imploding 
music” (i.e., start with maximum spread, and combine to condense), or a 
combination thereof?

4. Is it better to use the soprano line as the unison line [as I’ve done here], 
or have a whole separate unison variable quoted in all parts [including the 
soprano]? In any case, one would want to add [as I have not] clarifying markups 
at the beginnings of systems or voice entries, as appropriate/necessary.

5. What would be the best way to simultaneously switch contexts/staves on and 
off? How can this be done with a minimum mixture of content and presentation?

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info



WithersCarol_example.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Best Practices] splitting and combining choral parts

2015-11-25 Thread tyronicus
Kieren wrote
> I’ve posted this question several times before, but the discussion always
> got truncated or derailed… I’m hoping this time we can work this through
> to a solution.

Simon and Michael, you make interesting points; yet, as an observer, I
submit that the topic has been derailed again. Can we focus on how to
achieve automatic frenching based on divisi?

Kieren, this seems like a lot of work. It sounds like we want Lily to look
at the line she's working on and decide whether some of the staves can be
combined based on the content they have. There would be a bunch of rules to
follow (do you allow Lily to combine when pitches are different but rhythms
are the same? what about a short melisma in one voice but not in the other;
would you split a whole line over that? Do you allow the alto staff and
tenor staff to combine for S/AT/B?). An ideal solution would have to allow
the user to turn certain rules on or off. This seems like complex
programming to me.

My question is, would a solution that requires user intervention be
acceptable? For example, a switch like \separateStaves which would force
staves to be separated from the beginning of the current line, and a
corresponding \combineStaves which would tell Lily to begin combining at the
next line break. You would also have to specify which staves to combine.
This puts the burden of decision on the user, hopefully simplifying the
programming. Then, Lily just has to create a new Staff, use \partcombine,
and assign lyrics to the voice.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Best-Practices-splitting-and-combining-choral-parts-tp184051p184123.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: [Best Practices] splitting and combining choral parts

2015-11-25 Thread Kieren MacMillan
Hi Simon,

> The other major point is that it doesn’t print ‘redundant’ lyrics, i.e. 
> passages with equal rhythm and wording in multiple voices have the lyrics 
> printed only once, mostly below the topmost of the staves.

I finally looked at this example. (Thanks again for including it!)

1. To my eye, the omission of lyrics as you’ve done it here accomplishes the 
worst of both worlds: the gaps are disconcerting (e.g., are the Basses really 
supposed to travel with their eye, unaided, from the extender in m.16 up to the 
Soprano lyrics in m.17??), and there is no real space savings [as would be 
accomplished through the condensing of staves with similar music].

2. Some of the extender suppression is definitely an improvement. But as I 
pointed out earlier in this thread, that kind of tweak should really only be 
done after the final layout is calculated. For [an admittedly extreme] example, 
change the system-count to 12, and then try to convince me that the extender on 
“our” in m. 1 should have been [hard-]omitted.  ;)  This is a separate issue, 
and should [as we’ve agreed] be done automatically, with user-definable 
thresholds, etc.

3. As to the lyric alignment… I like a few of the adjustments (e.g., m. 6 
“drest”), but dislike most others (e.g., m. 6 “leaves”, m. 9 “Though”, m. 11 
“Round"). Several adjustments actually cause unnecessary spacing oddities 
(e.g., m. 12 “Drown” in Bass).

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: [Best Practices] splitting and combining choral parts

2015-11-25 Thread Kieren MacMillan
Hi Michael,

Thanks for your response…
But people are apparently missing my point/question.

I’m not asking for advice about LyricExtenders, or whether this particular 
score should be in four staves, or about the spacing of the staves and lyrics, 
or autobeaming, or anything like that.

The closest point discussed, in terms of actual relevance, is whether or not 
lyrics should be included below all staves or only between S+A and T+B or 
whatever. THAT — or, more to the point, the mechanism(s) required to make that 
choice easy to do and undo — is what I’m interested in working on.

> I find switches between the number of staves for short periods
> (i.e. a few bars this, a few bars that and another few bars some
> other way) confusing and it takes too much of my precious attention
> when performing.

See my other response.

As just one randomly-selected example: a quick scan of the full score of “Peter 
Grimes” (I have a lovely hardbound Boosey & Hawkes edition) shows a wide range 
of frenching for the vocals (chorus and solists), including systems with 4 
choral staves (S+A+T+B) 3 choral staves (SA+T+B), and 1 choral staff (“CHOR”). 
To include the maximum number of staves on every page — which would be at least 
13, including all soloists, etc. — would obviously be ludicrous.

Cheers,
Kieren.

p.s.

> Last not least for vocal lines I always turn off autoBeam and manually
> put beams to groups that are sung on a single syllable. For my singers
> eyes that strongly helps to keep words and music in a proper flow.

I would never do this: in all but the rhythmically simplest music, 
beam-to-melisma does nothing but make sight-reading and rehearsing more 
difficult.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: [Best Practices] splitting and combining choral parts

2015-11-25 Thread Kieren MacMillan
Hi Simon,

> It always uses a consistent number of staves for the music (which might also 
> be due to the music)

This (i.e., the last bit) is the salient point. Look at essentially any opera 
or musical score (full or pianovocal), and a large proportion of [modern] 
choral scores, and you will see a great deal of frenching and part-combining 
and choral-unison-with-occasional-polyphony.*** 

And whether or not the particular example ("Wither’s Carol” mm. 1-17) that I 
included should or should not be in four staves is irrelevant.

I think it’s the perfect example to work out the best practices by which larger 
scores can/should be coded. I’m not really interested in tackling the final 
engraving of my 25-minute holiday suite for double orchestra, double choir, 
barbershop quartet, and children’s choir as the “test example”.  ;)

Cheers,
Kieren.

***  p.s. I couldn’t even find one example, in all my scores of pieces composed 
before 1900, containing a choral unison section of more than four consecutive 
measures. Anyone [counter]examples out there?


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Michael Gerdau
> > Last not least for vocal lines I always turn off autoBeam and manually
> > put beams to groups that are sung on a single syllable. For my singers
> > eyes that strongly helps to keep words and music in a proper flow.
> 
> It’s rather a question of rhythmic complexity; with long and/or
> oft-changing measures it helps to have normal beaming.

I understand that argument and it has its merrit.

However in my experience such complex rythms aren't found too often in
choral music and certainly not in the piece at hand. IMO the advantage
of \autoBeamOff more often outweights the disadavantage but I'm happy
to agree to disagree.
[Note that my whole argument is from a singer's perspective, not an
instrumentalist]

Kind regards,
Michael
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Simon Albrecht

On 24.11.2015 23:36, Kieren MacMillan wrote:

And I like for long syllables to be increasingly left-aligned

This is one of the many, many lyric-related problems in Lilypond. (See my 
numerous other posts and sponsorship offers on that topic.) I solve almost all 
of them post-hoc, using the edition-engraver.


>for which I wrote a custom grob callback.

I’d be happy to look at that, if you’re willing to share it.
(I have yet to find a callback that satisfies me in that regard.)


It’s in the ‘interpolate.ily’ file I already sent. I’ve found that it 
yields quite acceptable results, but I’m interested to hear your opinion.


Yours, Simon

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


Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Simon Albrecht

On 25.11.2015 00:03, Michael Gerdau wrote:

Last not least for vocal lines I always turn off autoBeam and manually
put beams to groups that are sung on a single syllable. For my singers
eyes that strongly helps to keep words and music in a proper flow.


It’s rather a question of rhythmic complexity; with long and/or 
oft-changing measures it helps to have normal beaming.


Yours, Simon

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


Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Michael Gerdau
Hie Kieren and Simon,

> first of all: Looks like a nice piece!

Yes :)

> Second: offtopic nitpicks. There are some superfluous LyricExtenders
> there – I’d rather leave them out if they are very short.

I agree on that one.

> And I like for long syllables
> to be increasingly left-aligned, for which I wrote a custom grob callback.

I'm torn between liking it and not liking it...
...will have to look at it some more time :)

> I’d vote to keep with four staves, at least in this example.

I again agree. I find switches between the number of staves for short
periods (i.e. a few bars this, a few bars that and another few bars some
other way) confusing and it takes too much of my precious attention
when performing.

> The other major point is that
> it doesn’t print ‘redundant’ lyrics, i.e. passages with equal rhythm and
> wording in multiple voices have the lyrics printed only once, mostly
> below the topmost of the staves. This is certainly a controversial
> feature,

Yes, it definitely *IS* controversial :)

I'm a bass singer. if you really wish to leave out the redundant lyrics
then do so for all other voices but bass ;)

Seriously :
If you wish to leave out lyrics then at least put them between soprano
and alto and between tenor and bass. That way each voice has lyrics
adjacent to the music.

I find the distance between lyrics and music in Simon's version too
close. To my eyes it appears cramped and makes it less easy to read
during performance.

Last not least for vocal lines I always turn off autoBeam and manually
put beams to groups that are sung on a single syllable. For my singers
eyes that strongly helps to keep words and music in a proper flow.

I'm sure from a keyboard player's perspective this is different. I know
as a violinist I would want autoBeam on as well :)

Find attached my preferences applied to the original score.

Kind regards,
Michael
--
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver\version "2.19"
\language "english"

#(set-global-staff-size 15.5)

\paper {
  page-count = 2
  system-count = 5
  ragged-bottom = ##t
  ragged-last-bottom = ##t
  system-system-spacing = #'((minimum-distance . 18) (padding . 8))
}

\layout {
  \context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
  }
  \context {
\Staff
\name ChoralStaff
\alias Staff
\override DynamicLineSpanner.direction = #UP
\override Script.direction = #UP
\override TextScript.direction = #UP
\override TupletBracket.direction = #UP
\override TupletNumber.direction = #UP
  }
  \context {
\ChoirStaff
\accepts ChoralStaff
  }
  \context {
\type "Engraver_group"
\name ScoreMarks
\consists "Staff_collecting_engraver"
\consists "Axis_group_engraver"
\override VerticalAxisGroup.staff-affinity = #DOWN
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing #'((basic-distance . 1) (minimum-distance . 1) (padding . 2) (stretchability . 0))
\override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing #'((basic-distance . 6) (minimum-distance . 6) (padding . 4) (stretchability . 0))
\override VerticalAxisGroup.nonstaff-nonstaff-spacing #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
\consists "Metronome_mark_engraver"
\override MetronomeMark.font-size = #2
\override MetronomeMark.font-series = #'normal
\override MetronomeMark.Y-offset = ##f
\override MetronomeMark.padding = #2
\override MetronomeMark.break-align-symbols = #'(time-signature key-signature)
\override MetronomeMark.non-break-align-symbols = #'(paper-column-interface)
\consists "Text_spanner_engraver"
\override TextSpanner.font-size = #2
\consists "Mark_engraver"
\override RehearsalMark.Y-offset = ##f
\override RehearsalMark.outside-staff-priority = #75
\override RehearsalMark.font-size = #2
\override RehearsalMark.break-align-symbols = #'(time-signature key-signature)
\consists "Time_signature_engraver"
\override TimeSignature.stencil = #point-stencil
  }
  \context {
\Score
\remove "Metronome_mark_engraver"
\remove "Mark_engraver"
\accepts ScoreMarks
\override TimeSignature.style = #'()
\override BarNumber.font-size = #2.5
\override BarNumber.padding = #2
  }
}

  GLOBAL  

\header {
  title = "Wither’s Carol"
}

WithersCarol_global = {
  %%  v. 1
\key d \major
\tempo "Brightly" 48
\time 2/4
\partial 8 s8
s4*2
\time 4/4
s4*4
\time 2/4
s4*2*3
\time 4/4
s4*4
\time 2/4
s4*2*2
\time 7/8
s8*7
\time 2/4
s4*2
\time 4/4
\tempo \markup "Relaxing slightly"
s1*2
\tempo "Like a madrigal" 4€
s1
\time 9/8
s8*9
\time 4/4
s2
\tempo \markup "poco rit."
s1
\tempo \markup "regain tempo"
s2 s1
\bar "||"
}


  VOICES  

WithersCarol_sop

Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Kieren MacMillan
Hi Simon,

> I’d vote to keep with four staves, at least in this example.

For the record, I sometimes do that. One good example is “Go Thy Way”, a score 
of which you can see at 
.

But that’s a short a cappella piece, with just enough polyphonic differences 
(homophonic offsets, mostly) that it never makes sense to be in two staves for 
very long. “Wither’s Carol” is longer and more complex; it has instrumental 
parts (and/or a piano reduction); it alternates between a cappella, 
instrumental, and combined-forces sections, etc. Ultimately, sticking to four 
chorus staves doesn’t make much sense [in all score outputs], in my opinion.

By the way: the “Go Thy Way” score is “almost final”. That will give you a 
sense of the amount of stylesheeting and edition-engraver tweaking I do to my 
scores, to overcome Lilypond’s shortcomings (e.g., the BarNumber padding bug 
you saw in the “minimal” example I supplied for this thread).

I would do even more, but there’s a point of diminishing marginal utility: at 
some point, I’d rather compose a new piece than sit and tweak the engraving of 
an old one.  ;)

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Kieren MacMillan
Hi Simon,

> first of all: Looks like a nice piece!

Thanks! You can hear it at , if 
you’re interested.

> Second: offtopic nitpicks. There are some superfluous LyricExtenders there – 
> I’d rather leave them out if they are very short

I include all LyricExtenders, until the layout is finalized; only then can I 
possibly know whether they’re “too short”.  :)

> And note the mid-air bar-numbers, where they are aligned with ScoreMarks. I’d 
> move Bar_number_engraver to the topmost staff.

That’s a whole separate Lilypond bug, which I deal with using the 
edition-engraver. Note also that your solution is insufficient, since the 
topmost staff will periodically disappear and reappear (frenched score).

> And I like for long syllables to be increasingly left-aligned

This is one of the many, many lyric-related problems in Lilypond. (See my 
numerous other posts and sponsorship offers on that topic.) I solve almost all 
of them post-hoc, using the edition-engraver.

> for which I wrote a custom grob callback.

I’d be happy to look at that, if you’re willing to share it.
(I have yet to find a callback that satisfies me in that regard.)

> I’d vote to keep with four staves, at least in this example.

Thanks for the vote…  :)

But I’ll be outputting at least four different scores for this piece: full 
score (U.S. letter), vocal score (U.S. letter), and vocal score (octavo). I am 
trying to reduce the number of pages, both to keep page turning to a minimum, 
and because many customers will be downloading PDFs and printing their own (and 
I want to minimize their printing costs).

Additionally, I find unnecessary redundancy in scores irritating as both a 
conductor/performer and as an aesthete. My goal is always to include the bare 
minimum information to get the job done as efficiently and elegantly as 
possible.

> It _would_ of course be great to have a good mechanism for that in LilyPond, 
> but it looks like a really involved task.

I don’t think so… We have \quoteDuring, and \divisi, and a number of other 
great features. I was just hoping I didn’t have to roll my own solution, 
without any extra eyes.

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: [Best Practices] splitting and combining choral parts

2015-11-24 Thread Simon Albrecht

Hello Kieren,

first of all: Looks like a nice piece!
Second: offtopic nitpicks. There are some superfluous LyricExtenders 
there – I’d rather leave them out if they are very short. 
( …) And note the 
mid-air bar-numbers, where they are aligned with ScoreMarks. I’d move 
Bar_number_engraver to the topmost staff. And I like for long syllables 
to be increasingly left-aligned, for which I wrote a custom grob callback.
And finally on your actual point, an answer which is probably not the 
one you wanted to hear: :-)


I’d vote to keep with four staves, at least in this example. My model 
for engraving choral scores is the respective volume in the 1926 
Breitkopf & Härtel Brahms complete edition. It’s beautiful and excellent 
to read. It always uses a consistent number of staves for the music 
(which might also be due to the music), which I think gives more 
consistent looks and takes some difficulty (in finding the staff he 
should be singing from) from the singer. The other major point is that 
it doesn’t print ‘redundant’ lyrics, i.e. passages with equal rhythm and 
wording in multiple voices have the lyrics printed only once, mostly 
below the topmost of the staves. This is certainly a controversial 
feature, but IMO the clarity it adds to the score and the nudge to not 
only read one’s own voice are valuable, alongside with the gain on 
vertical space.
For this I also wrote a nice, easy-to-use solution, which you find 
applied to the version in the attachment.
Of course there are cases where one needs to go e.g. to eight staves, or 
have other changes in staff number – the best of orchestral score 
engravings show it. It _would_ of course be great to have a good 
mechanism for that in LilyPond, but it looks like a really involved task.


Other measures to obtain closer vertical spacing are shifting dynamics 
(a task for which I haven’t yet found a definite, if only personal 
solution yet – very complicated) – and narrower hairpins (My default 
stylesheet has \override Hairpin.height = 0.45).


I hope there is something useful for you amongst these ideas…

Yours, Simon

On 24.11.2015 16:14, Kieren MacMillan wrote:

Hello list,

I’ve posted this question several times before, but the discussion always got 
truncated or derailed… I’m hoping this time we can work this through to a 
solution.

Choral pieces tend to have both sections of polyphony (requiring 4 or more 
staves) and sections of homophony (requiring as few as 1 staff). I want to be 
able to arbitrarily break systems and have Lilypond Do The Right Thing™, by 
which I mean use the maximum number of systems when necessary, but combine 
voices and lyrics to 3 or 2 staves or even 1 staff where possible.

Bonus points if we can convince Lily to automagically [e.g., via an engraver?] 
put a user-definable markup indicating who is singing at a given moment, add 
splitting-or-combining arrows at the end(s) of systems, etc.

I’ve attached the first 17 measures of one of my original carols as an example 
we can work with/through. Is anyone out there willing to work with me to find 
the Best Practice here? I’m happy to do this on-list or off-, as appropriate.

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info



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


\version "2.19.31"
\language "english"
\include "interpolate.ily"
\include "switch-lyrics.ily"

#(set-global-staff-size 15.5)

\paper {
  page-count = 2
  system-count = 5
  ragged-bottom = ##t
  ragged-last-bottom = ##t
  system-system-spacing = #'((minimum-distance . 18) (padding . 8))
}

\layout {
  \context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
  }
  \context {
\Staff
\name ChoralStaff
\alias Staff
\override DynamicLineSpanner.direction = #UP
\override Script.direction = #UP
\override TextScript.direction = #UP
\override TupletBracket.direction = #UP
\override TupletNumber.direction = #UP
  }
  \context {
\ChoirStaff
\accepts ChoralStaff
  }
  \context {
\type "Engraver_group"
\name ScoreMarks
\consists "Staff_collecting_engraver"
\consists "Axis_group_engraver"
\override VerticalAxisGroup.staff-affinity = #DOWN
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 1) (minimum-distance . 1) (padding . 2) (stretchability . 0))
\override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing =
#'((basic-distance . 6) (minimum-distance . 6) (padding . 4) (stretchability . 0))
\override VerticalAxisGroup.nonstaff-nonstaff-spacing =
#'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0))
\consists "Metronome_mark_engraver"
\override MetronomeMark.fon

Re: Best Practices for file structures, score and parts

2015-10-02 Thread Simon Albrecht

On 02.10.2015 12:03, Malte Meyn wrote:
I remember an issue with note names in german (and perhaps other 
languages) when you have several names (asas and ases) for the same 
pitch (a flat). I’m not sure whether this has been fixed. 


You might check at the issue tracker: 
, post updates or raise a 
new issue.


Thanks, Simon

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


Re: Best Practices for file structures, score and parts

2015-10-02 Thread Anthonys Lists

On 02/10/2015 08:58, N. Andrew Walsh wrote:
do I enter the transposing instruments into the score in concert pitch 
or transposed? Can Frescobaldi (my editor of choice) take an entire 
Voice and transpose it into concert pitch after I've edited, or should 
I enter the content in concert pitch (transposing back into C on the 
fly as I type)?
Playing trombone as I do, I get parts in any combination of bass clef, 
tenor clef, or treble/Bf. I need some sort of convention to avoid 
getting messed up, and the obvious one for me is:


All parts are entered as variables. All parts are copied in in the pitch 
they are written. All parts are wrapped in a transpose to make the 
variable concert pitch. So the notes are entered as either


voiceTromboneI = \transpose c' bf { c e g }

or

voiceTromboneI = \transpose c' c' { bf d f }

When outputting a treble clef part I can then do the following no 
problem ...


\transpose bf c' \voiceTromboneI

Cheers,
Wol

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


Re: Best Practices for file structures, score and parts

2015-10-02 Thread N. Andrew Walsh
Hi Malte,

well, if I go by your setup, I could theoretically move the six \score
blocks into my master file, so long as I rename the instruments for each
movement (and then eventually for each mass as well, if I wanted to combine
all six masses into one document), and then make a parts.ly file to make
the parts. That seems the simplest approach to get what I want.

This is the kind of thing I really hope gets into the eventual Lily course
manual: how to set up a file structure for larger ensemble works, with
diagrams and case examples for, say, duo, chamber ensemble, orchestra,
opera, and large-scale collaborative works requiring distributed note-entry
on a git server.

Thanks for the help. I'll get to (sigh) restructuring all my files and
renaming all the Voices.

Cheers,

A

On Fri, Oct 2, 2015 at 12:18 PM, Malte Meyn  wrote:

>
>
> Am 02.10.2015 um 09:58 schrieb N. Andrew Walsh:
>
>> Is there a better way to structure the files? How do I extract the
>> instrument variables into separate part files? Can I just \include all the
>> separate movement files, and then add the Voice variables in sequence? In
>> other words: each movement is a separate file, but in each file the
>> instruments have the same name for their variable. How do I set up part
>> files so that each part has all the movements, from all the masses, in
>> order and correctly transposed and everything?
>>
>> This gets back to what I was asking the thread about a few months ago:
>> what
>> is the "best practice" (good heavens I hate that term; corporate
>> management-babble totally ruined what is otherwise a perfectly defensible
>> concept) for putting together a work such as this, with multiple
>> individual
>> pieces, each in multiple movements, for an ensemble of nontrivial size? If
>> each instrument (11 total), in each movement (five in a normal mass,
>> right?), in each mass (six total) is a separate file, I'm looking at a
>> file
>> structure of over 300 individual files. That seems … excessive.
>>
>> This many files are good for collaborating (see Urs’ project “Das trunkne
> Lied”) but when you’re alone you could rely on LilyPond’s/Frescobaldi’s
> point-and-click functionality. For a symphony I have the following files:
>
> global.ily: contains things like title, including custom headers (f. e.
> for a different music font), and other global settings (like the
> markFormatter)
>
> I.ily to IV.ily: contain the music of the movements I to IV (in concert
> pitch):
> Iglobal = { \key … }
> IfluteI = \relative { … } \addQuote "IfluteI" \IfluteI
> IfluteII = \relative …
> They include global.ily.
>
> score.ly: contains paper and layout settings for the full score, also
> partcombine and transpose/transposition; has a \score block for every
> movement. This includes I.ily to IV.ily. Outputs score.pdf.
>
> parts.ly: this contains a \book block (with custom \bookOutputName) for
> every instrument. Includes I.ily to IV.ily. Outputs fluteI.pdf, …,
> doublebass.pdf.
>
> midiI.ly to midiIV.ly: like score.ly but without layout, instrumentNames,
> transposition, StaffGroups, partcombine and all that ‘unnecessary stuff’.
> Could’ve used only one file with several \book blocks.
>
>
> ___
> 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


Re: Best Practices for file structures, score and parts

2015-10-02 Thread karl
Andrew:
> So, I'm in the process of transcribing some masses from part-books, and I'm
> trying to figure out the best way to set up the file/variable/include
> structure so that I have a minimum of clutter.
> 
> There are six masses, with two brass (alternating between trumpet, horn,
> and tacet), tympani, two violins, cello (which is just a double of basso
> continuo, confusing me as to exactly how many celli there actually should
> be), SATB voice parts (solo and tutti/chorus passages), and an organ
> doubling basso continuo.
> 
> What I'd been doing previously is have each movement of the mass in its own
> file, containing the following rough structure:
> 
> each instrument is a block at the top, formatted thus:
> 
> ClarinoOneMusic = \new Voice \relative c'' {
...
> }
> 
> then a silent voice added to the top staff for tempo/meter changes, special
> barlines, etc, like this:
> 
> systembreaks = \new Voice {
>\tempo \markup {\sans \medium \fontsize #4 "Adagio" }
>s2.*6 \break
...
>\mark \markup { \musicglyph #"scripts.ufermata" } \bar "||" \break %%
> End first part

(there seems to be a final } missing)

> then a big \score block putting all the Voice variables together, starting
> like this:
> 
> \score {
...
> }
> 
> This is in each of five files that are \included in a master file
> specifying title, composer, etc, and setting them in order.
...
> Is there a better way to structure the files? How do I extract the
> instrument variables into separate part files? Can I just \include all the
> separate movement files, and then add the Voice variables in sequence? In
> other words: each movement is a separate file, but in each file the
> instruments have the same name for their variable. How do I set up part
> files so that each part has all the movements, from all the masses, in
> order and correctly transposed and everything?
...

I currently use the same structure as you, though I have the score 
block in a seperate file, see e.g.:

 http://turkos.aspodata.se/git/musik/WAMozart/requiem/

for movement "I", I have files I.ily (containing the music) and I.ly:
===
\version "2.19.0"

%{
\header {
  title = "Introitus"
  subtitle = "Requiem"
  composer = "W.A. Mozart"
}
%}
\include "score_glb.ily"
\include "I.ily"
PB = {
  s1*20 \break
  s1*5  \break
  s1*8  \break
}
\include "score_ps.ily"
\include "score_midi.ily"
===

for *.ly, the score block is the same, so I reuse it with the
\include "score_ps.ily" and by using a I.ly file I can other "I.ly" 
files with e.g. different line and page breaks, different \page 
settings etc.

///

In an older project:

 http://turkos.aspodata.se/git/musik/HPurcell/dido/

I used part and voice specific variables, and used a perl script to 
generate the score block.

///

Currently I prefer my requiem way of setting up the files.
I still have to think how to use the same music.ily and to be able
to use it in different context: a simple a4 sheet of music, a choir 
booklet, mix and match booklet with different music extracts of a
vareity of composers, etc.

So, how do I cope with:
 different pages sizes
 with or without \header
 at different staff-sizes
 as collection, on that day we sing theese songs - here is the booklet

and that preferable generated on the fly.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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


Re: Best Practices for file structures, score and parts

2015-10-02 Thread Malte Meyn



Am 02.10.2015 um 09:58 schrieb N. Andrew Walsh:

Is there a better way to structure the files? How do I extract the
instrument variables into separate part files? Can I just \include all the
separate movement files, and then add the Voice variables in sequence? In
other words: each movement is a separate file, but in each file the
instruments have the same name for their variable. How do I set up part
files so that each part has all the movements, from all the masses, in
order and correctly transposed and everything?

This gets back to what I was asking the thread about a few months ago: what
is the "best practice" (good heavens I hate that term; corporate
management-babble totally ruined what is otherwise a perfectly defensible
concept) for putting together a work such as this, with multiple individual
pieces, each in multiple movements, for an ensemble of nontrivial size? If
each instrument (11 total), in each movement (five in a normal mass,
right?), in each mass (six total) is a separate file, I'm looking at a file
structure of over 300 individual files. That seems … excessive.

This many files are good for collaborating (see Urs’ project “Das 
trunkne Lied”) but when you’re alone you could rely on 
LilyPond’s/Frescobaldi’s point-and-click functionality. For a symphony I 
have the following files:


global.ily: contains things like title, including custom headers (f. e. 
for a different music font), and other global settings (like the 
markFormatter)


I.ily to IV.ily: contain the music of the movements I to IV (in concert 
pitch):

Iglobal = { \key … }
IfluteI = \relative { … } \addQuote "IfluteI" \IfluteI
IfluteII = \relative …
They include global.ily.

score.ly: contains paper and layout settings for the full score, also 
partcombine and transpose/transposition; has a \score block for every 
movement. This includes I.ily to IV.ily. Outputs score.pdf.


parts.ly: this contains a \book block (with custom \bookOutputName) for 
every instrument. Includes I.ily to IV.ily. Outputs fluteI.pdf, …, 
doublebass.pdf.


midiI.ly to midiIV.ly: like score.ly but without layout, 
instrumentNames, transposition, StaffGroups, partcombine and all that 
‘unnecessary stuff’. Could’ve used only one file with several \book blocks.


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


Re: Best Practices for file structures, score and parts

2015-10-02 Thread Malte Meyn



Am 02.10.2015 um 09:58 schrieb N. Andrew Walsh:

do I enter the transposing instruments into the score in concert pitch or
transposed? Can Frescobaldi (my editor of choice) take an entire Voice and
transpose it into concert pitch after I've edited, or should I enter the
content in concert pitch (transposing back into C on the fly as I type)?



I prefer entering everything in concert pitch (transposing back when 
copying music and simply writing what I want to hear when composing) and 
doing the transposition in the \score block. This makes correct quoting 
easier IMO (unisono voices, cue notes). And it allows you to have a 
score in concert pitch whithout transposing back.


Frescobaldi is able to transpose music (tools→pitches→transpose) but I 
remember an issue with note names in german (and perhaps other 
languages) when you have several names (asas and ases) for the same 
pitch (a flat). I’m not sure whether this has been fixed.


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


Re: best practices for volta (was Re: Problem with repeat alternative endings that contain lyrics andleading rests)

2015-04-22 Thread Kieren MacMillan
Hi Trevor,

>> You mean Lilypond can’t handle << \global \lyrics >>, where \global contains 
>> the repeat structure?
> 
> Depends.

Thanks for the clarification, and the various links. Interesting, all.

I hope there’s an opportunity to fix this soon, and completely. Much like the 
irritating grace-note timing issue(s), this repeat thing is something that (a) 
rears its head only occasionally, but (b) is super-frustrating and 
time-consuming to workaround when it does.

You (i.e., “you”) can count me in for some $ponsor$hip, if and when the 
opportunity presents itself.

Best,
Kieren.



Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-22 Thread Kieren MacMillan
Hi,

> I hope there is no intention to drop the MIDI output.

Oh, goodness, no!

Even though I don’t yet use it myself, I *want* to (soon), and I know it’s very 
important to others.

Killer MIDI output would be a significant selling point for potential new users 
— along with MusicXML, it should be one (IMO) of the highest priority 
improvement projects.

Cheers,
Kieren.



Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-22 Thread Trevor Daniels

Gilles wrote Wednesday, April 22, 2015 11:52 AM

> I hope there is no intention to drop the MIDI output.
> For me, it is extremely useful to be able to figure out how
> an arrangement will sound.
> With all its shortcomings, it's still infinitely better than
> nothing. :-)

No, there's no suggestion of dropping MIDI.  In fact there have been a few 
improvements over the last two or three years, but these have still to find 
their way into the documentation.  See, for example,
https://code.google.com/p/lilypond/issues/detail?id=4059

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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-22 Thread Gilles

Hello.


[...] MIDI is widely acknowledged
to be a relatively unimportant part of LP [...]


I hope there is no intention to drop the MIDI output.
For me, it is extremely useful to be able to figure out how
an arrangement will sound.
With all its shortcomings, it's still infinitely better than
nothing. :-)


Best,
Gilles


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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-22 Thread Trevor Daniels

Kieren MacMillan wrote Tuesday, April 21, 2015 2:13 PM

> My question *was*, ultimately, more of a technical inquiry than a feature 
> request: I never use MIDI, or anything except visual output, so at least in 
> the foreseeable future this feature/bug/whatever has no noticeable impact on 
> my life either way. (To be honest, I don’t even really know what the 
> \unfoldRepeats + MIDI issue actually is, never mind how it might be better 
> handled.)
> 
> So let me ask more explicitly: Precisely what, if anything, would be the 
> technical difficulty in making [the single command] \repeat Do The Right 
> Thing™ in all engraved (e.g., PDF), expressed (e.g., MIDI), and other (e.g., 
> MusicXML) output streams?

As I have a rather light understanding of LP internals I am not the best person 
to answer this, but there are a couple of attempts to tackle this in the issue 
DB: see
https://code.google.com/p/lilypond/issues/detail?id=3698
https://code.google.com/p/lilypond/issues/detail?id=769

Clearly the problem is not trivial.  As MIDI is widely acknowledged to be a 
relatively unimportant part of LP I doubt this is going to tackled while there 
are more important issues to resolve, not least the loss of the issue DB itself 
in just over 3 months time.

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


Re: best practices for volta (was Re: Problem with repeat alternative endings that contain lyrics andleading rests)

2015-04-21 Thread Kieren MacMillan
Hi Trevor,

> Sure you did, but the point of the example the OP submitted from the NR was 
> to show how to allow lyrics to be unfolded along with the music.

Ah. Sorry for the noise.

>> 1. Shouldn’t we be [heavily] promoting, even in tiny snippets, the use of 
>> global variables to hold \repeat structures that are used in multiple places?
> No, not in this particular case - it doesn't work.

You mean Lilypond can’t handle << \global \lyrics >>, where \global contains 
the repeat structure?
Hmm… I was unaware of that.

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-21 Thread Kieren MacMillan
Hi Trevor,

> I think the standard response to this is "patches welcome" ;)

Touché!  ;)

> No doubt it could - but only if someone was prepared to put the effort into 
> coding it.  

My question *was*, ultimately, more of a technical inquiry than a feature 
request: I never use MIDI, or anything except visual output, so at least in the 
foreseeable future this feature/bug/whatever has no noticeable impact on my 
life either way. (To be honest, I don’t even really know what the 
\unfoldRepeats + MIDI issue actually is, never mind how it might be better 
handled.)

So let me ask more explicitly: Precisely what, if anything, would be the 
technical difficulty in making [the single command] \repeat Do The Right Thing™ 
in all engraved (e.g., PDF), expressed (e.g., MIDI), and other (e.g., MusicXML) 
output streams?

Only after knowing that can I make a meaningful decision on how much I can get 
myself involved (either coding or sponsoring) to get it done.

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-20 Thread Trevor Daniels

Kieren MacMillan wrote Monday, April 20, 2015 9:00 PM

> Can \repeat not be defined so that — possibly with parameters/switches — it 
> will Do The Right Thing™ in all engraved (e.g., PDF), expressed (e.g., MIDI), 
> and other (e.g., MusicXML) output streams without requiring poor or 
> inefficient structural coding?

No doubt it could - but only if someone was prepared to put the effort into 
coding it.  I think the standard response to this is "patches welcome" ;)

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


Re: best practices for volta (was Re: Problem with repeat alternative endings that contain lyrics andleading rests)

2015-04-20 Thread Trevor Daniels

Kieren MacMillan wrote Monday, April 20, 2015 5:05 PM

> On Apr 19, 2015, at 6:11 AM, Trevor Daniels  wrote:
>
>> [snip incomplete example]
>
> Is it really a best practice to put \repeat volta structures in multiple 
> locations? I just responded to a post a few days ago where (I believe, though 
> the OP hasn’t followed it through to terminus) the primary source of the 
> compilation troubles was asynchronous voltas.

Sure you did, but the point of the example the OP submitted from the NR was to 
show how to allow lyrics to be unfolded along with the music.  Granted this was 
not obvious from my post, unless you knew where the example came from.

> 1. Shouldn’t we be [heavily] promoting, even in tiny snippets, the use of 
> global variables to hold \repeat structures that are used in multiple places?

No, not in this particular case - it doesn't work.

> 2. And in this particular example, why use \repeat at all in the lyrics? 
> Doesn’t the following (with the unnecessary braces left in for structural 
> clarity) work equally well?
>
>   \new Lyrics {
> \lyricsto "melody" {
>   Not re -- peat -- ed.
>   Re -- peat { { "" twice. } { "" twice. } }
> }
>   }

Not when unfolded.

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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-20 Thread Kieren MacMillan
Hi Mats,

> No, that's asking for trouble! The code should primarily reflect the musical 
> interpretation, not just the notation. In know that it works to do as you 
> propose in many examples, but it clearly does not work if you use 
> \unfoldRepeats (in MIDI), for example.

Can \repeat not be defined so that — possibly with parameters/switches — it 
will Do The Right Thing™ in all engraved (e.g., PDF), expressed (e.g., MIDI), 
and other (e.g., MusicXML) output streams without requiring poor or inefficient 
structural coding?

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: best practices for volta (was Re: Problem with repeat, alternative endings that contain lyrics andleading rests)

2015-04-20 Thread Mats Bengtsson



On 04/20/2015 08:01 PM, Kieren MacMillan  
wrote:

1. Shouldn?t we be [heavily] promoting, even in tiny snippets, the use of 
global variables to hold \repeat structures that are used in multiple places?
No, that's asking for trouble! The code should primarily reflect the 
musical interpretation, not just the notation. In know that it works to 
do as you propose in many examples, but it clearly does not work if you 
use \unfoldRepeats (in MIDI), for example.


/Mats

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


Re: Best practices in lyric typesetting

2012-12-18 Thread Christ van Willegen
On Tue, Dec 18, 2012 at 11:59 AM, David Kastrup  wrote:

> Actually, singers don't like such things.  It interferes with their
> pitch sense.
>
> I think the "Carmina Burana" has some piece for a bass or baritone
> falsettist and it is written in $#!! bass clef, with oodles of ledger
> lines.  No idea how anybody is going to figure out just where in the
> scale he is currently singing.

We recently had a song where there were at least 10 (!) switches
between the choir being notated on 4 and 2 staffs, and the cleff for
the tenor (my voice...) changing from G (luckily not G_8 or G^8) to F,
and back again. You bet I complained! Did that help? Nope...

I'm _still_ trying to get my conductor to switch to Lilypond, but alas...

Christ van Willegen
--
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: Best practices in lyric typesetting

2012-12-18 Thread David Kastrup
Werner LEMBERG  writes:

>>> "A line of text should be parallel to the stave for the length of
>>> the system, and not be placed on different levels to accommodate
>>> notes below the stave".
>>> 
>>> This refers to lyrics.
>>> 
>> 
>> I'll tell that to my singers as they tar and feather me.
>
> Now you know why different clefs do exist to avoid ledger lines (gosh,
> do your singers create the sound of those notes really with the
> *mouth*?)

I do so not want to hear of any alternatives.

> To be serious: I suggest either an octavation line or really a clef
> change to "bass_8"

Actually, singers don't like such things.  It interferes with their
pitch sense.

I think the "Carmina Burana" has some piece for a bass or baritone
falsettist and it is written in $#!! bass clef, with oodles of ledger
lines.  No idea how anybody is going to figure out just where in the
scale he is currently singing.

-- 
David Kastrup


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


Re: Best practices in lyric typesetting

2012-12-18 Thread Arle Lommel
MS,

> Putting aside the impossibility of the attached exercise, you'll see that the 
> lyrics stay shifted way down for the part of the attached example that moves 
> to D major.

I ran into the reverse problem with pedal markings the other day: they were 
*not* aligned (and in fact seemed to behave like you want lyrics to. I can 
testify that the misalignments that resulted until I put the pedal markings 
into their own context was *seriously* disruptive visually. And that was for 
something relatively minor. If lyrics jumped around, I would personally find it 
rather disruptive as a singer, especially since vertical alignment sometimes is 
not just a matter of aesthetics but also of semantics, as when an alternative 
bass lyric is written below a primary lyric. So if the signers see lines 
jumping about, how will they know what the correct interpretation is?

Of course, as others have pointed out, you can probably resolve your situation 
by using ottava marks to keep things more neatly in the staff. I agree that the 
gap below the staff is very difficult to deal with and understand your 
motivation, but I think the solution would be to find a way to eliminate the 
cause of the gap, if possible.

(That said, although I don't have the solution, I am 100% in favor of leaving 
the system flexible enough to allow people to do what they want. You never know 
in advance when something you consider out of the question will not only be 
possible but may even be the best solution in a context you never thought of.)

Best,

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


Re: Best practices in lyric typesetting

2012-12-18 Thread Werner LEMBERG

>> "A line of text should be parallel to the stave for the length of
>> the system, and not be placed on different levels to accommodate
>> notes below the stave".
>> 
>> This refers to lyrics.
>> 
> 
> I'll tell that to my singers as they tar and feather me.

Now you know why different clefs do exist to avoid ledger lines (gosh,
do your singers create the sound of those notes really with the
*mouth*?)

To be serious: I suggest either an octavation line or really a clef change
to "bass_8"


Werner

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


Re: Best practices in lyric typesetting

2012-12-18 Thread Phil Holmes
- Original Message - 
From: 

To: "Phil Holmes" 
Cc: ; 
Sent: Tuesday, December 18, 2012 9:23 AM
Subject: Re: Best practices in lyric typesetting



On 18 déc. 2012, at 10:19, "Phil Holmes"  wrote:


- Original Message - From: 
To: 
Sent: Tuesday, December 18, 2012 9:04 AM
Subject: Best practices in lyric typesetting


Hey all,

Putting aside the impossibility of the attached exercise, you'll see that 
the lyrics stay shifted way down for the part of the attached example that 
moves to D major.


I can't imagine that anyone sightreading this would want to see the lyrics 
shifted down that much after the key change.  Is there a way to signal to 
the VerticalAxisGroup clumping Lyrics together that it should start a new 
vertical alignment section?  I can likely accomplish the same thing with 
\new Lyrics as well, but it'd be strange in the way I'm structuring the 
document.


Unless that type of thing appears heretic, in which case I'll just leave 
the lyrics as they are.


Cheers,
MS







From Gould:

"A line of text should be parallel to the stave for the length of the 
system, and not be placed on different levels to accommodate notes below 
the stave".


This refers to lyrics.




I'll tell that to my singers as they tar and feather me.

Cheers,
MS



As you probably know, I'm only a singer (and currently do a _lot_ of 
singing - 8 sets of music on the go last week).  I'm in 2 minds about 
breaking lyrics - the problem is that, if you do, the movement of your eyes 
as you try to follow them has to change.  We're used to this with notes, but 
it would be rather like moving a stave for an instrumentalist. I think I'd 
prefer them on the same level, even with the version you showed.


--
Phil Holmes 



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


Re: Best practices in lyric typesetting

2012-12-18 Thread Marek Klein
Hello,

2012/12/18 m...@mikesolomon.org 

> I'll tell that to my singers as they tar and feather me.
>
> I would forse a line break in such a case.

Marek Klein
http://gregoriana.sk
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Best practices in lyric typesetting

2012-12-18 Thread Vaughan McAlley
On 18 December 2012 20:19, Phil Holmes  wrote:

> - Original Message - From: 
> To: 
> Sent: Tuesday, December 18, 2012 9:04 AM
> Subject: Best practices in lyric typesetting
>
>
>
> Hey all,
>
> Putting aside the impossibility of the attached exercise, you'll see that
> the lyrics stay shifted way down for the part of the attached example that
> moves to D major.
>
> I can't imagine that anyone sightreading this would want to see the lyrics
> shifted down that much after the key change.  Is there a way to signal to
> the VerticalAxisGroup clumping Lyrics together that it should start a new
> vertical alignment section?  I can likely accomplish the same thing with
> \new Lyrics as well, but it'd be strange in the way I'm structuring the
> document.
>
> Unless that type of thing appears heretic, in which case I'll just leave
> the lyrics as they are.
>
> Cheers,
> MS
>
>
>
>
>
> --**--**
> 
>
> From Gould:
>
> "A line of text should be parallel to the stave for the length of the
> system, and not be placed on different levels to accommodate notes below
> the stave".
>
> This refers to lyrics.
>
>
> --
> Phil Holmes
>
> __**_
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/**listinfo/lilypond-user
>
>

Yes, I’d leave it where it is. You’re not going to be able to fit anything
closer to that staff, and it would make the new lyrics look different when
they weren’t (but if they are, it would be a fitting use of \new Lyrics).

In the real world, if you get your altos to sing a low D, where the lyrics
are isn’t going to be the first thing on their mind ;-)

Vaughan

PS Congrats to the devs for being way ahead of Finale (2009 and probably
later) with vertical lyric placement
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Best practices in lyric typesetting

2012-12-18 Thread m...@mikesolomon.org

On 18 déc. 2012, at 10:19, "Phil Holmes"  wrote:

> - Original Message - From: 
> To: 
> Sent: Tuesday, December 18, 2012 9:04 AM
> Subject: Best practices in lyric typesetting
> 
> 
> Hey all,
> 
> Putting aside the impossibility of the attached exercise, you'll see that the 
> lyrics stay shifted way down for the part of the attached example that moves 
> to D major.
> 
> I can't imagine that anyone sightreading this would want to see the lyrics 
> shifted down that much after the key change.  Is there a way to signal to the 
> VerticalAxisGroup clumping Lyrics together that it should start a new 
> vertical alignment section?  I can likely accomplish the same thing with \new 
> Lyrics as well, but it'd be strange in the way I'm structuring the document.
> 
> Unless that type of thing appears heretic, in which case I'll just leave the 
> lyrics as they are.
> 
> Cheers,
> MS
> 
> 
> 
> 
> 
> 
> 
> From Gould:
> 
> "A line of text should be parallel to the stave for the length of the system, 
> and not be placed on different levels to accommodate notes below the stave".
> 
> This refers to lyrics.
> 


I'll tell that to my singers as they tar and feather me.

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


Re: Best practices in lyric typesetting

2012-12-18 Thread Phil Holmes
- Original Message - 
From: 

To: 
Sent: Tuesday, December 18, 2012 9:04 AM
Subject: Best practices in lyric typesetting


Hey all,

Putting aside the impossibility of the attached exercise, you'll see that 
the lyrics stay shifted way down for the part of the attached example that 
moves to D major.


I can't imagine that anyone sightreading this would want to see the lyrics 
shifted down that much after the key change.  Is there a way to signal to 
the VerticalAxisGroup clumping Lyrics together that it should start a new 
vertical alignment section?  I can likely accomplish the same thing with 
\new Lyrics as well, but it'd be strange in the way I'm structuring the 
document.


Unless that type of thing appears heretic, in which case I'll just leave the 
lyrics as they are.


Cheers,
MS








From Gould:


"A line of text should be parallel to the stave for the length of the 
system, and not be placed on different levels to accommodate notes below the 
stave".


This refers to lyrics.


--
Phil Holmes 



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


Re: best practices for divisi string writing

2011-10-26 Thread Shevek



Keith OHara wrote:
> 
> I find it awkward to split the music among variables, so I learned to use
> the \tag system to mark different formatting options for part or score.
> 

Aha! Tags are exactly what I wanted. I need to play around with it to figure
out a nice general method, but I think some combination of tags and
instrumentChanges will accomplish all the things I need to do.
-- 
View this message in context: 
http://old.nabble.com/best-practices-for-divisi-string-writing-tp32503916p32728162.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


Re: best practices for divisi string writing

2011-09-26 Thread Keith OHara
Shevek  saultobin.com> writes:

> One thing that I have had trouble figuring out, though, 
> is the best way to do divisi string writing in Lilypond. 

I find it awkward to split the music among variables, so I learned to use
the \tag system to mark different formatting options for part or score.

This means I don't completely separate content from presentation, but I'm
happier to have some presentation specifications stay close to the content 
that required them.

violinI = R1*3

violinII = \new Voice { \relative c' {
  c4 d e f 
  << 
\new Voice {
  \tag#'score \voiceOne 
  a r c d 
} 
\new Voice {
  \tag#'score \voiceTwo
  \tag#'part \change Staff = "second"
  f, g r b 
}
\tag#'part \new Staff = "second" {
  \once \override Staff.TimeSignature #'stencil = ##f 
} % The contents of the Staff are also controlled by the tag
  >>
  c g e c
}}

\keepWithTag#'part \new GrandStaff { \violinII }
% GrandStaff draws a brace if the divisi lasts more than one line

\keepWithTag#'score \new StaffGroup <<
  \new Staff \violinI
  \new Staff \violinII 
>>



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


Re: best practices for divisi string writing

2011-09-26 Thread m...@apollinemike.com
On Sep 25, 2011, at 10:50 AM, Shevek wrote:

> 
> I'm a composer that has been using Finale for around 10 years, but recently
> switched to Lilypond almost exclusively. The reasons for my switch are
> numerous, including that I run Linux, Lilypond's beautiful engraving, and
> the natural way Lilypond supports a variety of extended notations. I've been
> incredibly impressed by the ease of my transition from Finale (it probably
> helps that I am comfortable reading code), and I don't plan to go back any
> time soon.
> 
> I've been able to figure out how to do most things I'd want to do
> "idiomatically" in Lilypond, thanks to the wonderful documentation. One
> thing that I have had trouble figuring out, though, is the best way to do
> divisi string writing in Lilypond. \partcombine with custom texts seems like
> a good option for simple divisi passages that alternate with unison, but
> when one part has rests, the rests disappear, when really they should
> display. There are a variety of techniques described in the documentation
> for ossia staves that could very easily be adapted for divisi staves, but
> I'm unclear as to which would be the best. Ideally, I'd like to separate
> content (the music expressions) from the presentation (whether the parts are
> displayed on one or multiple staves) as much as possible, so that I can
> reuse the content to generate parts. Parts and score, naturally, may need to
> present the divisi passages differently, with some notated in score on the
> same staff, but in separate staves in the part.
> 
> I'd really appreciate any suggestions for how to do this.

Congrats on making the switch!  There are several composers on this list 
(including me) that have followed a similar path and I don't think any of us 
have ever switched back.

If I understand your question correctly, you are looking for :

(1) The best way to write a divisi that preserves the parts in their original 
form (i.e. doesn't drop rests); and
(2) A way to do it that separates content from structure.

Here are two options:

\version "2.15.12"

preferatoryMatter = \relative c' { c d e f }
foo = \relative f' { a r c d }
bar = \relative f' { f g r b }

\new Staff { \preferatoryMatter << \foo \\ \bar >> }

\score {
  \new Staff = "mystaff" {
\preferatoryMatter
<< \new Staff \with { alignAboveContext = "mystaff" } { \foo }  \bar >>
  }
}

Cheers,
MS


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


Re: Best Practices for Multiple Part Scores

2011-07-10 Thread James Harkins
At Fri, 08 Jul 2011 11:32:15 +0800,
James Harkins wrote:
> > - Short lived divisi - is there a better method than using < > on
> > every note?  What about a passage with rhythmic differences?  Must
> > this be separated into yet another part?
> 
> This is one area where I think lilypond beats finale, hands down.

Since I was just going on about how much better lilypond's multiple-voice 
handling is, and I just saw a great example of it in action, I thought I'd 
share a reason why I am really digging this piece of software.

3/8 bar: The stems are almost exactly vertically aligned -- just enough offset 
to make it obvious to the eye that they aren't the same voice. Then the kicker, 
which (as far as I know) finale doesn't do by default -- the rhythm dots in the 
upper voice are pushed to the right to line up with those in the lower voice.

No tweaks, looks gorgeous. That level of attention to detail is kind of blowing 
my mind.

Big up to all the developers, testers and bug squad. Amazing stuff going on 
here!

James


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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


Re: Best Practices for Multiple Part Scores

2011-07-09 Thread Janek Warchoł
2011/7/7 Kieren MacMillan 
>
> Hello Andrew,
>
> > What is frustrating to me is that doing something that
> > seems to be standard in music notation (such as writing multiple
> > parts) takes so much manual effort and so many hacks to look good.
> > And there is much more documentation for strange things (like printing
> > notes with colored heads, weird times and misaligned staves, etc.)
> > than there is for the things you would actually expect a person to do.
>
> I actually agree with this statement

Me too!  I hope we'll discuss it during GOP - there is a topic
"roadmap of future development" mentioned.

cheers,
Janek

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


Re: Best Practices for Multiple Part Scores

2011-07-07 Thread Keith OHara
Keith OHara  oco.net> writes:

> file: horns.ly
[...]
> \score {
>   \keepWithTag#'part \new Staff <<
>   \horns_mvt_I
\commonConductor_mvt_I >>
> }
> \score {
>   \keepWithTag#'part \new Staff <<
>   \horns_mvt_II
\commonConductor_mvt_II >>

I had forgotten an important bit.
-Keith



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


Re: Best Practices for Multiple Part Scores

2011-07-07 Thread Keith OHara
couchand  gmail.com  gmail.com> writes:

> 
> I would like to set a large piece with multiple parts, with the option
> of producing single-part scores (e.g. an orchestral piece).  I have
> found that very quickly my source files get out of control.  

1) http://www.mutopiaproject.org/  
Jay Anderson has posted some large-ensemble scores (Mozart Horn Concertos 
and other things) with a good organizational system.  You could search for 
Anderson and find them.

2) http://lsr.dsi.unimi.it/LSR/Item?id=359
and you could browse http://lsr.dsi.unimi.it/ searching for "score parts" 

3) What I do is:

Global items go in a variable like

  conductor_mvt_I = {
\commonConductor
\time 3/4
\tempo "Vivace"
\repeat volta 1 {
   s2.*12
   \bar "||"
   \mark\default
   s2.*8
} \alternative {
   s2.*8
} \alternative {
   s2.*1
   }

The "spacer rest model" using s.2*12 breaks multimeasure rests in parts 
only when there is an event like a rehearsal mark or a special barline in 
the 'conductor' part.

file: strings_mvt1.ily
Defines variables like
  conductor_mvt_I = { as above }
  violin_I_mvt_I = \relative c' { \key d\minor ... }

Each variable holds all the notes for the instrument in this 
movement/section/song.

If some marking belongs *only* on the part, it gets a \tag #part. If the 
tagged thing has a duration, arrange things so that filtering out the tag 
does not change the total duration of the violin part
  <<
\repeat unfold 6 c1:16
\tag#'part \repeat percent 6 s1
  >>

file: brass_mvt1.ily
  horns_mvt_I = \relative c' { \transposition f ... }

Similarly for the brass instruments.  I put the whole brass section in one 
file because then cut-and-paste between instruments is easier for me.

If two horns will share a music stand they share a variable definition.  
Periods of divisi use what is called "Temporary polyphonic passages" in the 
manual.  { c4 d e c <<{e f g }2 \\ {c4 d e g}>> }

When there is a motive that comes back, I have tried defining a variable 
like  motifA = \relative c' { c4 d e c }  
alongside the instrument parts that might use it, and then insert 
  \transpose c g \motif_A
into the part.   If you are not re-writing the motif, simply cut-and-paste 
will do.
(The \quoteDuring mechanism does not help you here; it was designed for a 
different goal, to go find what is happening *simultaneously* in another 
instrument.) 
  
file: score_mvt1.ly
  \include "header.ily"
  \include "strings_mvtI.ily"
  \score {
\killCues \keepWithTag #'score <<
 \new Devnull \conductor_mvt_I
 \new Staff \with { instrumentName = "Flute" } {
   \partcombine \flute_I_mvtI \flute_II_mvtI
 }
 \new Staff \with { instrumentName = "Horns in F" } {
   \horns_mvt_I
 } ...

> - Multiple parts per staff (e.g. four-part choral music on two
> staves): how to handle duplicate dynamics, phrasing, doubled rests and
> notes, etc?

LilyPond's attempted automatic part-combining needs help, so you go back 
to the *.ily files insert \partcombineApart and such where needed.  (These 
commands are new with version 2.14, implemented by Reinhold, so look them 
up in the new manual under \partcombine.)

Still, there might be doubled dynamics, for example.  I use an override to 
hide them in the second part ( like scoreDynamicsOff down below in this 
message).

(Lilypond's part-combiner is not smart enough to combine parts if one has 
divisi sections.  Usually, though, the parts combined on a staff do not 
themselves sub-divide into two.) 

And separate files, analogous to those above, for movement II, etc.
The file score_mvt1.ly would give just the first movement in a pdf.  For 
the parts you might want all movements in one .pdf, 
so...

file: horns.ly
  \include "header.ily"
  \include "strings_mvtI.ily"
  \include "brass_mvtI.ily"
  \include "strings_mvtII.ily"
  \include "brass_mvtII.ily"

  \addQuote "violin1" \keepWithTag#'quote \violinI_mvt_I

  \book {
\header { instrument = "first violin"}
\score {
  \keepWithTag#'part \new Staff <<
  \horns_mvt_I
}
\score {
  \keepWithTag#'part \new Staff <<
  \horns_mvt_II
}
  }

If you like you can add the other brass instruments in similar \book s and 
maybe call the file brass.ly.

file: header.ily
The overall header, anything that I want to define, and anything I can figure
out a way to share between files (like what is in commonConductor)

 \header { title = "" ... }
  commonConductor = {
#(set-accidental-style 'modern 'Score)
... }
  ub = -\tag #'part \upbow
  db = -\tag #'part \downbow
  mark_A_I = 34  % rehearsal mark A in movement one is measure 34,
   % so I can \barNumberCheck #mark_A_I
  scoreDynamicsOff =
\tag #'score {
  \override DynamicText #'stencil = #point-stencil
  \override Hairpin #'stencil = #point-stencil

All those files in one directory named for the piece of music. 


P.S., for quick-compiling parts while writing, you might create a 

Re: Best Practices for Multiple Part Scores

2011-07-07 Thread James Harkins
> Date: Thu, 7 Jul 2011 09:25:43 -0400
> From: "couch...@gmail.com" 
> Subject: Best Practices for Multiple Part Scores

I'm also relatively new to ly so I don't have detailed answers.

> I am specifically looking for advice on the following subjects:
> - Time, key, and tempo changes (and any other "global" markings)
> should clearly be specified in just one place.  Where is that, and how
> should it be incorporated to the music?  I've been trying to copy the
> "spacer rest" model, which seems to be the right idea, but that
> disrupts any multi-measure rests on the various parts.  Another
> possible strategy would give them to one "master" part and quote them
> elsewhere, perhaps?

No idea.

> - Multiple parts per staff (e.g. four-part choral music on two
> staves): how to handle duplicate dynamics, phrasing, doubled rests and
> notes, etc?

There are choral-staff examples in the notation reference, under "simultaneous 
notes" I think.

> - Short lived divisi - is there a better method than using < > on
> every note?  What about a passage with rhythmic differences?  Must
> this be separated into yet another part?

This is one area where I think lilypond beats finale, hands down. In finale, 
splitting into multiple voices can occur only at measure boundaries. If you 
have to split in the middle of the bar, then you have to hide some rests in one 
voice and change the rests' vertical position in the other voice, and probably 
change stem, tie and slur direction also. But it's trivial in lilypond.

\version "2.14.1"

\relative c'' {
  c4 d
  %% This "simultaneous passage" is in the middle of a bar.
  %% No hidden/spacer rests, no futzing with stems.
  %% Finale can't touch that!
  <<
{ \voiceOne e4 ^ \markup { \italic "div." } d }
\\
{ \voiceTwo c8 a b4 }
  >>
  c1 ^ \markup { \italic "unis." }
}

> - Phrases or passages played multiple times by the same or different
> parts: I'd like to abstract them out, but how do I incorporate them in
> the proper point in the part and octave, etc.?

Music variables.

aphrase = { ... blah blah ... }

Then you can use \aphrase anywhere inside a music expression to copy it 
exactly. There are also transposition commands that you can apply to the 
contents of the variable.

> What is amazing to me is that LIlyPond is capable of just about
> anything.  What is frustrating to me is that doing something that
> seems to be standard in music notation (such as writing multiple
> parts) takes so much manual effort and so many hacks to look good.

Maybe I haven't lived with it long enough to see the dark side, but it looks to 
me like ly requires fewer hacks and less fussing than finale. I don't know how 
much the latest version of finale has improved, but I recall that conflict 
resolution in multi-voice music in the last version of finale that I used 
(2009, I think) was pretty much disastrous.

By contrast: http://lsr.dsi.unimi.it/LSR/Item?id=480 -- there is only one short 
line of customization, and ly's result is far, far better than finale's 
un-tweaked output would be. (The only thing that looks funny to me is the 
placement of the dots in the upper part. But if I remember right, finale 
wouldn't even try to avoid collisions between stems and dots...)

James


--
James Harkins /// dewdrop world
jamshar...@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

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


Re: Best Practices for Multiple Part Scores

2011-07-07 Thread Ralph Palmer
A lot of this is beyond me, Andrew, but :

On Thu, Jul 7, 2011 at 9:25 AM, couch...@gmail.com wrote:

>
> - Short lived divisi - is there a better method than using < > on
> every note?  What about a passage with rhythmic differences?  Must
> this be separated into yet another part?
>

I've handled temporary divisi by using parallel music. <> is for chords.
Check out Notation Reference, 1.5.2 Multiple voices, Single-staff polyphony.


Ralph

-- 
Ralph Palmer
Montague City, MA
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Best Practices for Multiple Part Scores

2011-07-07 Thread Reinhold Kainhofer
Am Donnerstag, 7. Juli 2011, 15:25:43 schrieb couch...@gmail.com:
> I would like to set a large piece with multiple parts, with the option
> of producing single-part scores (e.g. an orchestral piece).  I have
> found that very quickly my source files get out of control.  What are
> the best practices I should be following to keep everything clean and
> D.R.Y.?

I would recommend my OrchestralLily package, which works great for this very 
purpose (e.g. I'm using it to easily produce scores like 
http://www.edition-
kainhofer.com/de/webshop.html?page=shop.product_details&product_id=161 )
but unfortunately, I haven't kept the documentation up to date. The thing 
closest to a proper documentation is my paper:
http://kainhofer.com/Papers/Kainhofer_OrchestralLily_LAC2010.pdf

I always find it really amazing how few adjustments I actually have to make to 
create good-looking scores (shifting a dynamic every now and then to the left 
of a note, or overriding the part-combiner).


> - File structure: one per part (makes sense to me) or one for the
> score and parts pulled out with tags (suggested by the manual)?  Other
> options?  How should I pull this all together?

 I'm using one definitions file that contains the music definitions for all 
instruments of the piece, several settings files, plus one file for each score 
(i.e. each instrument, the full score, the choral and vocal scores). That 
score file includes the definitions file and is typically very short.

Cheers,
Reinhold
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

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


Re: Best Practices for Multiple Part Scores

2011-07-07 Thread Gilles Sadowski
Hello.

> I'm sure this has been discussed before, but I've been having a heck
> of a time finding previous threads that go into any depth.  I see one
> from 2008 (revived in 2010) that references a part of the Learning
> Manual that seems to have moved from section 5 but doesn't really
> contain all that much information.
> 
> I would like to set a large piece with multiple parts, with the option
> of producing single-part scores (e.g. an orchestral piece).  I have
> found that very quickly my source files get out of control.  What are
> the best practices I should be following to keep everything clean and
> D.R.Y.?
> 
> I am specifically looking for advice on the following subjects:
> [...]

Several people have encoded extensive scores; there is a web site collecting
some of those works but I do not recall its address right now.

Personally, I have built my own set of template files, which I change
manually for each new encoding work.
This is certainly not as comprehensive or flexible as some of the
suggestions you'll get here, but I can send you my project files of a small
orchestral score, from which you could already extract an answer to several
of the points you mentioned.


Best regards,
Gilles

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


Re: Best Practices for Multiple Part Scores

2011-07-07 Thread Kieren MacMillan
Hello Andrew,

> What is frustrating to me is that doing something that
> seems to be standard in music notation (such as writing multiple
> parts) takes so much manual effort and so many hacks to look good.
> And there is much more documentation for strange things (like printing
> notes with colored heads, weird times and misaligned staves, etc.)
> than there is for the things you would actually expect a person to do.

I actually agree with this statement — and it's my #1 priority in terms of 
helping Lilypond in the future.

Unfortunately, I'm so swamped right now, I don't even have time to properly and 
fully answer your post, never mind contribute the kinds of things (proper docs, 
default spacing sets, etc.) that are required to improve the situation

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


Re: [Best Practices] instrument changes

2011-07-06 Thread Janek Warchoł
2011/7/3 Gilles Sadowski :
>
>> I don't write much music for transposing instruments, so i cannot give
>> any advice, but i have a question that may trigger a discussion: how
>> to prepare scores with transposing instruments so that they are
>> structurally correct? Consider this canon:
>>
>> common = {
>>   \key e \minor
>>   \time 4/4
>> }
>> melody = \relative c' {
>>   e4 d8 fis e4 b |
>>   e8 e fis fis g a16[ g] fis4 |
>>   b8 b a a g a16 g fis8 b, |
>>   e4 d8 fis e2
>> }
>> <<
>>   \new Staff = violin { \common \melody R1 }
>>   \new Staff = "clarinet in A" \transpose a c' { \common R1 \melody }
>> >>
>>
>> If i understand how transposing instruments should be notated, the
>> output is how it should look like from a performer's point of view.
>> However, it is structurally wrong: for example MIDI output will be
>> bad, because internally the two parts have differently pitched
>> melodies (while they should be pitched the same and only displayed
>> differently).
>> What is the correct way of doing this?
>
> Something along those lines:
>
> If the source contains notes in concert pitch:
> ---CUT---
>   \new Staff = "clarinet in A" {
>     \transposition a {
>       \transpose c a {
>         <<
>           \common
>           \melody
>         >>
>       }
>     }
>   }
> ---CUT---
>
> If the source contains notes written for the instrument in A:
> ---CUT---
>  \new Staff = "clarinet in A" {
>    \transposition a {
>      \transpose c a {
>        <<
>          \common
>          \transpose a c {
>            \melody
>          }
>        >>
>      }
>    }
>  }
> ---CUT---

Wow, looks complicated - but seems to do the job!
Perhaps it would be good to simplify this as a part of GLISS.

thanks,
Janek

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


Re: [Best Practices] instrument changes

2011-07-03 Thread Gilles Sadowski
Hi.

> >
> > I would love to put together a "Best Practices" example/snippet/document
> 
> Good idea!
> I don't write much music for transposing instruments, so i cannot give
> any advice, but i have a question that may trigger a discussion: how
> to prepare scores with transposing instruments so that they are
> structurally correct? Consider this canon:
> 
> common = {
>   \key e \minor
>   \time 4/4
> }
> melody = \relative c' {
>   e4 d8 fis e4 b |
>   e8 e fis fis g a16[ g] fis4 |
>   b8 b a a g a16 g fis8 b, |
>   e4 d8 fis e2
> }
> <<
>   \new Staff = violin { \common \melody R1 }
>   \new Staff = "clarinet in A" \transpose a c' { \common R1 \melody }
> >>
> 
> If i understand how transposing instruments should be notated, the
> output is how it should look like from a performer's point of view.
> However, it is structurally wrong: for example MIDI output will be
> bad, because internally the two parts have differently pitched
> melodies (while they should be pitched the same and only displayed
> differently).
> What is the correct way of doing this?

Something along those lines:

If the source contains notes in concert pitch:
---CUT---
   \new Staff = "clarinet in A" {
 \transposition a {
   \transpose c a {
 <<
   \common
   \melody
 >>
   }
 }
   }
---CUT---

If the source contains notes written for the instrument in A: 
---CUT---
  \new Staff = "clarinet in A" {
\transposition a {
  \transpose c a {
<<
  \common
  \transpose a c {
\melody
  }
>>
  }
}
  }
---CUT---

Best,
Gilles

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


Re: [Best Practices] instrument changes

2011-07-03 Thread Janek Warchoł
2011/6/28 Kieren MacMillan :
> Hello all,
>
> I would love to put together a "Best Practices" example/snippet/document

Good idea!
I don't write much music for transposing instruments, so i cannot give
any advice, but i have a question that may trigger a discussion: how
to prepare scores with transposing instruments so that they are
structurally correct? Consider this canon:

common = {
  \key e \minor
  \time 4/4
}
melody = \relative c' {
  e4 d8 fis e4 b |
  e8 e fis fis g a16[ g] fis4 |
  b8 b a a g a16 g fis8 b, |
  e4 d8 fis e2
}
<<
  \new Staff = violin { \common \melody R1 }
  \new Staff = "clarinet in A" \transpose a c' { \common R1 \melody }
>>

If i understand how transposing instruments should be notated, the
output is how it should look like from a performer's point of view.
However, it is structurally wrong: for example MIDI output will be
bad, because internally the two parts have differently pitched
melodies (while they should be pitched the same and only displayed
differently).
What is the correct way of doing this?

thanks,
Janek

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


RE: [Best Practices] instrument changes

2011-06-28 Thread James Lowe
Kieren,

From: Kieren MacMillan [kieren_macmil...@sympatico.ca]
Sent: 28 June 2011 16:39
To: James Lowe
Cc: Lilypond-User Mailing List
Subject: Re: [Best Practices] instrument changes

Q1: When you have a doubler-switch in the middle of a passage, do you use two 
different variables and combine them [sequentially] later, or do you have a 
single variable with \instrumentSwitch?

A1: Well I did look at that when I first started using LP in anger a year or so 
ago - I'd only been setting simple stuff before that for my own use - I looked 
at \instrumentSwitch and it looked, frankly, a bit over complicated for what I 
needed. 

I hadn't really thought about it again until your last response, I had in the 
past either used quotes or cue notes explicitly in the parts - I find it easier 
to create specific cue/quote parts within the same .ly file rather than 
cue/quote from a whole ly file (I know this sounds like double the work) but 
usually I am only cueing or quoting max of 10 measures so it's easier for me in 
the short run to handle the cue/quote in such a small fragment  - I just add 
R*[X] before the quote using bar numbers as my R*[X] reference (if that makes 
sense). 

Q2: Do you use \tag for things like clef differences (e.g., bass clarinet 
showing in treble clef in the part, but bass clef in the conductor's C score)? 
I'm trying to avoid \tag when possible -- since it mixes presentation in with 
my content -- but it seems unavoidable.  =(

A2: Not personally no. Again it is/seems a bit overly complicated for my needs. 
I just use cue/quote in the appropriate clef and with \cueClef commands. It 
will depend on the player but also on the conductor I guess.

I only work with one conductor and she is very good at transposing / 
transcribing on the fly - so it is always driven by the player's capability 
generally. 

I'm sure there are people reading this shaking their heads about how 
inefficient this probably is :) - all that duplication - but I am not usually 
writing my own full score from scratch but either copying a score for multiple 
parts and in this case the conductor will guide me - sometimes I will simply be 
asked to put in a second voice for a passage or two and I'll just use <<  /  >> 
and accidentals if I need to (i.e. if not in the same pitch) and add a \markup 
to indicate the instrument, or I resort to my cue/quote method. Or in the above 
case were I to get it (Bass clarinet in Treble part) and depending on the 
player I'd either use cues/quotes or see if the player could handle a bass in a 
treble clef part or vice versa (depending on the range of the notes). If not 
I'd just think about if the music variable needed no clef and to put the clef 
in the \score { } as well.

But that is the flexibility of LilyPond.

James


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


Re: [Best Practices] instrument changes

2011-06-28 Thread Kieren MacMillan
Hi James,

Thanks for chiming in! Very helpful.

> 1. Always use music variables and THEN transpose them in the \score, rather 
> than transpose them in the variable (if that makes sense?)

Definitely. This, I think, is Best Practice #1. In fact, "put the notes in 
variables and [try to] do everything else in the score" might be the single 
rule of thumb that I try to live by.

Q: When you have a doubler-switch in the middle of a passage, do you use two 
different variables and combine them [sequentially] later, or do you have a 
single variable with \instrumentSwitch?

> 2. Try to keep the fancy \tweaks and \h-aligns to a minimum [...]
> Keep as many overrides in the \layout { } part of the \score { } as you can 
> as that  makes it much easier (for me anyway) to keep my actual music 'clean' 
> for reviewing in the .ly file.

Also fabulous advice… although I try to keep to that in *ALL* scores, not just 
the extra-problematic doubler scores.

> 3. Make lots of %comments as you go :) this is mainly for #2 above.

Good point.

Q: Do you use \tag for things like clef differences (e.g., bass clarinet 
showing in treble clef in the part, but bass clef in the conductor's C score)? 
I'm trying to avoid \tag when possible -- since it mixes presentation in with 
my content -- but it seems unavoidable.  =(

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


RE: [Best Practices] instrument changes

2011-06-28 Thread James Lowe
Kieren,

From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Kieren 
MacMillan [kieren_macmil...@sympatico.ca]
Sent: 28 June 2011 15:15
To: Lilypond-User Mailing List
Subject: [Best Practices] instrument changes

Hello all,

I write a lot of music for "doublers", i.e., instrumentalists who play more 
than one instrument. Often (e.g., clarinet), these instruments have different 
transpositions. Furthermore, I usually need to print parts (in "performance 
pitch") and scores (both "transposed" and "c" scores).

I would love to put together a "Best Practices" example/snippet/document, but I 
want to make sure they *are* "best practices": a lot of what I do now would be 
better described as "crisis-mode hacking", in order to get the score ready in 
time for the performance.  :)

Has anyone else dealt with significant instrument changes (e.g., winds in an 
opera), and would like to share your process?
Together, perhaps we can put together a truly useful Best Practices doc.

--

I do this a lot (mainly because most of the music I get is for Clarinet or 
Trumpet in A when we only have b-flat players, also I am often asked to put a 
lot of bass-clef stuff in tenor clef for one of my bassoonists who finds it 
easier in some scores to read a single clef than have to jump about during a 
complicated passage - even though I baulk at the number of ledger lines that 
that can result in, how they and flautists cope with more than 3 ledger lines 
is beyond me! ...but anyway I apologise if most of these are stating the 
obvious.

A few rules I use

1. Always use music variables and THEN transpose them in the \score, rather 
than transpose them in the variable (if that makes sense?) - that is for me I 
literally 'use the source' (i.e. the score) and write out the music in the same 
pitch as the score (sometimes it is just the single music part). If I have to 
transpose a part where I have saxophones doubling up for clarinets, but I still 
need a clarinet part I can then simply use the variable twice in the same 
\score but add a \transpose on one of the instances.

2. Try to keep the fancy \tweaks and \h-aligns to a minimum, my point on that 
is once you have placed your dynamic ff just so and made your rehearsal marks 
sit not-so-high above that slur or beam, and then you transpose the \tweak, 
\override will now look stupid in most cases. That is a hard one to pull off 
sometimes, so I have to weigh up if it is worth it and if LP is 'good enough', 
but don't bother to worry about those things until the last. Keep as many 
overrides in the \layout { } part of the \score { } as you can as that  makes 
it much easier (for me anyway) to keep my actual music 'clean' for reviewing in 
the .ly file. Sometimes it is too convenient to stick an override in place in 
the variable and that causes problems when you use it in a \transposed part in 
a different .ly file (as an include for instance).

3. Make lots of %comments as you go :) this is mainly for #2 above. While 
writing out my score I use a \transpose c c { music } construct and then flip 
it as needed (i.e. \transpose bes c { music } ) as this gives me a bit of a way 
to 'take a quick look' as I go to see if anything is likely to be pushed too 
far on the staff (do I need to consider an ottava? is that \markup going to 
look stupid and should it be put over the staff instead? However I still stick 
to #2 and make comments as I go in the file, then I know when I am done what I 
need to go back and check or tweak.

As I say, nothing earth shattering but it works for me.

James




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


Re: best practices

2010-09-22 Thread aliteralmind
For what it's worth, my misunderstanding--beyond the "um"--had nothing to do 
with
abbreviations. It was only in expecting to see the words "best practices" in the
documentation, as it was the original post's subject.


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


Re: best practices

2010-09-20 Thread Dmytro O. Redchuk
On Mon 20 Sep 2010, 10:08 David Kastrup wrote:
> Anyway, if we have a sender knowing abbreviations, and a receiver _not_
> knowing them, they are not as much convenient for communication as for
> establishing superiority.
That was not about a (polite and convenient for all) way to answer emails in
this list -- only about that abbreviations are convenient (if not, they would
not appear in dictionaries at all).

I would say that abbreviations in this list appear far more often then
"inconveniences" in communication; that's why i would think about how to make
abbreviations clear.

ps. "Inconveniences" are far more important, i agree;
let's not to waste bytes "discussing" this .)

pps. Anyway, _any_ criticism must be attempting to be be constructive;
that's why i would think about how to make abbreviations clear.

ppps. [O:= Nothing more. Not to flame =:O]

-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

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


Re: best practices

2010-09-20 Thread David Kastrup
"Dmytro O. Redchuk"  writes:

> On Sun 19 Sep 2010, 21:36 David Kastrup wrote:
>> It is agreed-upon best practice _not_ to use those abbreviations on the
>> general user list.
> Regarding abbreviations -- they're convenient, anyway.

If I have been able to look far, it is because I have been stepping on
the toes of giants.

Anyway, if we have a sender knowing abbreviations, and a receiver _not_
knowing them, they are not as much convenient for communication as for
establishing superiority.

-- 
David Kastrup

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


Re: best practices

2010-09-20 Thread Dmytro O. Redchuk
On Sun 19 Sep 2010, 21:36 David Kastrup wrote:
> It is agreed-upon best practice _not_ to use those abbreviations on the
> general user list.
Regarding abbreviations -- they're convenient, anyway.


-- 
  Dmytro O. Redchuk
  Bug Squad

  Be careful! These are some commonly used abbreviations:
   • LM -- Learning Manual
   • NR -- Notation Reference
   • IR -- Internal Reference

  Look at LilyPond’s documentation to find more.

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


Re: best practices

2010-09-19 Thread David Kastrup
Graham Percival  writes:

> On Sun, Sep 19, 2010 at 10:07:28PM +0200, Martin Tarenskeen wrote:
>> 
>> I agree, but: Since many people use these abbreviations, Would it be
>> an an idea to mention those abreviations on manuals.html and in the
>> titles at the top of the manuals. something like:
>> 
>>  LilyPond - Notation Reference (NR)
>> 
>> Just an idea to make more people happy.
>
> We tried that briefly in the first half of 2008, but the (NR)
> stuff wasn't visible enough, and we still had questions.

Well, some help is better than none.  Unless it prompts more "why didn't
you look at?" remarks.

-- 
David Kastrup

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


Re: best practices

2010-09-19 Thread Graham Percival
On Sun, Sep 19, 2010 at 10:07:28PM +0200, Martin Tarenskeen wrote:
> 
> On Sun, 19 Sep 2010, David Kastrup wrote:
> 
> >It is agreed-upon best practice _not_ to use those abbreviations on the
> >general user list.
> 
> I agree, but: Since many people use these abbreviations, Would it be
> an an idea to mention those abreviations on manuals.html and in the
> titles at the top of the manuals. something like:
> 
>   LilyPond - Notation Reference (NR)
> 
> Just an idea to make more people happy.

We tried that briefly in the first half of 2008, but the (NR)
stuff wasn't visible enough, and we still had questions.  I think
the best solution is just to remind people not to do this.

Users replying to emails from 2-4 years ago will still encounter
these cryptic abbreviations, but this happens fairly rarely.  As
long as we try to avoid words like "Um." or "err." or "erm" or
"eto" (in Japanese) when clarifying those old emails, I think
we'll be ok.

Cheers,
- Graham

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


Re: best practices

2010-09-19 Thread Phil Holmes
- Original Message - 
From: "David Kastrup" 

To: 
Sent: Sunday, September 19, 2010 8:36 PM
Subject: Re: best practices



"Phil Holmes"  writes:


I'm generally normally quite helpful (or try to be).  It was just that
Graham had given you all the information you needed - you just needed
to read it and spend a little while wondering what LM could stand for.


It is agreed-upon best practice _not_ to use those abbreviations on the
general user list.

Because it is disingenuous to play guessing games with unsuspecting
beginning users.

Personally, I consider it also a turnoff on the developer list, but at
least on this list, we agreed on not using unexplained abbreviations.

It was likely an oversight in Graham's initial posting (he probably,
judging from the replies, is not even aware that "LM" is not
self-explanatory on _this_ list, or that he used it here), but then
everybody and his dog jumps in barking at the newcomer who did not
understand Graham's absolutely cryptic remark (imagine not being into
lilypond-devel slang and try reading any sense into it), giving him the
full "unpaid volunteers, scurvy dog" treatment.

Get real.


Can I just say that I'm quite impressed that I can start such a vibrant 
thread as such a newbie and with so few characters in my reply...


--
Phil Holmes



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


Re: best practices

2010-09-19 Thread Martin Tarenskeen



On Sun, 19 Sep 2010, David Kastrup wrote:


"Phil Holmes"  writes:


Graham had given you all the information you needed - you just needed
to read it and spend a little while wondering what LM could stand for.


It is agreed-upon best practice _not_ to use those abbreviations on the
general user list.


I agree, but: Since many people use these abbreviations, Would it be an an 
idea to mention those abreviations on manuals.html and in the titles at 
the top of the manuals. something like:


LilyPond - Notation Reference (NR)

Just an idea to make more people happy.

--

Martin Tarenskeen


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


Re: best practices

2010-09-19 Thread Graham Percival
On Sun, Sep 19, 2010 at 09:36:21PM +0200, David Kastrup wrote:
> "Phil Holmes"  writes:
> 
> > I'm generally normally quite helpful (or try to be).  It was just that
> > Graham had given you all the information you needed - you just needed
> > to read it and spend a little while wondering what LM could stand for.
> 
> It is agreed-upon best practice _not_ to use those abbreviations on the
> general user list.

Yes.

However, I must clarify that the email in which I said "They're LM
5 Working on LilyPond projects" was written in June 2008.  Over
TWO YEARS ago!
http://lists.gnu.org/archive/html/lilypond-user/2008-06/msg00588.html

This was:
- before that material was moved into Usage in 2.13
- before 2.13 even existed -- this was during the 2.11 period!
- before we agreed not to use LM abbreviations.

> Because it is disingenuous to play guessing games with unsuspecting
> beginning users.

Agreed.  This was part of the motivation for the redesigned
website.  Users now see "Learning" in a number of places,
including the navigation bars.

> but then
> everybody and his dog jumps in barking at the newcomer who did not
> understand Graham's absolutely cryptic remark (imagine not being into
> lilypond-devel slang and try reading any sense into it), giving him the
> full "unpaid volunteers, scurvy dog" treatment.

- user replies to a 26-month-old email
- Phil Holmes clarifies it:
  "Um.  Learning Manual 5.  Entitled "Working on LilyPond
projects".
http://lists.gnu.org/archive/html/lilypond-user/2010-09/msg00471.html
- user says "I don't appreciate the condescending response.  This
  is my first experience feeling UNwelcome as a LilyPond newbie."
http://lists.gnu.org/archive/html/lilypond-user/2010-09/msg00473.html
- I get pissed off because Phil was being completely helpful, and
  I'm supposed to be the newbie-bashing guy.

Was my reaction overblown?  Perhaps.  But was Phil's "Um." really
all that condescending?  Does three letters (well, two letters and
a punctuation) really imply a "UNwelcome" feeling?

Get real.

- Graham

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


Re: best practices

2010-09-19 Thread David Kastrup
"Phil Holmes"  writes:

> I'm generally normally quite helpful (or try to be).  It was just that
> Graham had given you all the information you needed - you just needed
> to read it and spend a little while wondering what LM could stand for.

It is agreed-upon best practice _not_ to use those abbreviations on the
general user list.

Because it is disingenuous to play guessing games with unsuspecting
beginning users.

Personally, I consider it also a turnoff on the developer list, but at
least on this list, we agreed on not using unexplained abbreviations.

It was likely an oversight in Graham's initial posting (he probably,
judging from the replies, is not even aware that "LM" is not
self-explanatory on _this_ list, or that he used it here), but then
everybody and his dog jumps in barking at the newcomer who did not
understand Graham's absolutely cryptic remark (imagine not being into
lilypond-devel slang and try reading any sense into it), giving him the
full "unpaid volunteers, scurvy dog" treatment.

Get real.

-- 
David Kastrup


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


Re: best practices

2010-09-19 Thread Jeff Epstein
> >>> Phil Holmes  philholmes.net> writes:
> And anyway, I only said "Um" 

It was an angry Um!  :)


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


Re: best practices

2010-09-19 Thread Phil Holmes
- Original Message - 
From: "Trevor Daniels" 
To: "Graham Percival" ; "aliteralmind" 


Cc: 
Sent: Sunday, September 19, 2010 6:20 PM
Subject: Re: best practices




Graham Percival wrote Sunday, September 19, 2010 5:22 PM


On Sun, Sep 19, 2010 at 5:09 PM, aliteralmind
 wrote:

Phil Holmes  philholmes.net> writes:

> Where exactly are they, please?

Um. Learning Manual 5. Entitled "Working on LilyPond

projects".

I read the learning manual. I didn't find the words "best
practices" in it, and thought there was something else I
was missing.


My response was "They're LM 5 Working on LilyPond project". Granted,
I missed the word "in", but why would you expect to find the word
"best practices"?


Perhaps aliteralmind is reading the 2.13 docs.  In
those there is no section 5 in the Learning Manual.
You moved it to Application Usage, remember?  I
think you also changed the section name, I think
to "Suggestions for writing files".

Perhaps you and Phil replied too hastily to a newcomer.



See my other post to him, but I think from his follow-up we can assume he 
was reading 2.12.  He said he'd already read the passage cited, but hadn't 
associated it explicitly with a "best practice" guide.  And anyway, I only 
said "Um" :-)


--
Phil Holmes



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


Re: best practices

2010-09-19 Thread Trevor Daniels


Graham Percival wrote Sunday, September 19, 2010 5:22 PM


On Sun, Sep 19, 2010 at 5:09 PM, aliteralmind
 wrote:

Phil Holmes  philholmes.net> writes:

> Where exactly are they, please?

Um. Learning Manual 5. Entitled "Working on LilyPond

projects".

I read the learning manual. I didn't find the words "best
practices" in it, and thought there was something else I
was missing.


My response was "They're LM 5 Working on LilyPond project". 
Granted,

I missed the word "in", but why would you expect to find the word
"best practices"?


Perhaps aliteralmind is reading the 2.13 docs.  In
those there is no section 5 in the Learning Manual.
You moved it to Application Usage, remember?  I
think you also changed the section name, I think
to "Suggestions for writing files".

Perhaps you and Phil replied too hastily to a newcomer.

Trevor




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


Re: best practices

2010-09-19 Thread Phil Holmes
- Original Message - 
From: "aliteralmind" 

To: 
Sent: Sunday, September 19, 2010 5:34 PM
Subject: Re: best practices



Ok. I give I give.

I have been studying the documentation intensely and
thought there was something I missed. I already read it.

It was a genuine question and I was surprised by the
response.

Devs don't want to be pin pricked, and newbies don't
want to be fearful.

I appreciate and am amazed by all your work.



I'm generally normally quite helpful (or try to be).  It was just that 
Graham had given you all the information you needed - you just needed to 
read it and spend a little while wondering what LM could stand for.


As he said - it was a good job I got there before him! :-)

--
Phil Holmes



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


Re: best practices

2010-09-19 Thread aliteralmind
Ok. I give I give.

I have been studying the documentation intensely and 
thought there was something I missed. I already read it.

It was a genuine question and I was surprised by the 
response.

Devs don't want to be pin pricked, and newbies don't 
want to be fearful.

I appreciate and am amazed by all your work.


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


Re: best practices

2010-09-19 Thread Graham Percival
On Sun, Sep 19, 2010 at 5:09 PM, aliteralmind
 wrote:
> Phil Holmes  philholmes.net> writes:
>> > Where exactly are they, please?
>>
>> Um.  Learning Manual 5.  Entitled "Working on LilyPond
> projects".
>
> I read the learning manual. I didn't find the words "best
> practices" in it, and thought there was something else I
> was missing.

My response was "They're LM 5 Working on LilyPond project".  Granted,
I missed the word "in", but why would you expect to find the word
"best practices"?


> I don't appreciate the condescending response.

We don't appreciated condescending responses either, but we volunteer
hours each week to improve the documentation, bug handling, and reply
to condescending users who want to be hand-fed.

> This is my first experience feeling UNwelcome as a
> LilyPond newbie.

Ironically, Phil was replying to you so that *I* wouldn't reply; I'm
well-known for being condescending to users who complain about silly
things and make the devel team feel bad.  I think that anything which
makes volunteers less likely to work on lilypond should be
discouraged.

- Graham

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


Re: best practices

2010-09-19 Thread James Bailey

On Sep 19, 2010, at 6:09 PM, aliteralmind wrote:

> Phil Holmes  philholmes.net> writes:
>>> Where exactly are they, please?
>> 
>> Um.  Learning Manual 5.  Entitled "Working on LilyPond 
> projects".
> 
> I read the learning manual. I didn't find the words "best 
> practices" in it, and thought there was something else I 
> was missing.
> 
> I don't appreciate the condescending response.

So, because the words "best practices" aren't there, you didn't understand the 
section "working on lilypond projects" to be a set of best practices for how to 
organize your lilypond projects?

What did you understand that section of the learning manual to be?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: best practices

2010-09-19 Thread aliteralmind
Phil Holmes  philholmes.net> writes:
> > Where exactly are they, please?
> 
> Um.  Learning Manual 5.  Entitled "Working on LilyPond 
projects".

I read the learning manual. I didn't find the words "best 
practices" in it, and thought there was something else I 
was missing.

I don't appreciate the condescending response.

This is my first experience feeling UNwelcome as a 
LilyPond newbie.



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


Re: best practices

2010-09-19 Thread Phil Holmes
- Original Message - 
From: "aliteralmind" 

To: 
Sent: Sunday, September 19, 2010 4:01 PM
Subject: Re: best practices


Graham Percival  gmail.com> 
We *have* a set of "best practices".  They're LM 5 

Working on
LilyPond projects.  I wrote them two years ago, and 

AFAIK nobody

has ever read them.


Where exactly are they, please?


Um.  Learning Manual 5.  Entitled "Working on LilyPond projects".

--
Phil Holmes



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


Re: best practices

2010-09-19 Thread aliteralmind
Graham Percival  gmail.com> 
> We *have* a set of "best practices".  They're LM 5 
Working on
> LilyPond projects.  I wrote them two years ago, and 
AFAIK nobody
> has ever read them.

Where exactly are they, please?


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


Re: Best practices for book output?

2010-09-05 Thread David Raleigh Arnold
On Wednesday 01 September 2010 00:03:33 Christopher Meredith wrote:
> I may be in over my head. What I am trying to do is produce a hymnal.
> After much experimentation, I have settled upon a layout I like that
> I am using on a per-hymn basis. I have abstracted these portions of
> my input files and created header.ly and footer.ly. For each
> individual hymn, I then use \include to incorporate the header and
> footer so I have a consistent layout which can be globally updated
> as needed.
> 
> Eventually, I want to compile these into a book. I have experimented
> with lilypond-book but so far am completely lost.

I haven't used lilypond-book lately and I'm not a LaTeX guru but
I feel your pain. ;-(

There isn't much to lilypond-book really. It's a way of including
your music into a LaTeX file, which can produce a hymnal. When I
did this:

http://www.openguitar.com/files/tengtr.pdf

Much of the music consisted in one or two lines so I used
lilypond-book and LaTeX. That's the kind of thing that LaTeX
does decently. Latex takes over spacing between systems
when using lilypond-book. You can see why that was good for
my document and perhaps not so hot for yours. 

You probably want one hymn on each one or two pages. That's
different.

With the necessary LaTeX page breaks you could make the titles
and headers with Latex at the top of each page and include as a
lilypond file only the notation and possibly footers. That way
there would be no problem persuading Latex to make your TOC and
index, title page, preface, afterword, appendix, &c.

Don't even think of putting lilypond code into your latex file.
Your project is too big for that. Make sure each hymn compiles
before including it as a file of whatever type.

If that doesn't work out, it might be better to include whole
finished pdfs or image files rather than lilypond code or files,
as you suggested. Either way, make it easy ;-) on yourself and
do the headers with latex.
Regards, daveA

-- 
For beginners: very easy guitar music, solos, duets, exercises. Early
intermediate guitar solos. One best scale set for all guitarists.
http://www.openguitar.com/scalescomparison.html ::: plus new and
better chord and arpeggio exercises.  http://www.openguitar.com 

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


Re: best practices

2008-06-29 Thread Kieren MacMillan

Hi Ian,

I really appreciate the spirit of the challenge, but can you  
correct it as the alto flute's in G?


Oops! I've been going back and forth in both directions (\transpose  
and \transposition) so much, I lost track!  =\

Thanks for catching that...

Best,
Kieren.

%
\version "2.11.49"
\include "english.ly"
#(set-global-staff-size 14)
\layout { \context { \Score printKeyCancellation =#f } }

global {
\time 4/4\key c \major s1*2 \bar "||"
\key c \minor s1*2 \bar "||"
\key d \major s1*4 \bar "||"
}

flute =relative
{
c'4^\markup { flute (in C) } d e f | g1 | c,4 d ef f |
g1^\markup { alto flute (in G) } | d4 e fs g | a1 |
d,4^\markup { piccolo (in C') } e fs g | a1
}

\markup { C SCORE/PART }
\score { \new Staff =fl" << \global \flute >> }

\markup { TRANSPOSED SCORE/PART }
\score { \new Staff =fl" << \global \flute >> }

\markup { TRANSPOSED SCORE/PART SHOULD MATCH THE FOLLOWING: }
\score
{
\relative
{
\time 4/4 \key c \major c'4^\markup { flute (in C) } d e f |  
g1 \bar "||" \key c \minor c,4 d ef f |
\key f \minor c'1^\markup { alto flute (in G) } \bar "||"  
\key g \major g4 a b c | d1 |
\key d \major d,,4^\markup { piccolo (in C') } e fs g | a1  
\bar "|."

}
}
%%


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


Re: Re: best practices

2008-06-29 Thread Ian Hulin

Hi Kieran,

I really appreciate the spirit of the challenge, but can you correct it 
as the alto flute's in G?


I think only the lines with the text markup saying (in F) need changes, 
but can you repost the entire thing in case there's something I missed?


Cheers,

Ian



Kieren MacMillan wrote:

Hello all,

For anyone who is interested in putting their 2¢ in on this discussion...

Here is a simple instrument-doubling-with-key-signature-changes 
challenge:


%
\version "2.11.49"
\include "english.ly"
#(set-global-staff-size 14)
\layout { \context { \Score printKeyCancellation =#f } }

global {
\time 4/4\key c \major s1*2 \bar "||"
\key c \minor s1*2 \bar "||"
\key d \major s1*4 \bar "||"
}

flute =relative
{
c'4^\markup { flute (in C) } d e f | g1 | c,4 d ef f |
g1^\markup { alto flute (in F) } | d4 e fs g | a1 |
d,4^\markup { piccolo (in C') } e fs g | a1
}

\markup { C SCORE/PART }
\score { \new Staff =fl" << \global \flute >> }

\markup { TRANSPOSED SCORE/PART }
\score { \new Staff =fl" << \global \flute >> }

\markup { TRANSPOSED SCORE/PART SHOULD MATCH THE FOLLOWING: }
\score
{
\relative
{
\time 4/4 \key c \major c'4^\markup { flute (in C) } d e f | 
g1 \bar "||" \key c \minor c,4 d ef f |
\key f \minor c'1^\markup { alto flute (in F) } \bar "||" \key 
g \major g4 a b c | d1 |
\key d \major d,,4^\markup { piccolo (in C') } e fs g | a1 
\bar "|."

}
}
%%

The goal is to make this (i.e., the transposed score/part) happen with:
1. a minimum of additional code;
2. a minimum of structural changes (e.g., if possible, we want to 
keep the key changes in a single variable, not break up the flute 
music variable, etc.);

3. a maximum of code reusability.

In other words, something that can easily be put in a template for the 
average Lilypond user.


Good luck!
Kieren.

p.s. For the record, I haven't been able to find a way to use \tag and 
\transpose together to solve the problem -- it always requires code 
duplication or restructuring -- but my intuition currently says that's 
the best approach...







__   This email has 
been scanned by Netintelligence   
http://www.netintelligence.com/email






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


Re: best practices

2008-06-29 Thread Kieren MacMillan

Hello all,

For anyone who is interested in putting their 2¢ in on this  
discussion...


Here is a simple instrument-doubling-with-key-signature-changes  
challenge:


%
\version "2.11.49"
\include "english.ly"
#(set-global-staff-size 14)
\layout { \context { \Score printKeyCancellation = ##f } }

global =
{
\time 4/4   \key c \major s1*2 \bar "||"
\key c \minor s1*2 \bar "||"
\key d \major s1*4 \bar "||"
}

flute = \relative
{
c'4^\markup { flute (in C) } d e f | g1 | c,4 d ef f |
g1^\markup { alto flute (in F) } | d4 e fs g | a1 |
d,4^\markup { piccolo (in C') } e fs g | a1
}

\markup { C SCORE/PART }
\score { \new Staff = "fl" << \global \flute >> }

\markup { TRANSPOSED SCORE/PART }
\score { \new Staff = "fl" << \global \flute >> }

\markup { TRANSPOSED SCORE/PART SHOULD MATCH THE FOLLOWING: }
\score
{
\relative
{
		\time 4/4 \key c \major c'4^\markup { flute (in C) } d e f | g1  
\bar "||" \key c \minor c,4 d ef f |
		\key f \minor c'1^\markup { alto flute (in F) } \bar "||" \key g  
\major g4 a b c | d1 |

\key d \major d,,4^\markup { piccolo (in C') } e fs g | a1 \bar 
"|."
}
}
%%

The goal is to make this (i.e., the transposed score/part) happen with:
1. a minimum of additional code;
2. a minimum of structural changes (e.g., if possible, we want  
to keep the key changes in a single variable, not break up the flute  
music variable, etc.);

3. a maximum of code reusability.

In other words, something that can easily be put in a template for  
the average Lilypond user.


Good luck!
Kieren.

p.s. For the record, I haven't been able to find a way to use \tag  
and \transpose together to solve the problem -- it always requires  
code duplication or restructuring -- but my intuition currently says  
that's the best approach...




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


Re: best practices

2008-06-28 Thread Kieren MacMillan

Hi Valentin,


Not only have I read them too


There you go, Graham: at least two people have read your "best  
practices" docs!  ;-)


I don't think the docs are incomplete, I think *we* are, as  
LilyPond coders.
I'm afraid all of us are actually making history right here, right  
now.


Translation:
The documentation needs to be MORE COMPLETE than it is now, based on  
the trails WE are blazing with our "unprecedented" scores.


There is no reason that any Lilyponder -- especially a newbie --  
should have to reinvent the wheel on something as common (in Western  
chamber and orchestral music) as instrument doublings. For the  
record, I'm happy to write the final documentation... but I still  
feel that the discussion thread should stay open for a while, to make  
sure all options have been considered and the best practice(s) have  
really been identified.



I think we need to confront our practices, our trial-and-error
practices etc. to get a better point of view on this.


Agreed... which is precisely why I've been posting these  
discussions!  =)


Cheers,
Kieren.


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


Re: best practices

2008-06-28 Thread Valentin Villenave
2008/6/29 Kieren MacMillan <[EMAIL PROTECTED]>:

>> We *have* a set of "best practices".
>> They're LM 5 Working on LilyPond projects.
>> I wrote them two years ago, and AFAIK nobody has ever read them.

Not only have I read them too, but I think I translated them (or
contributed to the translation). A very good piece of documentation, I
might add.

> For a simple score (which has no key changes and no instrument switches), I
> suppose the section is sufficient.
> Sadly, it doesn't solve the myriad other issues that actually arise when
> writing/coding real multi-instrumentalist music, so it's not as helpful as
> it should be.

Kieren, I don't think the docs are incomplete, I think *we* are, as
LilyPond coders. I'm afraid all of us are actually making history
right here, right now. When Nicolas started copying his huge
18th-century scores it was absolutely unprecedented; your scores are
unprecedented, so is my opera, so are every score that Trevor
writes... I think we need to confront our practices, our
trial-and-error practices etc. to get a better point of view on this.

Cheers,
Valentin


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


Re: best practices

2008-06-28 Thread Kieren MacMillan

Graham,


We *have* a set of "best practices".
They're LM 5 Working on LilyPond projects.


Unless I'm missing something, there is no "best practice" on how to  
(e.g.) efficiently handle instrument switching. There are, of course,  
several references to the concept widely scattered throughout the  
documentation, and a few tips/snippets here and there on *some* of  
the techniques required (e.g., \transpose).


But what I'm talking about is a REAL-WORLD, BEST-PRACTICE example/ 
tutorial -- can you point me to that part of the documentation, please?



I wrote them two years ago, and AFAIK nobody has ever read them.


Actually, I read them several times several years ago -- when I was  
engraving "Drunken Moon" -- and have referred to them several times  
since. For a simple score (which has no key changes and no instrument  
switches), I suppose the section is sufficient.


Sadly, it doesn't solve the myriad other issues that actually arise  
when writing/coding real multi-instrumentalist music, so it's not as  
helpful as it should be.



We welcome more suggestions for this section, of course.


Okay: I suggest you include a section which shows how to code a score  
consisting of multiple key signature changes, with multiple  
instrumentalists each of whom switch between two (or more)  
instruments of different transpositions, and demonstrate how both  
transposed and non-transposed full scores and parts can be compiled  
with a minimum of effort and extraneous code, while still conforming  
to the "best practices" laid out in other sections of the  
documentation (e.g., use of \global variables, etc.)


For the record, I don't think it would be very useful just to put non- 
peer-reviewed ideas up there, and hope not to lead Lilypond coders  
astray -- once we, as a community/list, have actually settled on some  
(truly) best practices, I'll be happy to write them up and submit  
them for the docs.


Cheers,
Kieren.


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