Re: First steps in Lilypond

2018-04-12 Thread foxfanfare
Sorry.
Here it is: 
http://lilypond.1069038.n5.nabble.com/include-command-and-local-network-folders-td211666.html

  
Thx



--
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-12 Thread Simon Albrecht

On 12.04.2018 11:13, foxfanfare wrote:

I have a new question.


Then please start a new thread with appropriate subject line.

Best, Simon

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


Re: First steps in Lilypond

2018-04-12 Thread foxfanfare
Simon Albrecht-2 wrote
> On 09.04.2018 20:24, foxfanfare wrote:
>> \scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }
> 
> By the way, I use c16*2/3 in such cases.
> 
> Best, Simon

Thanks for the tip! It is indeed very convenient!

***

I have a new question. I now try to use the /include command to separate my
style sheet, as suggested by some of you. I made two files : "test.ly" which
contains the music, and "configuration.ily" for my house-style.

The files are in the same folder and I can get it easily to work on my local
drive.

But the problem is when I try to launch the files from my local network
drive (which is very convenient for me in this kind of work).

Here's the error message I get when I include the "configuration.ily" :

 

Or with the full network path:

 

What I don't understand, is however Lilypond seems to find my file! :

 

Would someone know what seems to be the problem with network path?

Thanks!





--
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-10 Thread Simon Albrecht

On 09.04.2018 20:24, foxfanfare wrote:

\scaleDurations 2/3 { c16( f' aes \clef treble f'[ d f~] }


By the way, I use c16*2/3 in such cases.

Best, Simon

___
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

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 <foxfanf...@gmx.com>
Subject: Re: First steps in Lilypond



Am 9. April 2018 20:24:30 MESZ schrieb foxfanfare <foxfanf...@gmx.com>:
>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
><http://lilypondblog.org/2014/01/engraving-statistics-slurs-and-ties/>
>
>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: 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: 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


Re: First steps in Lilypond

2018-04-08 Thread Robert Blackstone
Hi foxfanfare,

I have followed, or rather tried to follow, the discussion in this thread 
without completely understanding your problem. Maybe I'm still too much of a 
beginner myself.
So far I have mainly typeset piano works, perhaps not extremely complex ones, 
but still.

On 6 Apr 2018, at 12:51 , foxfanfare  wrote:

> 
> BTW, does anyone have the answer to my question about this slur problem :
> http://lilypond.1069038.n5.nabble.com/file/t5604/Brahms03.png
>  

I looked at this "Brahms03.png" and set iin LilyPond. It needs a few tricks but 
on he whole I found it  fairly straightforward.

What exactly is your question about " this slur problem " in this fragment?

Best regards,
Robert Blackstone




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


RE: First steps in Lilypond

2018-04-06 Thread Mark Stephen Mrotek
FoxFanFare,

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

Mark

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
foxfanfare
Sent: Friday, April 06, 2018 2:09 AM
To: lilypond-user@gnu.org
Subject: Re: First steps in Lilypond

Thank you for your comments David.

If I understand correctly what you are implying, maybe learning lilypond in
order to engrave complex piano music isn't a such good idea after all?



--
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-06 Thread Urs Liska


Am 6. April 2018 12:51:07 MESZ schrieb foxfanfare :
>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?

I'm afraid you just got a spot where LilyPond's default decisions are not 
sufficient.

Before using \shape I would experiment with changing the slur defaults. For 
example I could imagine they work better when they are higher and more rounded.
Unfortunately I can't say right now (I'm not at home) what the properties are 
that you should look for.

Good luck
Urs


>
>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


Re: First steps in Lilypond

2018-04-06 Thread Andrew Bernard
Hi foxfanfare,


On 6 April 2018 at 20:51, foxfanfare  wrote:

>
> BTW, does anyone have the answer to my question about this slur problem :
> http://lilypond.1069038.n5.nabble.com/file/t5604/Brahms03.png



For this, the convention is to post what is known as a Minimal Working
Example (MWE). Then people are willing to help out because they don't have
to recreate a complex part of a score from scratch. So reduce this to one
slurred example, and post the code, eliminating everything that is
unnecessary to make the point under discussion. Also, giving an MWE means
that people can post code as an answer, not just a verbal description.

There is a \shape function in lilypond. But there is a much more capable
function called \shapeII in the openlilylib library, which is a collection
of code that is useful and powerful but for one reason or another has not
been incorporated into the baseline lilypond code.

Investigate the github repository:

https://github.com/openlilylib/snippets

Openlilylib is one demonstration of the ability to extend and enhance
lilypond, and I find it indispensable.

