Scholarly question

2018-04-09 Thread Craig Dabelstein
Hi all,

Is this the correct way to ignore critical remarks in the output file?

\ignoreAnnotationTypes #'()


Thanks in advance,

Craig

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com *
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hairpin 'to-barline' ignored in Dynamics context when grace notes are present?

2018-04-09 Thread Dominic
Thanks, Torsten! Terminating the hairpin on a spacer grace note is the
solution.



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: First steps in Lilypond

2018-04-09 Thread Thomas Morley
2018-04-10 0:07 GMT+02:00 foxfanfare :
> I checked with Gould book and upload an extract.

Thanks.

> gould.jpg 

> Thomas Morley-2 wrote
>> Instead I had a quick look through some editions of major publishers.
>> As a result I wouldn't say the end of the Slur should always "align
>> itself with the top of the last stem!".
>
> Actually you were right! But even if slurs may be prefered to be attached
> closer to note head, it shouldn't go after the notecolumn!

Well, I can't read that explecitely in the Gould extract. Also, I
found some examples for this behaviour, as already said.
Sometimes Slurs are very difficult to set, even manually.
That said, generally I'd agree.

> Thomas Morley-2 wrote
>> Engraving nice looking Slurs is always a challenge and no, LilyPond
>> doesn't end Slurs beyond the last Note.
>> Though, your example triggers some cases where LilyPond does so.
>>
>> Sometimes you could use details.edge-attraction-factor,
>> details.free-head-distance, ratio, height-limit.
>
> Nice to hear that the problem wasn't my beginner code but something else!
> About the 'details' commands like "same-slope-penalty",
> "steeper-slope-factor, "non-horizontal-penalty"... is there any place where
> it is explained or do we have to guess what it affects?

Some concise description:
http://lilypond.org/doc/v2.19/Documentation/internals/slur_002dinterface
Not that helpful ...

> Thomas Morley-2 wrote
>> Ofcourse this also
>> means LilyPond should be improved. Wanna join? :)
>
> Who knows :) Still have to travel a long run first!

:)

> I will try the Openlylib tomorrow, last time I tried, I didn't understand it
> completely...

Well, openlilylib can be run in a git-repository. It's the recommended method.
Though, you can also copy/paste the relevant code, delete certain
openlilylib-commands and can start playing ...
Again, the code in question doesn't work with 2.19.

Cheers,
  Harm

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


Re: First steps in Lilypond

2018-04-09 Thread foxfanfare
I checked with Gould book and upload an extract.

gould.jpg   


Thomas Morley-2 wrote
> Instead I had a quick look through some editions of major publishers.
> As a result I wouldn't say the end of the Slur should always "align
> itself with the top of the last stem!".

Actually you were right! But even if slurs may be prefered to be attached
closer to note head, it shouldn't go after the notecolumn!


Thomas Morley-2 wrote
> Engraving nice looking Slurs is always a challenge and no, LilyPond
> doesn't end Slurs beyond the last Note.
> Though, your example triggers some cases where LilyPond does so.
> 
> Sometimes you could use details.edge-attraction-factor,
> details.free-head-distance, ratio, height-limit. 

Nice to hear that the problem wasn't my beginner code but something else!
About the 'details' commands like "same-slope-penalty",
"steeper-slope-factor, "non-horizontal-penalty"... is there any place where
it is explained or do we have to guess what it affects?


Thomas Morley-2 wrote
> Ofcourse this also
> means LilyPond should be improved. Wanna join? :) 

Who knows :) Still have to travel a long run first!

I will try the Openlylib tomorrow, last time I tried, I didn't understand it
completely...


Urs Liska-3 wrote
> Of course it lacks these. Actually this *is* the point about the
> example, how awesome it is without any engraving tweaks. 

