Re: modern accidentals rule

2009-11-20 Thread Hans Aberg

On 10 Nov 2009, at 07:25, David Kastrup wrote:


BTW, I have found a strange behaviour of modern accidentals rule:
LilyPond considers volta alternatives as previous measure. Is this
correct? (Note the natural sign at the 2nd and 3rd alternatives, not
related to the previous _played_ measure.)


I do not know.  I am not an expert on the different accidental rules,
nor on the standard engraving practices for accidentals in
alternatives.  But I would expect that the last measure of the repeat
should serve as the previous measure for each of the alternatives.


And it should serve as the previous measure for starting ties and  
slurs

and key and meter changes.  And the first measure of the repeat should
serve as the following measure for unfinished ties and slurs for all  
of

the alternatives except the last one (which means that tie and slur
directions should match and the tie/slur should extend to the bar line
rather than trigger an error).


One way to express it, is that it should be fit together when  
expanded: repeats is just a shorthand for the expanded version.


When writing down some Balkan music, I have found it might be suitable  
with alternatives in other positions, like the beginning and the  
middle. One use is to indicate variations in the performance.


  Hans




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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-20 Thread Graham Percival
On Fri, Nov 20, 2009 at 08:45:24AM +0100, Frédéric Bron wrote:
  Didn't you already push it?  It appeared in my git tree, but maybe
  I committed it locally but forgot about it?
 
  If it's already pushed, you'll need to make a new patch against
  master; go ahead and push that.
 
 Hi Graham, I don't think I have write permissions in the git
 repository so if it has been pushed it's from Carl.

Ok, I fixed it.

Cheers,
- Graham


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Graham Percival
On Tue, Nov 17, 2009 at 10:14:33PM +0100, Frédéric Bron wrote:
  Could you prepare a patch adding the known behavior and this workaround to
  the Known Issues in Displaying pitches in pitches.itely?
 
 Here is a patch for the Notation Reference.