And don't forget the Lilypond Snippet Repository, a collection of ways of
doing things that are not immediately obvious. Idioms, if you like.

http://lsr.di.unimi.it/LSR/Search

And lastly, don't forget you can search the mailing list user archives:

https://lists.gnu.org/archive/html/lilypond-user/

Hope this helps. Sorry if some of this is a repetition of other posts.


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


Re: First steps in Lilypond

2018-04-06 Thread foxfanfare
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


Re: First steps in Lilypond

2018-04-06 Thread Urs Liska


Am 6. April 2018 11:09:09 MESZ schrieb foxfanfare :
>Thank you for your comments David.
>
>If I understand correctly what you are implying, maybe learning
>lilypond in
>order to engrave complex piano music isn't a such good idea after all?

No, it *is* a good idea.
What you should read out of David's comments is that starting your journey with 
that kind of music is not the most comfortable choice to make.
If that hasn't immediately put you off you're on the right track :-)

>
>
>
>--
>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-06 Thread Andrew Bernard
Correction, latest is 2.19.81.

On 6 April 2018 at 19:19, Andrew Bernard  wrote:

>
>
> Oh, and do use the latest development version (2.19.18),
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First steps in Lilypond

2018-04-06 Thread Andrew Bernard
Hi foxfanfare,

I agree with David about piano music. In my work, principally what I do is
set very complex New Complexity School modernist scores for piano. It gets
really difficult. Not a task for beginners by any means.

But lilypond can be extended with functions and Scheme code and is so
powerful that it can be made to do pretty much anything at all, with enough
patience - and enough questions to the list!

Piano music by its nature presents all sorts of problems as David has said.
To a certain extent, setting big orchestral pieces is easier.

Don't be put off. Lilypond is the right tool for the job for piano music.
My advice to you starting out is to practice the basics of note entry and
layout with lilypond, become fluent, and then turn your mind to the small
tweaks that you may want later, not all at once at the outset. Read the
Notation Reference (referred to on the list as the NR) a _lot_. Ask
questions. You will soon figure out the idiosyncratic usages needed for
keyboard works, and your scores will look better than anything the Other
Programs can do.

Oh, and do use the latest development version (2.19.18), despite the
exhortations on the website sending you to the stable 2.18 release. Calling
the xurrent 2.19 series unstable is an open source convention of modesty,
but it serves to deflect people from using a version which has lots fo new
features (that you are going to want for complicated piano music) and which
despite hammering it full time all day I have not been able to crash even
once. A tribute to our fantastic developers.

Andrew



On 6 April 2018 at 19:09, foxfanfare  wrote:

>
> If I understand correctly what you are implying, maybe learning lilypond in
> order to engrave complex piano music isn't a such good idea after all?
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First steps in Lilypond

2018-04-06 Thread Noeck
Don’t be scared! It’s not the easiest way to start learning LilyPond,
but from what I’ve seen on this list, you got pretty far and all the
remaining issues can be solved. Just be assured that other types of
music (e.g. songs, violin parts or even choir scores) are usually easier.

Cheers,#

Joram

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


Re: First steps in Lilypond

2018-04-06 Thread foxfanfare
Thank you for your comments David.

If I understand correctly what you are implying, maybe learning lilypond in
order to engrave complex piano music isn't a such good idea after all?



--
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-05 Thread David Kastrup
foxfanfare  writes:

> David Kastrup wrote
>> To wit: mapping primordial piano music with its
>> loose relation of notes and ad-hoc voices and connecting articulation to
>> LilyPond's concepts is pretty much the worst-case of complex music you
>> can deal with.  Orchestral/choral/symphonic music is comparatively
>> straightforward in contrast, and even the nominal superset of organ
>> music tends to be simpler in practice because it tends to be more
>> rigidly mapped to voiced music rather than serving as a tool for
>> texturing sound.
>
> lol I'm not sure it's very comforting!

If I were primarily a salesman instead of a developer, I would not be
starving.  You'll find lots of people ready to help with problems you
encounter, and most importantly _able_ to help with problems you
encounter because you can easily exchange and discuss fragments of
LilyPond input on the mailing lists.  But organizing piano music still
is a more troublesome application in the vast scope of music LilyPond
will handle.

-- 
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-05 Thread foxfanfare
David Kastrup wrote
> To wit: mapping primordial piano music with its
> loose relation of notes and ad-hoc voices and connecting articulation to
> LilyPond's concepts is pretty much the worst-case of complex music you
> can deal with.  Orchestral/choral/symphonic music is comparatively
> straightforward in contrast, and even the nominal superset of organ
> music tends to be simpler in practice because it tends to be more
> rigidly mapped to voiced music rather than serving as a tool for
> texturing sound.