I understand your point. And I'm already conviced. Still, tweaking a score
with a graphic interface is pretty easy and could be achieved quite fast.
For now, I don't know how it is possible for me to be as efficient with
text! I guess anyway nobody can answer that for me! For now, I feel faster
to input the music, and much much slower to escape to the default output!



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: First steps in Lilypond

2018-04-09 Thread Urs Liska



Am 09.04.2018 um 23:05 schrieb foxfanfare:

Mark Stephen Mrotek wrote

Urs,

The link provided is nothing like the Chopin Etude #23, Op. 25 No 11 in my
Paderewski edition.
Hofstadter in his book "Goedel, Escher, Bach: The Golden Braid" offers a
mathematical/contrapuntal analysis.

Mark

Because it's Godowsky :-) 53 Studies on Chopin's Etudes ~ 42


I think Mark wanted to indicate that the *original* Chopin study in 
Paderewski's (annotated?) edition is even more challenging.
However, when I last looked into it I recall concluding that the 
Paderewski edition had *not* been engraved with LilyPond ;-) And this 
was the question my link referred to: seeing LilyPond deal with complex 
piano music.




I truely love this book... I have two volumes on paper and it is very
inspiring for my work!
Actually, almost every etudes could be an engraving challenge...
And I must admit that the LP result is awesome even if it lacks some
adjustements.


Of course it lacks these. Actually this *is* the point about the 
example, how awesome it is without any engraving tweaks.



I read the code but can't understand yet the scheme code yet...


Well, of course this example is especially challenging due to its 
non-standard beaming, and the Scheme code basically deals with that. One 
should stress the fact that -- all programmer's sophistication 
notwithstanding -- the actual layout decisions are purely automatic.




The original engraver should have earn an engraving oscar... (if it existed)


Maybe he's watching this ;-)






--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
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: First steps in Lilypond

2018-04-09 Thread Thomas Morley
2018-04-09 20:24 GMT+02:00 foxfanfare :

> \version "2.19.80"
>
> \relative c, {
>
>   \voiceOne
>   \clef bass
>   \time 3/8
>   \key c\minor
>   %THIS IS THE PROBLEM
>   \scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }  8)
>   %ANOTHER EXEMPLE
>   c'8( d' e,\noBeam)
>   %NORMAL
>   c8( d e\noBeam) \bar "||"
>
>   
>
>   %THE END OF THE SLUR SHOULD BE ALIGNED WITH THE STEM
>
>   \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>   \clef bass \scaleDurations 2/3 { c,,,16( f' aes \clef treble f'[ d f~] }
> 8)
>   \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>   c8( d' e,\noBeam)
>   c8( d e\noBeam)
> }

> Well, as you see, by default, in the first 2 measures of my exemple,
> lilypond place the end of the slurs very strangely : after the last note!
> And I don't understand why it doesn't align itself with the top of the last
> stem!


I don't have Gould at hand, someone know what she has to say about the topic?

Instead I had a quick look through some editions of major publishers.
As a result I wouldn't say the end of the Slur should always "align
itself with the top of the last stem!".

In many found cases the Slur ends even before the NoteColumn!
Others end at the NoteHead or the Stem, very few behind the NoteColumn.