Sorry for the delay.  Is the \bar |. vital for this issue?  If
not, policy is to omit it.
(I haven't looked at the actual thread)

Other than that, thanks for the fix!

Cheers,
- Graham


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Frédéric Bron
 Sorry for the delay.  Is the \bar |. vital for this issue?  If
 not, policy is to omit it.

Can be removed. Here is the patch without it.
Frédéric


0001-known-issue-in-NR-extra-cautionnary-accidentals-in-a.patch
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Graham Percival
On Thu, Nov 19, 2009 at 11:45:32PM +0100, Frédéric Bron wrote:
  Sorry for the delay.  Is the \bar |. vital for this issue?  If
  not, policy is to omit it.
 
 Can be removed. Here is the patch without it.

Didn't you already push it?  It appeared in my git tree, but maybe
I committed it locally but forgot about it?

If it's already pushed, you'll need to make a new patch against
master; go ahead and push that.

Cheers,
- Graham


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Frédéric Bron
 Didn't you already push it?  It appeared in my git tree, but maybe
 I committed it locally but forgot about it?

 If it's already pushed, you'll need to make a new patch against
 master; go ahead and push that.

Hi Graham, I don't think I have write permissions in the git
repository so if it has been pushed it's from Carl.

Frédéric


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-17 Thread Frédéric Bron
 Could you prepare a patch adding the known behavior and this workaround to
 the Known Issues in Displaying pitches in pitches.itely?

Here is a patch for the Notation Reference.

Frédéric


0001-known-issue-in-NR-extra-cautionnary-accidentals-in-a.patch
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: modern accidentals rule

2009-11-11 Thread Hudson Flávio Meneses Lacerda

Frédéric Bron wrote:

BTW, I have found a strange behaviour of modern accidentals rule:
LilyPond considers volta alternatives as previous measure. Is this
correct? (Note the natural sign at the 2nd and 3rd alternatives, not
related to the previous _played_ measure.)


Yes, this is known behaviour. Here is the workaround I use:

[...]

Thanks!

Hudson



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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-10 Thread Frédéric Bron
 BTW, I have found a strange behaviour of modern accidentals rule:
 LilyPond considers volta alternatives as previous measure. Is this
 correct? (Note the natural sign at the 2nd and 3rd alternatives, not
 related to the previous _played_ measure.)

Yes, this is known behaviour. Here is the workaround I use:

First you define the follwing function:

forget = #(define-music-function (parser location music) (ly:music?) #{
#(set-accidental-style 'forget)
$music
#(set-accidental-style 'modern)
#})


And then, you use it in front of the note which you do not want the
sharp of flat in front of:

\repeat { c } \alternative { { cis } { \forget c } }

Frédéric


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-10 Thread Carl Sorensen
Frederic,

Thanks for the info.


On 11/10/09 11:55 AM, Frédéric Bron frederic.b...@m4x.org wrote:

 BTW, I have found a strange behaviour of modern accidentals rule:
 LilyPond considers volta alternatives as previous measure. Is this
 correct? (Note the natural sign at the 2nd and 3rd alternatives, not
 related to the previous _played_ measure.)
 
 Yes, this is known behaviour. Here is the workaround I use:
 
 First you define the follwing function:
 
 forget = #(define-music-function (parser location music) (ly:music?) #{
 #(set-accidental-style 'forget)
 $music
 #(set-accidental-style 'modern)
 #})
 
 
 And then, you use it in front of the note which you do not want the
 sharp of flat in front of:
 
 \repeat { c } \alternative { { cis } { \forget c } }
 

Could you prepare a patch adding the known behavior and this workaround to
the Known Issues in Displaying pitches in pitches.itely?

Thanks,

Carl



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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-10 Thread Frédéric Bron
 Could you prepare a patch adding the known behavior and this workaround to
 the Known Issues in Displaying pitches in pitches.itely?

OK, I will do that.

Frédéric

---
Frédéric Bron (frederic.b...@m4x.org)
Villa des Quatre Chemins, Centre Hospitalier, BP 208
38506 VOIRON CEDEX
tél. : (33) 4 76 67 17 27


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-09 Thread Carl Sorensen



On 11/9/09 5:58 PM, Hudson Flávio Meneses Lacerda
hfmlace...@yahoo.com.br wrote:

 Carl Sorensen wrote:
 While this may be syntactically valid LilyPond code, it seems to me to be
 improper (i.e. to not match the intent of the input construction}.
 
 Hi Carl,
 
 Thanks for the correction. I have changed my code to:
 
 \new PianoStaff {
  
\new Staff = cima { \Global \VozAguda }
\new Staff = baixo { \Global \VozGrave }
 
 }
 
 (with no \\)
 

Excellent!

 
 
 BTW, I have found a strange behaviour of modern accidentals rule:
 LilyPond considers volta alternatives as previous measure. Is this
 correct? (Note the natural sign at the 2nd and 3rd alternatives, not
 related to the previous _played_ measure.)

I do not know.  I am not an expert on the different accidental rules, nor on
the standard engraving practices for accidentals in alternatives.   But I
would expect that the last measure of the repeat should serve as the
previous measure for each of the alternatives.

I've passed this message along to -user to get thoughts from those who are
much more knowledgeable than I.

 
 \version 2.13.7
 \paper{ ragged-right=##t }
 {
  #(set-accidental-style 'modern)
  \repeat volta 3 {
a'4 f'' d'' e''
  }
  \alternative {
{ d''2 cis'' }
{ \times 2/3 {c'8 e' g'}  c''4 des'' c'' }
{ d''2 c'' }
  }
 }
 

Thanks,

Carl



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


Re: modern accidentals rule

2009-11-09 Thread David Kastrup
Carl Sorensen c_soren...@byu.edu writes:

 On 11/9/09 5:58 PM, Hudson Flávio Meneses Lacerda
 
 BTW, I have found a strange behaviour of modern accidentals rule:
 LilyPond considers volta alternatives as previous measure. Is this
 correct? (Note the natural sign at the 2nd and 3rd alternatives, not
 related to the previous _played_ measure.)

 I do not know.  I am not an expert on the different accidental rules,
 nor on the standard engraving practices for accidentals in
 alternatives.  But I would expect that the last measure of the repeat
 should serve as the previous measure for each of the alternatives.

And it should serve as the previous measure for starting ties and slurs
and key and meter changes.  And the first measure of the repeat should
serve as the following measure for unfinished ties and slurs for all of
the alternatives except the last one (which means that tie and slur
directions should match and the tie/slur should extend to the bar line
rather than trigger an error).

-- 
David Kastrup



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