lol I'm not sure it's very comforting!




--
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-03 Thread David Kastrup
foxfanfare  writes:

> Hi everybody,
>
> Instead of spoiling the thread about  OpenLilyLib
> 
>   
> I started to ask some questions, I thought better to start a separate thread
> in order to ask some of my newbie questions!
>
> I started working on LilyPond last week and I find this software really
> interesting, though quite difficult to learn for a start! So, my project
> right now is to copy a difficult piano score I made earlier in Sibelius
> which would help me to learn this software. I will decide then if I
> definitely keep it or if I buy Dorico!

To quote lyrics from a famous song: "if you can make it there, you can
make it anywhere".  To wit: mapping primordial piano music with its
loose relation of notes and ad-hoc voices and connecting articulation to
LilyPond's concepts is pretty much the worst-case of complex music you
can deal with.  Orchestral/choral/symphonic music is comparatively
straightforward in contrast, and even the nominal superset of organ
music tends to be simpler in practice because it tends to be more
rigidly mapped to voiced music rather than serving as a tool for
texturing sound.

-- 
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-03 Thread foxfanfare
New question:

Is it normal in those measures that the slurs in voiceOne of the left hand
are too long and doesn't fix themselves with the 8th notes stem? Does this
mean I have to "shape" all of them or am I missing something here?

 

*\version "2.19.80"
\language "english"