>
> Sure I could use the \shape control, as shown in the measures 4 & 5
> \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>
> ...and this solve my issue
>
> BUT in my initial question, I was wondering if I missed something, like a
> basic option that would need to be set first and won't need me to adjust
> every slurs which could encounter this issue!
>
> I tried Urs solution, to play with the default shape. So I added to the
> code:
>
>  \override Score.Slur.details = #'(
>   (region-size . 4)
>   (head-encompass-penalty . 1000.0)
>   (stem-encompass-penalty . 30.0)
>   (edge-attraction-factor . 4)
>   (same-slope-penalty . 20)
>   (steeper-slope-factor . 50)
>   (non-horizontal-penalty . 15)
>   (max-slope . 1.1)
>   (max-slope-factor . 10)
>   (free-head-distance . 0.3)
>   (free-slur-distance . 0.8)
>   (gap-to-staffline-inside . 0.2)
>   (gap-to-staffline-outside . 0.1)
>   (extra-object-collision-penalty . 50)
>   (accidental-collision . 3)
>   (extra-encompass-free-distance . 0.3)
>   (extra-encompass-collision-distance . 0.8)
>   (head-slur-distance-max-ratio . 3)
>   (head-slur-distance-factor . 10)
>   (absolute-closeness-measure . 0.3)
>   (edge-slope-exponent . 1.7)
>   (close-to-edge-length . 2.5)
>   (encompass-object-range-overshoot . 0.5)
>   (slur-tie-extrema-min-distance . 0.2)
>   (slur-tie-extrema-min-distance-penalty . 2))
>
> ... and I tried to play with all the values (without understand every
> variables) but without succes.
> So, is it normal Lilypond is drawing slurs beyond the last note and we
> cannot change this default behavior?!

Engraving nice looking Slurs is always a challenge and no, LilyPond
doesn't end Slurs beyond the last Note.
Though, your example triggers some cases where LilyPond does so.

Sometimes you could use details.edge-attraction-factor,
details.free-head-distance, ratio, height-limit.

\paper {
  ragged-right = ##t
  indent = 30
  short-indent = 30
}

\new Staff \with {
  instrumentName = "Untweaked"
  shortInstrumentName = "2 Slurs tweaked"
}
\relative c, {

  \time 3/8
  \key c\minor
  \clef bass

  \voiceOne
  \scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }
  8)
  c'8( d' e,\noBeam)
  c8( d e\noBeam)

  \break

  \clef bass
  \scaleDurations 2/3 {
  \once \override Slur.details.free-head-distance = 1
c,,,16( f' aes \clef treble f'[ d f~]
  }
  8)
  \once \override Slur.ratio = 10
  \once \override Slur.height-limit = 3
  \once \override Slur.details.edge-attraction-factor = 100
  c'8( d' e,\noBeam)
  c8( d e\noBeam) \bar "||"
  \break
}

Tbh, I don't like the result either 
->attachment

You also may try the code by Janek here:
https://github.com/openlilylib/bezier/blob/master/slur-attachments/module.ily
Example:
https://github.com/openlilylib/bezier/blob/master/usage/slur-attachments.ly
Though, it doesn't compile with recent 2.19.-versions, (someone should
upgrade it ...), 2.18.2 works.
Also, there's a mentioned issue in
https://github.com/openlilylib/bezier/blob/master/README.md



To summarize, no, LilyPond does not end Slurs beyond the
Stem/NoteColumn per default.
Also, no, you didn't miss a single command. As said, printing Slurs
(and PhrasingSlurs and Ties) is a challenge for both, the used
type-setting program _and_ the type-setter himself.
Currently LilyPond quite often needs manual help. Ofcourse this also
means LilyPond should be improved. Wanna join? :)
Several tools for manual adjustments are available. (You may also
check for shapeII at openlilylib).

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

RE: First steps in Lilypond

2018-04-09 Thread foxfanfare
Mark Stephen Mrotek wrote
> Urs,
> 
> The link provided is nothing like the Chopin Etude #23, Op. 25 No 11 in my
> Paderewski edition.
> Hofstadter in his book "Goedel, Escher, Bach: The Golden Braid" offers a
> mathematical/contrapuntal analysis.
> 
> Mark

Because it's Godowsky :-) 53 Studies on Chopin's Etudes ~ 42

I truely love this book... I have two volumes on paper and it is very
inspiring for my work! 
Actually, almost every etudes could be an engraving challenge... 
And I must admit that the LP result is awesome even if it lacks some
adjustements. 
I read the code but can't understand yet the scheme code yet...

The original engraver should have earn an engraving oscar... (if it existed)




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


RE: First steps in Lilypond

2018-04-09 Thread Mark Stephen Mrotek
Urs,

