Re: Problem with partcombine and shape notes

2016-12-31 Thread Bumby Hymnal
On Sat, Dec 31, 2016 at 4:57 AM, Malte Meyn  wrote:

>
> \aikenHeads is a shorthand for \set shapeNoteStyles = ##(do re miMirror fa
> sol la ti) which affects only the current Voice context. \partcombine uses
> sometimes one and sometimes two voices so it’s not always the same Voice
> context. This means that only the notes that have the same voice assignment
> as the first notes are in the same Voice context(s).
>
> This is not an \aikenHeads problem but all Voice-only \overrides and \sets
> show the same behaviour, so here’s some other examples and a solution:
>
>
Thank you for your thorough response.  That worked great - and I now have a
better understanding of how things work.

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


Re: Problem with partcombine and shape notes

2016-12-31 Thread Malte Meyn

Am 31.12.2016 um 11:55 schrieb Phil Holmes:

I think it's documented in
http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#automatic-part-combining


You’re right. (I didn’t notice that my browser chose the german 
translation which hasn’t included this change yet.) However it would be 
nice to have it in the Changes.html too.


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


Re: Problem with partcombine and shape notes

2016-12-31 Thread Phil Holmes
I think it's documented in 
http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices#automatic-part-combining


--
Phil Holmes


- Original Message - 
From: "Malte Meyn" <lilyp...@maltemeyn.de>

To: <lilypond-user@gnu.org>
Sent: Saturday, December 31, 2016 10:04 AM
Subject: Re: Problem with partcombine and shape notes




Am 31.12.2016 um 10:57 schrieb Malte Meyn:

By the way: what’s this optional \partcombine argument introduced in
2.19? I haven’t found any documentation.


Found it. It’s an two year old addition that has been documented only in
appendix A.18 of the NR (which seems to be generated directly from the
code). IMO this should be documented in section 1.5.2 of the NR and in
the Changes as well.

___
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: Problem with partcombine and shape notes

2016-12-31 Thread Malte Meyn



Am 31.12.2016 um 10:57 schrieb Malte Meyn:

By the way: what’s this optional \partcombine argument introduced in
2.19? I haven’t found any documentation.


Found it. It’s an two year old addition that has been documented only in 
appendix A.18 of the NR (which seems to be generated directly from the 
code). IMO this should be documented in section 1.5.2 of the NR and in 
the Changes as well.


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


Re: Problem with partcombine and shape notes

2016-12-31 Thread Malte Meyn



Am 30.12.2016 um 07:27 schrieb Bumby Hymnal:

I've run into a problem with using \partcombine while using
\aikenHeads.  The problem is that under certain circumstances the aiken
shape note heads are not used in the output of \partcombine.  The
strange thing is that it sometimes works.


\aikenHeads is a shorthand for \set shapeNoteStyles = ##(do re miMirror 
fa sol la ti) which affects only the current Voice context. \partcombine 
uses sometimes one and sometimes two voices so it’s not always the same 
Voice context. This means that only the notes that have the same voice 
assignment as the first notes are in the same Voice context(s).


This is not an \aikenHeads problem but all Voice-only \overrides and 
\sets show the same behaviour, so here’s some other examples and a solution:


%%% BEGIN

\version "2.19.49"

\markup "original problem, two short examples"

\partcombine #'(2 . 12)
{ \aikenHeads c' d' e' f' }
{ \aikenHeads a  d' c' f' }
\partcombine #'(2 . 12)
{ \aikenHeads f' e' d' c' }
{ \aikenHeads f' c' d' a  }

\markup "not an \aikenHead problem but a “Voice-only \set or \override” 
problem"


\partcombine #'(2 . 12)
{ \override NoteHead.color = #blue c' d' e' f' }
{ \override NoteHead.color = #blue a  d' c' f' }
\partcombine #'(2 . 12)
{ \override NoteHead.color = #blue f' e' d' c' }
{ \override NoteHead.color = #blue f' c' d' a  }

\markup "\overrides on Staff level"

\partcombine #'(2 . 12)
{ \override Staff.NoteHead.color = #blue c' d' e' f' }
{ \override Staff.NoteHead.color = #blue a  d' c' f' }
\partcombine #'(2 . 12)
{ \override Staff.NoteHead.color = #blue f' e' d' c' }
{ \override Staff.NoteHead.color = #blue f' c' d' a  }

\markup "solution: add “Staff.” to the definition of \aikenHeads (from 
property-init.ly)"


staffAikenHeads = \set Staff.shapeNoteStyles = ##(do re miMirror fa sol 
la ti)


\partcombine #'(2 . 12)
{ \staffAikenHeads c' d' e' f' }
{ \staffAikenHeads a  d' c' f' }
\partcombine #'(2 . 12)
{ \staffAikenHeads f' e' d' c' }
{ \staffAikenHeads f' c' d' a  }

\markup "or, if you use \aikenHeads everywhere, put the \aikenHeads into 
a \layout block:"


% This is commented out because it would affect also the scores above.
%{
\layout {
  \context {
\Staff
\aikenHeads
  }
}
%}

\partcombine #'(2 . 12)
{ c' d' e' f' }
{ a  d' c' f' }
\partcombine #'(2 . 12)
{ f' e' d' c' }
{ f' c' d' a  }

%%% END

By the way: what’s this optional \partcombine argument introduced in 
2.19? I haven’t found any documentation.


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