\relative c, {
  
   \time 3/8
   \clef bass
   \key c\minor
   \omit Score.TupletNumber
   << {
   \tuplet 3/2 8 { *16( f'' af \clef treble f'[ d f~] }  8)
   \clef bass \tuplet 3/2 8 { 16( ef' g \clef treble ef'[ c ef~] } 
8) |
   \clef bass \tuplet 3/2 8 { 16( c' f af[ c f] } fs8) |
   } \\ {
   s \tuplet 3/2 { s16 d8~ } d\noBeam |
   s \tuplet 3/2 { s16 c8~ } c\noBeam |
   s \tuplet 3/2 { s16 c8~ } c\noBeam |
   } >>
  }*



--
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-02 Thread foxfanfare
The problem was solved thanks to Brian B !

For those interested, I used the override command to add some space within
the two staves:

\overrideProperty Score.NonMusicalPaperColumn.line-break-system-details
#'((alignment-distances . (12.5)))

 



--
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 k

2018-04-02 Thread Patrick Smith
I will be

On Mon, Apr 2, 2018, 7:46 AM foxfanfare  wrote:

> Hi everybody,
>
> Instead of spoiling the thread about  OpenLilyLib
> <
> http://lilypond.1069038.n5.nabble.com/OpenLilyLib-with-Windows-td208760.html
> >
> I started to ask some questions, I thought better to start a separate
> thread
> in order to ask some of my newbie questions!
>
> I started working on LilyPond last week and I find this software really
> interesting, though quite difficult to learn for a start! So, my project
> right now is to copy a difficult piano score I made earlier in Sibelius
> which would help me to learn this software. I will decide then if I
> definitely keep it or if I buy Dorico!
>
> 1. Here is a first issue I wasn't able to figure out :
> 
>
> If I understood well the notation reference guide, when a voice start
> crossing staves, LP deactivate the automatic collusion. How can I solve
> this
> hairpin problem? I allready tried to write the dynamic marks either in the
> upper staff notes or in a separate dynamic voice, but I can't avoid the
> collusion.
>
> I'd like to add some space between the two staves but I had the
> impression that the chapter 4.4. about Vertical Spacing refers more about a
> global layout option but doesn't apply to this situation?
>
> 2. House-Style
>
> Like I already said in my first post, I worked a long time with
> Sibelius
> for wich I configured all the notation rules and made a nice House-Style
> (quite similar to Henle). My goal is to do the same here in Lilypond but
> I'd
> like to know if someone has already done something like that which could
> help me spare some time? (change all the fonts, the beams damping, lines
> thickness, etc. that would look more to this kind of edition). The mutopia
> scores I have consulted doesn't seem to change very much those parameters.
>
> Thank you for your precious help!
>
>
>
> --
> 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-02 Thread foxfanfare
Thank you for answering Helge. I didn't know the code was necessary to solve
my issue!

Here is the excerpt :


> \version "2.19.80"
> \language "english"
> 
> %Definitions and shorthands
> 
> % switch from upper staff to lower and vice versa
> toLH = { \change Staff = "LH" \voiceOne }
> toRH = { \change Staff = "RH" \voiceTwo }
> 
> 
> %- musical content
> ---
> 
> % right hand, voice 1
> RHone = \relative c'' {
>   
>   \voiceOne
>   \shape #'((0 . 0.5) (2 . 1) (-2 . 1) (0 . 0)) PhrasingSlur
>   ef4.\( |
>   
>   g16. f32 d8\) c16.[( d32)] |
>   \shape #'((0 . -0.5) (2 . 1) (-2 . 1) (0 . 0)) PhrasingSlur
>   ef4.\( |
>   bf'16. af32 d,8\) d16.[( ef32)] |
>   
> }
> 
> % right hand, voice 2
> RHtwo = \relative c'' {
>   
>   \voiceTwo
>   g16 f ef \toLH d c bf |
>   af4 \toRH af'8~ |
>   af16 g ef \toLH d c g |
>   f4 \toRH r8 |
> 
> }
> 
> % right hand, more voices
> RHmore = \relative c' {
>   
>   \voiceThree
>   s8 \tuplet 3/2 { ef16 g ef \voiceFour ef'[ g, ef'] |
>af, c af~ } af8 s | \voiceThree
>   s8 \tuplet 3/2 { ef16 g ef \voiceFour ef'[ g, ef'] |
>c d af~ } af8 s |
> 
> }
> 
> % left hand, voice 1
> LHone = \relative c, {
>   
>   \oneVoice \tuplet 3/2 { 
> 
> 16 ef' g } r s8. |
>   \voiceOne s16 c8 s8. |
>   \oneVoice \tuplet 3/2 { 
> 
> c,, c'
> 
> 16 ef' g } r s8. |
>   \voiceOne s16 c8 s8. |
>   
> }
> 
> % left hand, voice 2
> LHtwo = \relative c {
>   
>   \voiceTwo
>   
>   s8. c16\( ef g |
>   f, c'' f,\) \override Rest.staff-position = #0 r r8 | 
>   s8. c16\( ef g |
>   f, c'' f\) r r8 |
>  
> }
> 
> 
> % Dynamics
> 
> % tempo, bar lines and dynamics
> dynamics = {
>   \time 3/8
>   s4 s8\< |
>   s\> s4\! |
>   s4 s8\< |
>   s\> s4\! |
>   
> }
> 
> 
> %---Typeset music
> 
> \score {
>   \new PianoStaff \with {
> instrumentName = ""
> \accidentalStyle Score.piano
>   } <<
> \new Staff = "RH" \with {
>   midiInstrument = "acoustic grand"
> } <<
>   \clef treble
>   \key c \minor
>   \new Voice \RHone
>   \new Voice \RHtwo
>   \new Voice \RHmore
> >>
> \new Dynamics <<
>   \dynamics
> >>
> \new Staff = "LH" \with {
>   midiInstrument = "acoustic grand"
> } <<
>   \clef bass
>   \key c \minor
>   \new Voice \LHone
>   \new Voice \LHtwo
> >>
>   >>
>   
>   \layout {
> \accidentalStyle piano
> \context {
>   \Score
>   \omit TupletNumber
>   \omit TupletBracket
>   \mergeDifferentlyHeadedOn \mergeDifferentlyDottedOn
>   \override Beam.damping = #2.5
> }
>   }
> }

Thanks for you help.



--
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-02 Thread Helge Kruse
Am 02.04.2018 um 13:44 schrieb foxfanfare:
> I started to ask some questions, I thought better to start a separate thread
> in order to ask some of my newbie questions!
Yes it's very appreciated to start a new thread if you have your own
topic. Responding to old mail and just changing the topic would look
ugly in mail readers that support threaded view of mails.

> I started working on LilyPond last week and I find this software really
> interesting, though quite difficult to learn for a start! So, my project
> [...]
> If I understood well the notation reference guide, when a voice start
> crossing staves, LP deactivate the automatic collusion. How can I solve this
> hairpin problem? I allready tried to write the dynamic marks either in the
> upper staff notes or in a separate dynamic voice, but I can't avoid the
> collusion.
Thanks for the good picture and the description what you have tried. But
we can't know how your Lilypond file looks like. It won't help you if
somebody guesses what you've done. Please strip down your score and
provide a minimal example of the source file that can be compiled by
Lilypond. Obviously you've already done the fist part, since you could
create the PNG file. Please attach the .ly file. Yo we can reproduce the
behavior exactly.

Best regards
Helge

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