The link provided is nothing like the Chopin Etude #23, Op. 25 No 11 in my 
Paderewski edition.
Hofstadter in his book "Goedel, Escher, Bach: The Golden Braid" offers a 
mathematical/contrapuntal analysis.

Mark

-Original Message-
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Urs Liska
Sent: Monday, April 09, 2018 12:13 PM
To: lilypond-user@gnu.org; foxfanfare 
Subject: Re: First steps in Lilypond



Am 9. April 2018 20:24:30 MESZ schrieb foxfanfare :
>Hi everybody, and thank you for your several replies.
>
>I'll try to answer to all and maybe explain a bit better what I think 
>is an issue and the code to demonstrate it:
>
>\version "2.19.80"
>
>\relative c, {
>  
>  \voiceOne
>  \clef bass
>  \time 3/8
>  \key c\minor
>  %THIS IS THE PROBLEM
>  \scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }  8)  
> %ANOTHER EXEMPLE  c'8( d' e,\noBeam)  %NORMAL  c8( d e\noBeam) \bar 
> "||"
>  
>  
>  
>  %THE END OF THE SLUR SHOULD BE ALIGNED WITH THE STEM
>  
>  \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur \clef bass 
>\scaleDurations 2/3 { c,,,16( f' aes \clef treble f'[ d f~] } 8)
>  \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>  c8( d' e,\noBeam)
>  c8( d e\noBeam)
>}
>
>I used the \scaleDurations command instead which was a good idea!
>
>Well, as you see, by default, in the first 2 measures of my exemple, 
>lilypond place the end of the slurs very strangely : after the last 
>note!
>And I don't understand why it doesn't align itself with the top of the 
>last stem!
>
>Sure I could use the \shape control, as shown in the measures 4 & 5 
>\shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>
>...and this solve my issue
>
>BUT in my initial question, I was wondering if I missed something, like 
>a basic option that would need to be set first and won't need me to 
>adjust every slurs which could encounter this issue!
>
>I tried Urs solution, to play with the default shape. So I added to the
>code:
>
> \override Score.Slur.details = #'(
>  (region-size . 4)
>  (head-encompass-penalty . 1000.0)
>  (stem-encompass-penalty . 30.0)
>  (edge-attraction-factor . 4)
>  (same-slope-penalty . 20)
>  (steeper-slope-factor . 50)
>  (non-horizontal-penalty . 15)
>  (max-slope . 1.1)
>  (max-slope-factor . 10)
>  (free-head-distance . 0.3)
>  (free-slur-distance . 0.8)
>  (gap-to-staffline-inside . 0.2)
>  (gap-to-staffline-outside . 0.1)
>  (extra-object-collision-penalty . 50)
>  (accidental-collision . 3)
>  (extra-encompass-free-distance . 0.3)
>  (extra-encompass-collision-distance . 0.8)
>  (head-slur-distance-max-ratio . 3)
>  (head-slur-distance-factor . 10)
>  (absolute-closeness-measure . 0.3)
>  (edge-slope-exponent . 1.7)
>  (close-to-edge-length . 2.5)
>  (encompass-object-range-overshoot . 0.5)
>  (slur-tie-extrema-min-distance . 0.2)
>  (slur-tie-extrema-min-distance-penalty . 2))
>
>... and I tried to play with all the values (without understand every
>variables) but without succes.
>So, is it normal Lilypond is drawing slurs beyond the last note and we 
>cannot change this default behavior?!
>
>But after reading  this post
>
>
>wrote by Janek Warchoł, I start to think maybe it is usual to adjust 
>them manually! :-)
>
>
>Mark wrote
>> FoxFanFare,
>> 
>> I set Chopin's Nocturne No. 12.
>> Lilypond allowed me to arrange beams, fingerings, and dynamics to
>suit my
>> reading.
>
>Would it be possible to see the results and maybe the code? I would 
>also be very interesting if someone wrote a complex piano music, with 
>multiple voices like Godowsky...

https://github.com/engraving-challenges/winterwind/blob/master/LilyPond-devel/nathan-ho/first-draft.pdf

This is essentially untweaked, and the source is in the same directory.

>
>I know the site Mutopia and I read some exemples (like the Rachmaninoff 
>preludes). But I have to confess that I was not impressed by the output 
>of most of the scores... In comparison to a professional publisher I 
>mean...
>Hope I'm not insulting anyone here who sent scores to this website...
>
>


>
>
>--
>Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
>___
>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


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


Re: First steps in Lilypond

2018-04-09 Thread Urs Liska


Am 9. April 2018 20:24:30 MESZ schrieb foxfanfare :
>Hi everybody, and thank you for your several replies.
>
>I'll try to answer to all and maybe explain a bit better what I think
>is an
>issue and the code to demonstrate it:
>
>\version "2.19.80"
>
>\relative c, {
>  
>  \voiceOne
>  \clef bass
>  \time 3/8
>  \key c\minor
>  %THIS IS THE PROBLEM
>  \scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }  8)
>  %ANOTHER EXEMPLE
>  c'8( d' e,\noBeam)
>  %NORMAL
>  c8( d e\noBeam) \bar "||"
>  
>  
>  
>  %THE END OF THE SLUR SHOULD BE ALIGNED WITH THE STEM
>  
>  \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>\clef bass \scaleDurations 2/3 { c,,,16( f' aes \clef treble f'[ d f~]
>} 
>8)
>  \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>  c8( d' e,\noBeam)
>  c8( d e\noBeam)
>}
>
>I used the \scaleDurations command instead which was a good idea!
>
>Well, as you see, by default, in the first 2 measures of my exemple,
>lilypond place the end of the slurs very strangely : after the last
>note!
>And I don't understand why it doesn't align itself with the top of the
>last
>stem!
>
>Sure I could use the \shape control, as shown in the measures 4 & 5 
>\shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
>
>...and this solve my issue
>
>BUT in my initial question, I was wondering if I missed something, like
>a
>basic option that would need to be set first and won't need me to
>adjust
>every slurs which could encounter this issue!
>
>I tried Urs solution, to play with the default shape. So I added to the
>code:
>
> \override Score.Slur.details = #'(
>  (region-size . 4)
>  (head-encompass-penalty . 1000.0)
>  (stem-encompass-penalty . 30.0)
>  (edge-attraction-factor . 4)
>  (same-slope-penalty . 20)
>  (steeper-slope-factor . 50)
>  (non-horizontal-penalty . 15)
>  (max-slope . 1.1)
>  (max-slope-factor . 10)
>  (free-head-distance . 0.3)
>  (free-slur-distance . 0.8)
>  (gap-to-staffline-inside . 0.2)
>  (gap-to-staffline-outside . 0.1)
>  (extra-object-collision-penalty . 50)
>  (accidental-collision . 3)
>  (extra-encompass-free-distance . 0.3)
>  (extra-encompass-collision-distance . 0.8)
>  (head-slur-distance-max-ratio . 3)
>  (head-slur-distance-factor . 10)
>  (absolute-closeness-measure . 0.3)
>  (edge-slope-exponent . 1.7)
>  (close-to-edge-length . 2.5)
>  (encompass-object-range-overshoot . 0.5)
>  (slur-tie-extrema-min-distance . 0.2)
>  (slur-tie-extrema-min-distance-penalty . 2))
>
>... and I tried to play with all the values (without understand every
>variables) but without succes.
>So, is it normal Lilypond is drawing slurs beyond the last note and we
>cannot change this default behavior?!
>
>But after reading  this post
> 
>
>wrote by Janek Warchoł, I start to think maybe it is usual to adjust
>them
>manually! :-)
>
>
>Mark wrote
>> FoxFanFare,
>> 
>> I set Chopin's Nocturne No. 12.
>> Lilypond allowed me to arrange beams, fingerings, and dynamics to
>suit my
>> reading.
>
>Would it be possible to see the results and maybe the code? I would
>also be
>very interesting if someone wrote a complex piano music, with multiple
>voices like Godowsky...

https://github.com/engraving-challenges/winterwind/blob/master/LilyPond-devel/nathan-ho/first-draft.pdf

This is essentially untweaked, and the source is in the same directory.

>
>I know the site Mutopia and I read some exemples (like the Rachmaninoff
>preludes). But I have to confess that I was not impressed by the output
>of
>most of the scores... In comparison to a professional publisher I
>mean...
>Hope I'm not insulting anyone here who sent scores to this website...
>
>


>
>
>--
>Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
>___
>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: Hairpin 'to-barline' ignored in Dynamics context when grace notes are present?

2018-04-09 Thread Torsten Hämmerle
Ah, sorry,

I see what you mean...
If you want the hairpin to stop before the bar-line, you could insert a
silent grace note and explicitly let the crescendo hairpin stop there:


\version "2.19"
 <<
\relative {
c'2 e4 g | \acciaccatura { a16 b } c4 r r2 |
}
\new Dynamics {
s1 \p \< | \grace s8\! s \f
}
 >>

 <<
\relative {
c'2 e4 g | c4 r r2 |
}
\new Dynamics {
s1 \p \< | s \f
}
 >>

\layout {
\context {
\Score
\override Hairpin.to-barline = ##t
}
}


HTH,
Torsten 



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: First steps in Lilypond

2018-04-09 Thread foxfanfare
Hi everybody, and thank you for your several replies.

I'll try to answer to all and maybe explain a bit better what I think is an
issue and the code to demonstrate it:

\version "2.19.80"

\relative c, {
  
  \voiceOne
  \clef bass
  \time 3/8
  \key c\minor
  %THIS IS THE PROBLEM
  \scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }  8)
  %ANOTHER EXEMPLE
  c'8( d' e,\noBeam)
  %NORMAL
  c8( d e\noBeam) \bar "||"
  
  
  
  %THE END OF THE SLUR SHOULD BE ALIGNED WITH THE STEM
  
  \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
  \clef bass \scaleDurations 2/3 { c,,,16( f' aes \clef treble f'[ d f~] } 
8)
  \shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur
  c8( d' e,\noBeam)
  c8( d e\noBeam)
}

I used the \scaleDurations command instead which was a good idea!

Well, as you see, by default, in the first 2 measures of my exemple,
lilypond place the end of the slurs very strangely : after the last note!
And I don't understand why it doesn't align itself with the top of the last
stem!

Sure I could use the \shape control, as shown in the measures 4 & 5 
\shape #'((0 . 0) (0 . 0) (0 . 0) (-0.5 . 0)) Slur

...and this solve my issue

BUT in my initial question, I was wondering if I missed something, like a
basic option that would need to be set first and won't need me to adjust
every slurs which could encounter this issue!

I tried Urs solution, to play with the default shape. So I added to the
code:

 \override Score.Slur.details = #'(
  (region-size . 4)
  (head-encompass-penalty . 1000.0)
  (stem-encompass-penalty . 30.0)
  (edge-attraction-factor . 4)
  (same-slope-penalty . 20)
  (steeper-slope-factor . 50)
  (non-horizontal-penalty . 15)
  (max-slope . 1.1)
  (max-slope-factor . 10)
  (free-head-distance . 0.3)
  (free-slur-distance . 0.8)
  (gap-to-staffline-inside . 0.2)
  (gap-to-staffline-outside . 0.1)
  (extra-object-collision-penalty . 50)
  (accidental-collision . 3)
  (extra-encompass-free-distance . 0.3)
  (extra-encompass-collision-distance . 0.8)
  (head-slur-distance-max-ratio . 3)
  (head-slur-distance-factor . 10)
  (absolute-closeness-measure . 0.3)
  (edge-slope-exponent . 1.7)
  (close-to-edge-length . 2.5)
  (encompass-object-range-overshoot . 0.5)
  (slur-tie-extrema-min-distance . 0.2)
  (slur-tie-extrema-min-distance-penalty . 2))

... and I tried to play with all the values (without understand every
variables) but without succes.
So, is it normal Lilypond is drawing slurs beyond the last note and we
cannot change this default behavior?!

But after reading  this post
  
wrote by Janek Warchoł, I start to think maybe it is usual to adjust them
manually! :-)


Mark wrote
> FoxFanFare,
> 
> I set Chopin's Nocturne No. 12.
> Lilypond allowed me to arrange beams, fingerings, and dynamics to suit my
> reading.

Would it be possible to see the results and maybe the code? I would also be
very interesting if someone wrote a complex piano music, with multiple
voices like Godowsky...

I know the site Mutopia and I read some exemples (like the Rachmaninoff
preludes). But I have to confess that I was not impressed by the output of
most of the scores... In comparison to a professional publisher I mean...
Hope I'm not insulting anyone here who sent scores to this website...




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Hairpin 'to-barline' ignored in Dynamics context when grace notes are present?

2018-04-09 Thread Torsten Hämmerle
Hi Dominic,

This has nothing to do with the acciaccatura (could be "ordinary" notes or
rest), it's the "to-barline" property of the hairpin in combination with the
spanner ending at the first note of following bar.

If you set 
\override Hairpin.to-barline = ##f
the hairpin will reach over into the next bar.
By default, a hairpin will end before the bar-line if its end falls on a
downbeat.

HTH,
Torsten 




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Hairpin 'to-barline' ignored in Dynamics context when grace notes are present?

2018-04-09 Thread Dominic
Illustration below:
 

In the upper example, the hairpin stretches all the way to the terminating
dynamic, despite explicitly telling it not to with the 'to-barline'
property.

If I take away the acciaccatura (in the lower example), the problem goes
away, so it must be something to do with that. Inserting a grace skip of
equal size in the dynamics context does not fix the problem.

In an 'emergency' I could explicitly terminate the hairpin on the final note
of the first bar, but that isn't exactly the same (the hairpin should stop
after the last note of the bar but before the barline, not /on/ the last
note.

The following code illustrates the problem:

/\version "2.19"
<<
\relative {
c'2 e4 g | \acciaccatura { a16 b } c4 r r2 |
}
\new Dynamics {
s1 \p \< | s \f
}
>>

<<
\relative {
c'2 e4 g | c4 r r2 |
}
\new Dynamics {
s1 \p \< | s \f
}
>>

\layout {
\context {
\Score
\override Hairpin.to-barline = ##t
}
}/

Any suggestions?



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: First steps in Lilypond

2018-04-09 Thread Knute Snortum
Wow, yeah, that's easier, huh?  Thanks for pointing that out.


---
Knute Snortum
(via Gmail)

On Mon, Apr 9, 2018 at 8:35 AM, David Kastrup  wrote:

> Knute Snortum  writes:
>
> > Here's how I engraved the snippet in LilyPond (there are other ways too):
> >
> > %%% Start
> > \version "2.19.81"
> > \language "english"
> >
> > global = {
> >   \key c \minor
> >   \time 3/8
> > }
> >
> > tupletInvisible = {
> >   \override TupletBracket.bracket-visibility = ##f
> >   \override TupletNumber.transparent = ##t
> > }
>
> Why not use \scaleDurations instead of \tuplet then?
>
> --
> David Kastrup
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First steps in Lilypond

2018-04-09 Thread David Kastrup
Knute Snortum  writes:

> Here's how I engraved the snippet in LilyPond (there are other ways too):
>
> %%% Start
> \version "2.19.81"
> \language "english"
>
> global = {
>   \key c \minor
>   \time 3/8
> }
>
> tupletInvisible = {
>   \override TupletBracket.bracket-visibility = ##f
>   \override TupletNumber.transparent = ##t
> }

Why not use \scaleDurations instead of \tuplet then?

-- 
David Kastrup

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


Re: First steps in Lilypond

2018-04-09 Thread Knute Snortum
Here's how I engraved the snippet in LilyPond (there are other ways too):

%%% Start
\version "2.19.81"
\language "english"

global = {
  \key c \minor
  \time 3/8
}

tupletInvisible = {
  \override TupletBracket.bracket-visibility = ##f
  \override TupletNumber.transparent = ##t
}

rightOne = \relative c'' {
  f4 af16.( g32) |
  ef4 g16.( f32) |
  c8.([ d32 c)] b16( c) |
}

rightTwo = \relative c' {
  r16 [ r  r ] |
  r16 [ r  r ] |
  r16 c,( f) r r8 |
}

leftThree = \relative c, {
  \tupletInvisible
  \tuplet 3/2 2 { 16[( f'' af] \clef treble f'[ d f~] } 8)
  \clef bass
  \tuplet 3/2 2 { 16[( ef g] \clef treble ef''[ c ef~] } 8)
  \clef bass
  \tuplet 3/2 2 { 16[( c' f] af[ c f] } fs8)
}

leftFour = \relative c' {
  \tupletInvisible
  \autoBeamOff
  \tuplet 3/2 2 { s8. \clef treble s16 d8~ } d8 |
  \tuplet 3/2 2 { s8. s16 c8~ } c8 |
  \clef bass
  \tuplet 3/2 2 { s8. s16 c8~ } c8 |
}

rightHand = {
  \global
  \clef treble
  <<
\new Voice { \voiceOne \rightOne }
\new Voice { \voiceTwo \rightTwo }
  >>
}

leftHand = {
  \global
  \clef bass
  <<
\new Voice { \voiceThree \leftThree }
\new Voice { \voiceFour \leftFour }
  >>
}

\score {
  \new PianoStaff <<
\new Staff \rightHand
\new Staff \leftHand
  >>
}
%%% End

The default slurs look okay to me, but perhaps could be improved.  You
might do it like this:

%%% Start
...
tupletInvisible = {
  \override TupletBracket.bracket-visibility = ##f
  \override TupletNumber.transparent = ##t
}

slurShapeOne = \shape #'((0 . -1) (0 . 0) (0 . 0) (0 . -1)) Slur
slurShapeTwo = \shape #'((0 . -1) (0 . 0) (0 . 0) (0 . -1)) Slur
...
leftThree = \relative c, {
  \tupletInvisible
  \tuplet 3/2 2 { \slurShapeOne 16[( f'' af] \clef treble f'[ d f~] }
8)
  \clef bass
  \tuplet 3/2 2 { 16[( ef g] \clef treble ef''[ c ef~] } 8)
  \clef bass
  \tuplet 3/2 2 { \slurShapeTwo 16[( c' f] af[ c f] } fs8)
}
%%% End


---
Knute Snortum
(via Gmail)

On Fri, Apr 6, 2018 at 3:51 AM, foxfanfare  wrote:

> All right! Thank you for all your encouraging comments. So I'll continue my
> efforts in learning this awesome but complex software. I have two weeks of
> vacations coming on, so more time to figure it out!
>
> Unfortunately, I have to start learning with this kind of piano piece
> because 95% of my work are made for advanced pianists...
>
> BTW, does anyone have the answer to my question about this slur problem :
> http://lilypond.1069038.n5.nabble.com/file/t5604/Brahms03.png
> 
>
> I just want to know if this kind of issue needs to be controled by a
> "shape"
> command or if it needs something else I didn't know?
>
> Anyway, it's really awesome to see such a community like this... Thank you
> very much!
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> ___
> 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