Re: Showing fingering on top of slurs

2024-05-09 Thread Knute Snortum
On Thu, May 9, 2024 at 7:05 AM Paul McKay  wrote:

> Hi
> I want to show the fingering in front of the slurs. This should keep the
> fingerings evenly spaced vertically over the notes.  I have tried the
> following :
>
> \version "2.24.0"
> \language "english"
>
> \relative {
>     \override Staff.Fingering.layer = 2 % fingering should overwrite
> slurs
> r4 r8 -1-3( 16-2-4 -1-5-2-4-3-5) }
>
> Fingerings still avoid the slurs.
> What am I missing?
>

I'm not sure what you want to achieve, but try adding the avoid-slur
property to the fingering:

\version "2.24.0"
\language "english"

\relative {
\override Staff.Fingering.layer = 2 % fingering should overwrite
slurs
\override Staff.Fingering.avoid-slur = #'ignore
r4 r8 -1-3( 16-2-4 -1-5-2-4-3-5) }

https://lilypond.org/doc/v2.24/Documentation/internals/slur


--
Knute Snortum


Showing fingering on top of slurs

2024-05-09 Thread Paul McKay
Hi
I want to show the fingering in front of the slurs. This should keep the
fingerings evenly spaced vertically over the notes.  I have tried the
following :

\version "2.24.0"
\language "english"

\relative {
\override Staff.Fingering.layer = 2 % fingering should overwrite
slurs
r4 r8 -1-3( 16-2-4 -1-5-2-4-3-5) }

Fingerings still avoid the slurs.
What am I missing?
Thanks
Paul McKay


Re: Moving a fingering mark below a slur

2024-02-28 Thread Xavier Scheuer
On Wed, 28 Feb 2024 at 12:07, Peter Mayes  wrote:

> As a beginner at Lilypond, I was looking for a way to achieve this. I
started just saying c4^"III" or similar. I then modified that to use
\markup to shrink the text. But if there is a more "natural" way of adding
these fingering marks, I would be happy to learn of it!

The advantage of using \finger is that your indication is applied as a
fingering indication.
Thus, if for example you decide to remove all your fingerings it would be
removed as well.

> Here is a fragment which shows what I was trying to avoid:
>
> "Should it always be kept inside the slur?" - I think the answer is "not
always" - it only looks wrong to me when the mark is a long way from the
note.

Actually in this case with the default value of avoid-slur of 'around the
fingering would be also inside the slur (but outside for your first
example).
See the code below (it is probably different than the code you used, but
you get the idea):

rit = -\markup { \italic rit. }
II = -\finger \markup { \fontsize #-4 II }
aTempo = ^\markup { \italic "a tempo" }

\relative c''' {
  \time 3/8
  c16(\> c,^\rit dis\II c' eis, c')\fermata |
  c,8(\p\aTempo f g)
}

Kind regards,
Xavier


Re: Moving a fingering mark below a slur

2024-02-28 Thread Peter Mayes

Thanks for the information.

In music for the oboe there are one or two marks that are used to 
indicate alternative fingerings, which are preferable depending on the 
notes on either side. They are usually "II", "III", "L" placed close to 
the note.


As a beginner at Lilypond, I was looking for a way to achieve this. I 
started just saying c4^"III" or similar. I then modified that to use 
\markup to shrink the text. But if there is a more "natural" way of 
adding these fingering marks, I would be happy to learn of it!


Here is a fragment which shows what I was trying to avoid:

"Should it always be kept inside the slur?" - I think the answer is "not 
always" - it only looks wrong to me when the mark is a long way from the 
note.


Thanks again

-- Peter

On 27/02/2024 19:03, Xavier Scheuer wrote:

On Tue, 27 Feb 2024 at 17:28, Peter Mayes  wrote:
>
> Almost certainly a fairly trivial question: in bar 3, how to put the 
"L" mark above the note, but below the slur?


Hello,

Should the "L" mark really be considered as a Fingering object? 
Because as you currently define it, it's a TextScript.

Should it always be kept inside the slur?

In that case adapt your definition of "left" to this:
left = -\tweak avoid-slur #'inside \finger \markup { \fontsize #-4 L }

Kind regards,
Xavier


Re: Moving a fingering mark below a slur

2024-02-27 Thread Xavier Scheuer
On Tue, 27 Feb 2024 at 17:28, Peter Mayes  wrote:
>
> Almost certainly a fairly trivial question: in bar 3, how to put the "L"
mark above the note, but below the slur?

Hello,

Should the "L" mark really be considered as a Fingering object? Because as
you currently define it, it's a TextScript.
Should it always be kept inside the slur?

In that case adapt your definition of "left" to this:
left = -\tweak avoid-slur #'inside \finger \markup { \fontsize #-4 L }

Kind regards,
Xavier


Moving a fingering mark below a slur

2024-02-27 Thread Peter Mayes
Almost certainly a fairly trivial question: in bar 3, how to put the "L" 
mark above the note, but below the slur?


(There are places where the slur is a long way above the note in 
question, so that the mark seems much too far from the note to which it 
is attached.)


\version "2.25.12"

left = \markup { \fontsize #-4 L }

TheBusiness = \relative b' {
  \key fis \minor
  \time 3/8

  cis8\p( fis gis) | %Bar 1
  a8. gis16-. fis8-. | %Bar 2
  gis8( a^\left gis) | %Bar 3
  fis4 cis8 | %Bar 4
}

\score {
  \new Staff {
    \TheBusiness
  }
  \layout {}
}

--
Best wishes -- Peter
--


Re: Fingering orientations

2023-09-17 Thread Jean Abou Samra

> Oh, I see, thank you. I've realised I gave the wrong link to the page I
> read that mentioned fingeringOrientations, it was in "Selected
> Snippets" I can't in fact find where this variable is described...


https://lilypond.org/doc/v2.24/Documentation/learning/within_002dstaff-objects.html#fingering

Granted, that explanation would also fit in the notation manual.




signature.asc
Description: This is a digitally signed message part


Re: Fingering orientations

2023-09-17 Thread Richard Shann
On Sun, 2023-09-17 at 14:58 +0200, Jean Abou Samra wrote:
> Le dimanche 17 septembre 2023 à 12:56 +0100, Richard Shann a écrit :
> > I can't figure out why this:
> > 
> > \version "2.24.0"
> > {
> >     \set fingeringOrientations = #'( left right up down)  > ''-1
> > e ''-2 g''-3 >
> > }
> > 
> > outputs the 0 and 3 fingerings down and up respectively and the
> > other
> > two right with nothing on left.
> > 
> > Is there a limitation to two note chords? Or what?
> > I'm consulting
> > https://lilypond.org/doc/v2.24/Documentation/notation/direction-and-placement
> 
> 
> fingeringOrientations isn't a list with one entry per fingering. It's
> a list of orientations that LilyPond is *allowed* to choose for
> fingerings. It will always prefer putting fingerings on the right
> rather than on the left, if allowed to.

Oh, I see, thank you. I've realised I gave the wrong link to the page I
read that mentioned fingeringOrientations, it was in "Selected
Snippets" I can't in fact find where this variable is described...

Richard

> 
> 
> Best,
> Jean
> 




Re: Fingering orientations

2023-09-17 Thread Jean Abou Samra
Le dimanche 17 septembre 2023 à 12:56 +0100, Richard Shann a écrit :
> I can't figure out why this:
> 
> \version "2.24.0"
> {
>     \set fingeringOrientations = #'( left right up down)  e ''-2 g''-3 >
> }
> 
> outputs the 0 and 3 fingerings down and up respectively and the other
> two right with nothing on left.
> 
> Is there a limitation to two note chords? Or what?
> I'm consulting
> https://lilypond.org/doc/v2.24/Documentation/notation/direction-and-placement


fingeringOrientations isn't a list with one entry per fingering. It's a list of
orientations that LilyPond is *allowed* to choose for fingerings. It will always
prefer putting fingerings on the right rather than on the left, if allowed to.


Best,
Jean



signature.asc
Description: This is a digitally signed message part


Fingering orientations

2023-09-17 Thread Richard Shann
I can't figure out why this:

\version "2.24.0"
{
\set fingeringOrientations = #'( left right up down) 
}

outputs the 0 and 3 fingerings down and up respectively and the other
two right with nothing on left.

Is there a limitation to two note chords? Or what?
I'm consulting
https://lilypond.org/doc/v2.24/Documentation/notation/direction-and-placement

Richard Shann




Re: fingering and pedal marking questions

2023-01-25 Thread Knute Snortum
On Wed, Jan 25, 2023 at 12:00 PM Knute Snortum  wrote:
>
> Maybe this is what you're looking for?
>
> \version "2.22.2"
>
> leftHand = {
>   \clef bass
>  e,2 g,  |
> }
> pedal = {
>   \set Dynamics.pedalSustainStyle = #'bracket
>   % \override Dynamics.SustainPedal.self-alignment-X = #CENTER
>   % The line below does what you want, I believe
>   \override Dynamics.PianoPedalBracket.shorten-pair = #'(1 . -1)
>   s2\sustainOn s2\sustainOff \sustainOn
> }
>
> \score {
>
><<
>  \new Staff = "leftHand"  {  \leftHand  }
>  \new Dynamics { \pedal }
>>>
>
> }

What is confusing to me though is that this snippet from the manual
seems to have pedalling in the center by default, without any
fiddling.

https://lilypond.org/doc/v2.22/Documentation/notation/piano

\relative {
  c''4\sustainOn g c2\sustainOff
  \set Staff.pedalSustainStyle = #'mixed
  c4\sustainOn g c d
  d\sustainOff\sustainOn g, c2\sustainOff
  \set Staff.pedalSustainStyle = #'bracket
  c4\sustainOn g c d
  d\sustainOff\sustainOn g, c2
  \bar "|."
}


--
Knute Snortum



Re: fingering and pedal marking questions

2023-01-25 Thread Knute Snortum
Maybe this is what you're looking for?

\version "2.22.2"

leftHand = {
  \clef bass
 e,2 g,  |
}
pedal = {
  \set Dynamics.pedalSustainStyle = #'bracket
  % \override Dynamics.SustainPedal.self-alignment-X = #CENTER
  % The line below does what you want, I believe
  \override Dynamics.PianoPedalBracket.shorten-pair = #'(1 . -1)
  s2\sustainOn s2\sustainOff \sustainOn
}

\score {

   <<
 \new Staff = "leftHand"  {  \leftHand  }
 \new Dynamics { \pedal }
   >>

}


--
Knute Snortum


On Tue, Jan 24, 2023 at 8:06 PM Molly Preston  wrote:
>
> Interesting! They look more different on yours than on mine. I'm not sure why.
>
> -Molly
>
> On Tue, Jan 24, 2023 at 10:57 PM Mark Mathias  wrote:
>>
>> On Tue, Jan 24, 2023 at 10:37 PM Molly Preston  
>> wrote:
>>>
>>> Yeah I tried that and it didn't look any different to me. I want the 
>>> sustainOn to be in the middle of the note head.
>>>
>>> On Tue, Jan 24, 2023, 22:07 Mark Mathias  wrote:
>>>>
>>>> On Tue, Jan 24, 2023 at 7:52 PM Molly Preston  
>>>> wrote:
>>>>>
>>>>> Thank you so much Knute!
>>>>>
>>>>> I have another question. Is there a way to get the sustain pedal to be 
>>>>> directly underneath the note instead of to the left? I tried 
>>>>> self-alignment-x = #1, but it didn't change anything.
>>>>>
>>>>>
>>>>>
>>>>> \version "2.22.2"
>>>>>
>>>>> leftHand = {
>>>>>   \clef bass
>>>>>  e,2 g,  |
>>>>> }
>>>>> pedal = {
>>>>>   \override SustainPedal.self-alignment-X = #0
>>>>>   s4\sustainOn s4 \sustainOff \sustainOn s4\sustainOff s4
>>>>> }
>>>>>
>>>>> \score {
>>>>>
>>>>><< \new Staff = "leftHand"  {  \leftHand  }
>>>>>    \new Dynamics  { \set Score.pedalSustainStyle = #'bracket { 
>>>>> \pedal } }
>>>>>>>
>>>>>
>>>>>
>>>>> }
>>>>>
>>>>> Thank you again!
>>>>>
>>>>> Molly
>>>>>
>>>>> On Tue, Jan 24, 2023, 18:42 Knute Snortum  wrote:
>>>>>>
>>>>>> On Tue, Jan 24, 2023 at 1:07 PM Molly Preston  
>>>>>> wrote:
>>>>>> >
>>>>>> > Hi! I'm doing a notation assignment.
>>>>>> >
>>>>>> > 1) How do I get the pedal markings to show up bracket style when using 
>>>>>> > the Dynamics context for it?
>>>>>> >
>>>>>> > 2) How do I get the fingering 1 in the second voice to move above the 
>>>>>> > Staff?
>>>>>>
>>>>>> 1) Use score context for setting the pedal style
>>>>>> 2) I would just put both fingerings in the first voice
>>>>>>
>>>>>> Here's what I did with your score.  There were a lot of extraneous
>>>>>> things that I took out.
>>>>>>
>>>>>> \version "2.22.2"
>>>>>>
>>>>>> rightHand = {
>>>>>>   <<
>>>>>>   {
>>>>>> % Put both fingerings here
>>>>>> a'4-1-4 b' c'' dis''
>>>>>>   }
>>>>>>   \\
>>>>>>   {
>>>>>> e'2
>>>>>>   }
>>>>>>   >>
>>>>>> }
>>>>>>
>>>>>> leftHand = {
>>>>>>   \clef bass
>>>>>>   d2 c2 |
>>>>>> }
>>>>>>
>>>>>> pedal = {
>>>>>>   % I wasn't sure what you wanted here
>>>>>>   s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
>>>>>> }
>>>>>>
>>>>>> \score {
>>>>>>
>>>>>>   \new PianoStaff <<
>>>>>> \new Staff = "rightHand" \rightHand
>>>>>> \new Staff = "leftHand"  {  \leftHand  }
>>>>>> % Set pedal style to score context
>>>>>> \new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
>>>>>>   >>
>>>>>>
>>>>>> }
>>>>>>
>>>>>> --
>>>>>> Knute Snortum
>>>>
>>>>
>>>> Maybe try:
>>>>
>>>> \version "2.22.2"
>>>>
>>>> leftHand = {
>>>>   \clef bass
>>>>  e,2 g,  |
>>>> }
>>>> pedal = {
>>>>   \override SustainPedal.self-alignment-X = #0
>>>>   s16 s16 \sustainOn s8 s4 \sustainOff \sustainOn
>>>>   s4\sustainOff s4
>>>> }
>>>>
>>>> \score {
>>>>
>>>><< \new Staff = "leftHand"  {  \leftHand  }
>>>>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket { 
>>>> \pedal } }
>>>>>>
>>>>
>>>>
>>>> }
>>>>
>>>> Mark Mathias
>>
>>
>> I suspected that was too easy. Someone will come up with something more 
>> sophisticated for you, no doubt. Anyway, they look different to me, but not 
>> different enough to satisfy what you're looking for.


sustain-test-1.pdf
Description: Adobe PDF document


Re: fingering and pedal marking questions

2023-01-24 Thread Molly Preston
Interesting! They look more different on yours than on mine. I'm not sure
why.

-Molly

On Tue, Jan 24, 2023 at 10:57 PM Mark Mathias  wrote:

> On Tue, Jan 24, 2023 at 10:37 PM Molly Preston 
> wrote:
>
>> Yeah I tried that and it didn't look any different to me. I want the
>> sustainOn to be in the middle of the note head.
>>
>> On Tue, Jan 24, 2023, 22:07 Mark Mathias  wrote:
>>
>>> On Tue, Jan 24, 2023 at 7:52 PM Molly Preston 
>>> wrote:
>>>
>>>> Thank you so much Knute!
>>>>
>>>> I have another question. Is there a way to get the sustain pedal to be
>>>> directly underneath the note instead of to the left? I tried
>>>> self-alignment-x = #1, but it didn't change anything.
>>>>
>>>>
>>>>
>>>> \version "2.22.2"
>>>>
>>>> leftHand = {
>>>>   \clef bass
>>>>  e,2 g,  |
>>>> }
>>>> pedal = {
>>>>   \override SustainPedal.self-alignment-X = #0
>>>>   s4\sustainOn s4 \sustainOff \sustainOn s4\sustainOff s4
>>>> }
>>>>
>>>> \score {
>>>>
>>>><< \new Staff = "leftHand"  {  \leftHand  }
>>>>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
>>>> \pedal } }
>>>>>>
>>>>
>>>>
>>>> }
>>>>
>>>> Thank you again!
>>>>
>>>> Molly
>>>>
>>>> On Tue, Jan 24, 2023, 18:42 Knute Snortum  wrote:
>>>>
>>>>> On Tue, Jan 24, 2023 at 1:07 PM Molly Preston <
>>>>> mollypresto...@gmail.com> wrote:
>>>>> >
>>>>> > Hi! I'm doing a notation assignment.
>>>>> >
>>>>> > 1) How do I get the pedal markings to show up bracket style when
>>>>> using the Dynamics context for it?
>>>>> >
>>>>> > 2) How do I get the fingering 1 in the second voice to move above
>>>>> the Staff?
>>>>>
>>>>> 1) Use score context for setting the pedal style
>>>>> 2) I would just put both fingerings in the first voice
>>>>>
>>>>> Here's what I did with your score.  There were a lot of extraneous
>>>>> things that I took out.
>>>>>
>>>>> \version "2.22.2"
>>>>>
>>>>> rightHand = {
>>>>>   <<
>>>>>   {
>>>>> % Put both fingerings here
>>>>> a'4-1-4 b' c'' dis''
>>>>>   }
>>>>>   \\
>>>>>   {
>>>>> e'2
>>>>>   }
>>>>>   >>
>>>>> }
>>>>>
>>>>> leftHand = {
>>>>>   \clef bass
>>>>>   d2 c2 |
>>>>> }
>>>>>
>>>>> pedal = {
>>>>>   % I wasn't sure what you wanted here
>>>>>   s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
>>>>> }
>>>>>
>>>>> \score {
>>>>>
>>>>>   \new PianoStaff <<
>>>>> \new Staff = "rightHand" \rightHand
>>>>> \new Staff = "leftHand"  {  \leftHand  }
>>>>> % Set pedal style to score context
>>>>> \new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
>>>>>   >>
>>>>>
>>>>> }
>>>>>
>>>>> --
>>>>> Knute Snortum
>>>>>
>>>>
>>> Maybe try:
>>>
>>> \version "2.22.2"
>>>
>>> leftHand = {
>>>   \clef bass
>>>  e,2 g,  |
>>> }
>>> pedal = {
>>>   \override SustainPedal.self-alignment-X = #0
>>>   s16 s16 \sustainOn s8 s4 \sustainOff \sustainOn
>>>   s4\sustainOff s4
>>> }
>>>
>>> \score {
>>>
>>><< \new Staff = "leftHand"  {  \leftHand  }
>>>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
>>> \pedal } }
>>>>>
>>>
>>>
>>> }
>>>
>>> Mark Mathias
>>>
>>
> I suspected that was too easy. Someone will come up with something more
> sophisticated for you, no doubt. Anyway, they look different to me, but not
> different enough to satisfy what you're looking for.
>


pedal variable test.pdf
Description: Adobe PDF document


Re: fingering and pedal marking questions

2023-01-24 Thread Mark Mathias
On Tue, Jan 24, 2023 at 10:37 PM Molly Preston 
wrote:

> Yeah I tried that and it didn't look any different to me. I want the
> sustainOn to be in the middle of the note head.
>
> On Tue, Jan 24, 2023, 22:07 Mark Mathias  wrote:
>
>> On Tue, Jan 24, 2023 at 7:52 PM Molly Preston 
>> wrote:
>>
>>> Thank you so much Knute!
>>>
>>> I have another question. Is there a way to get the sustain pedal to be
>>> directly underneath the note instead of to the left? I tried
>>> self-alignment-x = #1, but it didn't change anything.
>>>
>>>
>>>
>>> \version "2.22.2"
>>>
>>> leftHand = {
>>>   \clef bass
>>>  e,2 g,  |
>>> }
>>> pedal = {
>>>   \override SustainPedal.self-alignment-X = #0
>>>   s4\sustainOn s4 \sustainOff \sustainOn s4\sustainOff s4
>>> }
>>>
>>> \score {
>>>
>>><< \new Staff = "leftHand"  {  \leftHand  }
>>>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
>>> \pedal } }
>>>>>
>>>
>>>
>>> }
>>>
>>> Thank you again!
>>>
>>> Molly
>>>
>>> On Tue, Jan 24, 2023, 18:42 Knute Snortum  wrote:
>>>
>>>> On Tue, Jan 24, 2023 at 1:07 PM Molly Preston 
>>>> wrote:
>>>> >
>>>> > Hi! I'm doing a notation assignment.
>>>> >
>>>> > 1) How do I get the pedal markings to show up bracket style when
>>>> using the Dynamics context for it?
>>>> >
>>>> > 2) How do I get the fingering 1 in the second voice to move above the
>>>> Staff?
>>>>
>>>> 1) Use score context for setting the pedal style
>>>> 2) I would just put both fingerings in the first voice
>>>>
>>>> Here's what I did with your score.  There were a lot of extraneous
>>>> things that I took out.
>>>>
>>>> \version "2.22.2"
>>>>
>>>> rightHand = {
>>>>   <<
>>>>   {
>>>> % Put both fingerings here
>>>> a'4-1-4 b' c'' dis''
>>>>   }
>>>>   \\
>>>>   {
>>>> e'2
>>>>   }
>>>>   >>
>>>> }
>>>>
>>>> leftHand = {
>>>>   \clef bass
>>>>   d2 c2 |
>>>> }
>>>>
>>>> pedal = {
>>>>   % I wasn't sure what you wanted here
>>>>   s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
>>>> }
>>>>
>>>> \score {
>>>>
>>>>   \new PianoStaff <<
>>>> \new Staff = "rightHand" \rightHand
>>>> \new Staff = "leftHand"  {  \leftHand  }
>>>> % Set pedal style to score context
>>>> \new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
>>>>   >>
>>>>
>>>> }
>>>>
>>>> --
>>>> Knute Snortum
>>>>
>>>
>> Maybe try:
>>
>> \version "2.22.2"
>>
>> leftHand = {
>>   \clef bass
>>  e,2 g,  |
>> }
>> pedal = {
>>   \override SustainPedal.self-alignment-X = #0
>>   s16 s16 \sustainOn s8 s4 \sustainOff \sustainOn
>>   s4\sustainOff s4
>> }
>>
>> \score {
>>
>><< \new Staff = "leftHand"  {  \leftHand  }
>>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
>> \pedal } }
>>>>
>>
>>
>> }
>>
>> Mark Mathias
>>
>
I suspected that was too easy. Someone will come up with something more
sophisticated for you, no doubt. Anyway, they look different to me, but not
different enough to satisfy what you're looking for.


PianoPedalSustain-altered.pdf
Description: Adobe PDF document


PianoPedalSustain-orig.pdf
Description: Adobe PDF document


Re: fingering and pedal marking questions

2023-01-24 Thread Molly Preston
Yeah I tried that and it didn't look any different to me. I want the
sustainOn to be in the middle of the note head.

On Tue, Jan 24, 2023, 22:07 Mark Mathias  wrote:

> On Tue, Jan 24, 2023 at 7:52 PM Molly Preston 
> wrote:
>
>> Thank you so much Knute!
>>
>> I have another question. Is there a way to get the sustain pedal to be
>> directly underneath the note instead of to the left? I tried
>> self-alignment-x = #1, but it didn't change anything.
>>
>>
>>
>> \version "2.22.2"
>>
>> leftHand = {
>>   \clef bass
>>  e,2 g,  |
>> }
>> pedal = {
>>   \override SustainPedal.self-alignment-X = #0
>>   s4\sustainOn s4 \sustainOff \sustainOn s4\sustainOff s4
>> }
>>
>> \score {
>>
>><< \new Staff = "leftHand"  {  \leftHand  }
>>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
>> \pedal } }
>>>>
>>
>>
>> }
>>
>> Thank you again!
>>
>> Molly
>>
>> On Tue, Jan 24, 2023, 18:42 Knute Snortum  wrote:
>>
>>> On Tue, Jan 24, 2023 at 1:07 PM Molly Preston 
>>> wrote:
>>> >
>>> > Hi! I'm doing a notation assignment.
>>> >
>>> > 1) How do I get the pedal markings to show up bracket style when using
>>> the Dynamics context for it?
>>> >
>>> > 2) How do I get the fingering 1 in the second voice to move above the
>>> Staff?
>>>
>>> 1) Use score context for setting the pedal style
>>> 2) I would just put both fingerings in the first voice
>>>
>>> Here's what I did with your score.  There were a lot of extraneous
>>> things that I took out.
>>>
>>> \version "2.22.2"
>>>
>>> rightHand = {
>>>   <<
>>>   {
>>> % Put both fingerings here
>>> a'4-1-4 b' c'' dis''
>>>   }
>>>   \\
>>>   {
>>> e'2
>>>   }
>>>   >>
>>> }
>>>
>>> leftHand = {
>>>   \clef bass
>>>   d2 c2 |
>>> }
>>>
>>> pedal = {
>>>   % I wasn't sure what you wanted here
>>>   s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
>>> }
>>>
>>> \score {
>>>
>>>   \new PianoStaff <<
>>> \new Staff = "rightHand" \rightHand
>>> \new Staff = "leftHand"  {  \leftHand  }
>>> % Set pedal style to score context
>>> \new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
>>>   >>
>>>
>>> }
>>>
>>> --
>>> Knute Snortum
>>>
>>
> Maybe try:
>
> \version "2.22.2"
>
> leftHand = {
>   \clef bass
>  e,2 g,  |
> }
> pedal = {
>   \override SustainPedal.self-alignment-X = #0
>   s16 s16 \sustainOn s8 s4 \sustainOff \sustainOn
>   s4\sustainOff s4
> }
>
> \score {
>
><< \new Staff = "leftHand"  {  \leftHand  }
>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
> \pedal } }
>>>
>
>
> }
>
> Mark Mathias
>


Re: fingering and pedal marking questions

2023-01-24 Thread Mark Mathias
On Tue, Jan 24, 2023 at 7:52 PM Molly Preston 
wrote:

> Thank you so much Knute!
>
> I have another question. Is there a way to get the sustain pedal to be
> directly underneath the note instead of to the left? I tried
> self-alignment-x = #1, but it didn't change anything.
>
>
>
> \version "2.22.2"
>
> leftHand = {
>   \clef bass
>  e,2 g,  |
> }
> pedal = {
>   \override SustainPedal.self-alignment-X = #0
>   s4\sustainOn s4 \sustainOff \sustainOn s4\sustainOff s4
> }
>
> \score {
>
><< \new Staff = "leftHand"  {  \leftHand  }
>\new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
> \pedal } }
>>>
>
>
> }
>
> Thank you again!
>
> Molly
>
> On Tue, Jan 24, 2023, 18:42 Knute Snortum  wrote:
>
>> On Tue, Jan 24, 2023 at 1:07 PM Molly Preston 
>> wrote:
>> >
>> > Hi! I'm doing a notation assignment.
>> >
>> > 1) How do I get the pedal markings to show up bracket style when using
>> the Dynamics context for it?
>> >
>> > 2) How do I get the fingering 1 in the second voice to move above the
>> Staff?
>>
>> 1) Use score context for setting the pedal style
>> 2) I would just put both fingerings in the first voice
>>
>> Here's what I did with your score.  There were a lot of extraneous
>> things that I took out.
>>
>> \version "2.22.2"
>>
>> rightHand = {
>>   <<
>>   {
>> % Put both fingerings here
>> a'4-1-4 b' c'' dis''
>>   }
>>   \\
>>   {
>> e'2
>>   }
>>   >>
>> }
>>
>> leftHand = {
>>   \clef bass
>>   d2 c2 |
>> }
>>
>> pedal = {
>>   % I wasn't sure what you wanted here
>>   s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
>> }
>>
>> \score {
>>
>>   \new PianoStaff <<
>> \new Staff = "rightHand" \rightHand
>> \new Staff = "leftHand"  {  \leftHand  }
>> % Set pedal style to score context
>> \new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
>>   >>
>>
>> }
>>
>> --
>> Knute Snortum
>>
>
Maybe try:

\version "2.22.2"

leftHand = {
  \clef bass
 e,2 g,  |
}
pedal = {
  \override SustainPedal.self-alignment-X = #0
  s16 s16 \sustainOn s8 s4 \sustainOff \sustainOn
  s4\sustainOff s4
}

\score {

   << \new Staff = "leftHand"  {  \leftHand  }
   \new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
\pedal } }
   >>


}

Mark Mathias


Re: fingering and pedal marking questions

2023-01-24 Thread Molly Preston
Thank you so much Knute!

I have another question. Is there a way to get the sustain pedal to be
directly underneath the note instead of to the left? I tried
self-alignment-x = #1, but it didn't change anything.



\version "2.22.2"

leftHand = {
  \clef bass
 e,2 g,  |
}
pedal = {
  \override SustainPedal.self-alignment-X = #0
  s4\sustainOn s4 \sustainOff \sustainOn s4\sustainOff s4
}

\score {

   << \new Staff = "leftHand"  {  \leftHand  }
   \new Dynamics  { \set Score.pedalSustainStyle = #'bracket {
\pedal } }
   >>


}

Thank you again!

Molly

On Tue, Jan 24, 2023, 18:42 Knute Snortum  wrote:

> On Tue, Jan 24, 2023 at 1:07 PM Molly Preston 
> wrote:
> >
> > Hi! I'm doing a notation assignment.
> >
> > 1) How do I get the pedal markings to show up bracket style when using
> the Dynamics context for it?
> >
> > 2) How do I get the fingering 1 in the second voice to move above the
> Staff?
>
> 1) Use score context for setting the pedal style
> 2) I would just put both fingerings in the first voice
>
> Here's what I did with your score.  There were a lot of extraneous
> things that I took out.
>
> \version "2.22.2"
>
> rightHand = {
>   <<
>   {
> % Put both fingerings here
> a'4-1-4 b' c'' dis''
>   }
>   \\
>   {
> e'2
>   }
>   >>
> }
>
> leftHand = {
>   \clef bass
>   d2 c2 |
> }
>
> pedal = {
>   % I wasn't sure what you wanted here
>   s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
> }
>
> \score {
>
>   \new PianoStaff <<
> \new Staff = "rightHand" \rightHand
> \new Staff = "leftHand"  {  \leftHand  }
> % Set pedal style to score context
> \new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
>   >>
>
> }
>
> --
> Knute Snortum
>


Re: fingering and pedal marking questions

2023-01-24 Thread Knute Snortum
On Tue, Jan 24, 2023 at 1:07 PM Molly Preston  wrote:
>
> Hi! I'm doing a notation assignment.
>
> 1) How do I get the pedal markings to show up bracket style when using the 
> Dynamics context for it?
>
> 2) How do I get the fingering 1 in the second voice to move above the Staff?

1) Use score context for setting the pedal style
2) I would just put both fingerings in the first voice

Here's what I did with your score.  There were a lot of extraneous
things that I took out.

\version "2.22.2"

rightHand = {
  <<
  {
% Put both fingerings here
a'4-1-4 b' c'' dis''
  }
  \\
  {
e'2
  }
  >>
}

leftHand = {
  \clef bass
  d2 c2 |
}

pedal = {
  % I wasn't sure what you wanted here
  s4\sustainOn s\sustainOff s\sustainOn s\sustainOff
}

\score {

  \new PianoStaff <<
\new Staff = "rightHand" \rightHand
\new Staff = "leftHand"  {  \leftHand  }
% Set pedal style to score context
\new Dynamics  { \set Score.pedalSustainStyle = #'bracket \pedal }
  >>

}

--
Knute Snortum



fingering and pedal marking questions

2023-01-24 Thread Molly Preston
Hi! I'm doing a notation assignment.

1) How do I get the pedal markings to show up bracket style when using the
Dynamics context for it?

2) How do I get the fingering 1 in the second voice to move above the Staff?

\version "2.22.2"


rightHand = {
  <<
  \voiceOne {
  \set fingeringOrientations = #'(up)
  a'4-4 b' c'' dis''
  }
  \\
  \voiceTwo {
\set fingeringOrientations = #'(up)
e'2-1
  }
  >>
}

leftHand = {
  \clef bass
  d2 c2 |
}

pedal = {
  s8\sustainOn s8 \sustainOff \sustainOff s4\sustainOn s4 \sustainOff
}

\score {

 \new PianoStaff <<

   \new Staff = "rightHand" \rightHand
   << \new Staff = "leftHand"  {  \leftHand  }
   \new Dynamics  { \set Staff.pedalSustainStyle = #'bracket {
\pedal } }
   >>

 >>

}

Thanks!

Molly


Re: Collision with fingering, tuplet, and slur

2023-01-01 Thread Simon Martineau

Hello Stephan,

Happy new year to you too !

I asked a similar question yesterday on the French forum, a priori it's a bug. 
Jean sent me to this page where there is a workaround:

https://gitlab.com/lilypond/lilypond/-/issues/6346

On Sun, Jan 01, 2023 at 11:37:34PM +0100, Stephan Schöll wrote:

Hi all

First of all, wish a happy New Year to all of you!

I'm struggling with a collision of fingerings and a tuplet number when a
slur is around:

\version "2.24.0"

\relative c' {
 \time 2/4
 \tuplet 3/2 { e8^1 g^2 c^5}
 \tuplet 3/2 { g_5 c_2 e_1}
}

\relative c' {
 \time 2/4
 \tuplet 3/2 { e8^1( g^2 c^5}
 \tuplet 3/2 { g_5 c_2 e_1)}
}

Happens with 2.22.2 and 2.24.0

a) Is this a bug?
b) Is there an easy fix without having to position invividual numbers
horizontally or vertically?

TIA
Stephan




--
https://www.simonmartineau.com/  
+33 (0)6 17 94 06 72




Collision with fingering, tuplet, and slur

2023-01-01 Thread Stephan Schöll

Hi all

First of all, wish a happy New Year to all of you!

I'm struggling with a collision of fingerings and a tuplet number when a
slur is around:

\version "2.24.0"

\relative c' {
  \time 2/4
  \tuplet 3/2 { e8^1 g^2 c^5}
  \tuplet 3/2 { g_5 c_2 e_1}
}

\relative c' {
  \time 2/4
  \tuplet 3/2 { e8^1( g^2 c^5}
  \tuplet 3/2 { g_5 c_2 e_1)}
}

Happens with 2.22.2 and 2.24.0

a) Is this a bug?
b) Is there an easy fix without having to position invividual numbers
horizontally or vertically?

TIA
Stephan




Re: Moving fingering, spacing between staves

2022-09-09 Thread Knute Snortum
On Fri, Sep 9, 2022 at 8:04 AM David Wright  wrote:
>
> On Fri 09 Sep 2022 at 10:38:24 (+0200), Jean Abou Samra wrote:
> > Le 07/09/2022 à 01:00, Knute Snortum a écrit :
> > > In order to avoid the AB problem,
> >
> > What do you call by "AB problem"?
>
> https://en.wikipedia.org/wiki/XY_problem
>
> > > what I'm trying to do is move some
> > > fingering down in the system, but the problem I run into is I get too
> > > much space between staves.
>
> A tyro would have asked how to close up the staves
> and cause a timewasting discussion, before eventually
> revealing the real cause of the problem: that they'd
> moved the fingering in an inappropriate manner.
>
> Cheers,
> David.

Jean: thank you very much for a solution to my problem, and the explanation.

David and Andrew: Yes, the XY problem (or question) is what I meant.
I started the email as "how do I get the staves to be closer
together," then realized this was the wrong question.



Re: Moving fingering, spacing between staves

2022-09-09 Thread David Wright
On Fri 09 Sep 2022 at 10:38:24 (+0200), Jean Abou Samra wrote:
> Le 07/09/2022 à 01:00, Knute Snortum a écrit :
> > In order to avoid the AB problem,
> 
> What do you call by "AB problem"?

https://en.wikipedia.org/wiki/XY_problem

> > what I'm trying to do is move some
> > fingering down in the system, but the problem I run into is I get too
> > much space between staves.

A tyro would have asked how to close up the staves
and cause a timewasting discussion, before eventually
revealing the real cause of the problem: that they'd
moved the fingering in an inappropriate manner.

Cheers,
David.



Re: Moving fingering, spacing between staves

2022-09-09 Thread Andrew Bernard

He may mean the XY question! :-) [I am also wondering...]

Andrew


On 9/09/2022 6:38 pm, Jean Abou Samra wrote:

Hi,

Le 07/09/2022 à 01:00, Knute Snortum a écrit :

In order to avoid the AB problem,



What do you call by "AB problem"?





Re: Moving fingering, spacing between staves

2022-09-09 Thread Jean Abou Samra

Hi,

Le 07/09/2022 à 01:00, Knute Snortum a écrit :

In order to avoid the AB problem,



What do you call by "AB problem"?



what I'm trying to do is move some
fingering down in the system, but the problem I run into is I get too
much space between staves.

Here is a MWE:

[...]

I've attached a screenshot of what that looks like.  The problem is
there is too much space between the fingering and the markup, and this
may be because I'm not moving the fingering in the correct way.  The
X-offset works fine, but I couldn't get negative numbers to work with
Y-offset, so I tried Y-extent.  Unfortunately, I don't exactly
understand what the pair of numbers means.  It has something to do
with size, but it appears to act chaotically sometimes.  The manual
only says, "Extent (size) in the Y direction, measured in staff-space
units, relative to object’s reference point" but this doesn't tell me
what the two numbers stand for.

I'm hoping someone can explain the "extent" properties to me and help
me move the fingering without the extra space between staves.





To visualize what Y-extent does, you can compile this:


\version "2.23.13"

moveFingerB = {
  \override Fingering.X-offset = -0.5
  \override Fingering.Y-extent = #'(2 . 3)
  \override Fingering.stencil =
    #(grob-transformer
  'stencil
  (lambda (grob orig)
    (ly:stencil-add
 orig
 (stencil-with-color
  (make-filled-box-stencil
   (ly:stencil-extent orig X)
   (ly:grob-extent grob grob Y))
  "red"
  % \override Fingering.Y-offset = -1
}
revertFinger = {
  \revert Fingering.X-offset
  \revert Fingering.Y-extent
  \revert Fingering.stencil
  % \revert Fingering.Y-offset
}

rightHand = \relative {
  \oneVoice
  c''4 c c c |
}

leftHand = \relative {
  \clef bass
  \voiceThree
  \moveFingerB a8-3-1 \revertFinger f-2 a4 a a |
}

dynamics = {
  s1-\markup \large \italic "leggiero" |
}

\score {
  \new PianoStaff <<
    \new Staff \rightHand
    \new Dynamics \dynamics
    \new Staff \leftHand
  >>
}




An object is placed at the point defined by its Y-offset, and its
Y-extent represents the object's dimensions relative to Y-extent.
You are telling LilyPond that the objects are in different places
than where they actually are, which is why you get space between
the staves. You can also see in Frescobaldi that when you modify
Y-extent this way point-and-click is triggered by clicking on the
fake location of the object. So, Y-extent is not the right way
to move things around.

You could use \tweak Y-offset (\override does not work for technical
reasons, and you need different values for the Y-offsets of the two
fingerings anyway).

\version "2.23.12"

moveFinger = {
  \temporary \override Fingering.X-offset = -0.5
}

revertFinger = \undo \moveFinger

rightHand = \relative {
  \oneVoice
  c''4 c c c |
}

leftHand = \relative {
  \clef bass
  \voiceThree
  \moveFinger a8\tweak Y-offset 3 -3 \tweak Y-offset 4.5 -1 
\revertFinger f-2 a4 a a |

}

dynamics = {
  s1-\markup \large \italic "leggiero" |
}

\score {
  \new PianoStaff <<
    \new Staff \rightHand
    \new Dynamics \dynamics
    \new Staff \leftHand
  >>
}


Or you could do something much simpler, since LilyPond already has a setting
for what you seem to want to achieve:


\version "2.23.12"

moveFinger = {
  \temporary \override Fingering.X-offset = -0.5
  \temporary \override Fingering.add-stem-support = ##f
}

revertFinger = \undo \moveFinger

rightHand = \relative {
  \oneVoice
  c''4 c c c |
}

leftHand = \relative {
  \clef bass
  \voiceThree
  \moveFinger a8-3-1 \revertFinger f-2 a4 a a |
}

dynamics = {
  s1-\markup \large \italic "leggiero" |
}

\score {
  \new PianoStaff <<
    \new Staff \rightHand
    \new Dynamics \dynamics
    \new Staff \leftHand
  >>
}



Best,
Jean




Moving fingering, spacing between staves

2022-09-06 Thread Knute Snortum
In order to avoid the AB problem, what I'm trying to do is move some
fingering down in the system, but the problem I run into is I get too
much space between staves.

Here is a MWE:

%%%
\version "2.23.12"

moveFingerB = {
  \override Fingering.X-offset = -0.5
  \override Fingering.Y-extent = #'(2 . 3)
  % \override Fingering.Y-offset = -1
}
revertFinger = {
  \revert Fingering.X-offset
  \revert Fingering.Y-extent
  % \revert Fingering.Y-offset
}

rightHand = \relative {
  \oneVoice
  c''4 c c c |
}

leftHand = \relative {
  \clef bass
  \voiceThree
  \moveFingerB a8-3-1 \revertFinger f-2 a4 a a |
}

dynamics = {
  s1-\markup \large \italic "leggiero" |
}

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

I've attached a screenshot of what that looks like.  The problem is
there is too much space between the fingering and the markup, and this
may be because I'm not moving the fingering in the correct way.  The
X-offset works fine, but I couldn't get negative numbers to work with
Y-offset, so I tried Y-extent.  Unfortunately, I don't exactly
understand what the pair of numbers means.  It has something to do
with size, but it appears to act chaotically sometimes.  The manual
only says, "Extent (size) in the Y direction, measured in staff-space
units, relative to object’s reference point" but this doesn't tell me
what the two numbers stand for.

I'm hoping someone can explain the "extent" properties to me and help
me move the fingering without the extra space between staves.

--
Knute Snortum


Re: More efficient way to code some fingering?

2022-09-01 Thread Paul McKay
And if you don't really need the '-' in "4-5" you can reduce
c^\finger "2" ^\finger "5-4"
to
c^2^54
because LilyPond interprets any list of numbers as a fingering.
HTH
Paul

On Wed, 31 Aug 2022 at 21:02, Valentin Petzel  wrote:

> Hello Joseph,
>
> \finger is only really necessary for using a markup as fingering
> indication
> (like in \finger "5-4"). For simple numeric fingerings you can always use
> ^/-/_
> with a number. So instead of fs^\finger "2" ^\finger "5" simply do ^2^5.
>
> Cheers,
> Valentin
>
> Am Mittwoch, 31. August 2022, 20:48:29 CEST schrieb Joseph Srednicki:
> > The example below shows some fingerings as I would like them to appear.
> > Is there a better and more efficient way to code this music and achieve
> the
> > same result without using multiple \finger commands for the same note? (I
> > am placing the fingerings above the notes to indicate clearly that they
> > pertain to right hand. In some places, the left hand must strike some
> notes
> > in the second or lower voice. My score places any fingering pertaining to
> > the left hand below the notes in the second voice. Therefore, I do not
> want
> > to place any right-hand fingerings below the notes of the second voice.)
> If
> > the Lilypond documentation or snippets provide a good example of a better
> > way to do what I am trying to achieve and I missed it, please point me to
> > appropriate references. Thanks for any advice.
> > Joe Srednicki
> > *
> > \version "2.22.2"\language "english"
> > global = {  \key c \major  \numericTimeSignature  \time 2/4}
> > rightOne = \relative c'' {  \global  e4^5 fs^\finger "2" ^\finger "5" | }
> > rightTwo = \relative c'' {  \globalc16 b c^\finger "2" ^\finger
> "5-4" d
> > c e d c | } \score {  \new PianoStaff  <<\new Staff = "right" <<
> > \rightOne \\ \rightTwo >>  >>}
>
>


Re: More efficient way to code some fingering?

2022-08-31 Thread Valentin Petzel
Hello Joseph,

\finger is only really necessary for using a markup as fingering indication 
(like in \finger "5-4"). For simple numeric fingerings you can always use ^/-/_ 
with a number. So instead of fs^\finger "2" ^\finger "5" simply do ^2^5.

Cheers,
Valentin

Am Mittwoch, 31. August 2022, 20:48:29 CEST schrieb Joseph Srednicki:
> The example below shows some fingerings as I would like them to appear. 
> Is there a better and more efficient way to code this music and achieve the
> same result without using multiple \finger commands for the same note? (I
> am placing the fingerings above the notes to indicate clearly that they
> pertain to right hand. In some places, the left hand must strike some notes
> in the second or lower voice. My score places any fingering pertaining to
> the left hand below the notes in the second voice. Therefore, I do not want
> to place any right-hand fingerings below the notes of the second voice.) If
> the Lilypond documentation or snippets provide a good example of a better
> way to do what I am trying to achieve and I missed it, please point me to
> appropriate references. Thanks for any advice.
> Joe Srednicki
> * 
> \version "2.22.2"\language "english"
> global = {  \key c \major  \numericTimeSignature  \time 2/4}
> rightOne = \relative c'' {  \global  e4^5 fs^\finger "2" ^\finger "5" | }
> rightTwo = \relative c'' {  \globalc16 b c^\finger "2" ^\finger "5-4" d
> c e d c | } \score {  \new PianoStaff  <<\new Staff = "right" <<
> \rightOne \\ \rightTwo >>  >>}



signature.asc
Description: This is a digitally signed message part.


More efficient way to code some fingering?

2022-08-31 Thread Joseph Srednicki
The example below shows some fingerings as I would like them to appear. 
Is there a better and more efficient way to code this music and achieve the 
same result without using multiple \finger commands for the same note?
(I am placing the fingerings above the notes to indicate clearly that they 
pertain to right hand. In some places, the left hand must strike some notes in 
the second or lower voice. My score places any fingering pertaining to the left 
hand below the notes in the second voice. Therefore, I do not want to place any 
right-hand fingerings below the notes of the second voice.)
If the Lilypond documentation or snippets provide a good example of a better 
way to do what I am trying to achieve and I missed it, please point me to 
appropriate references.
Thanks for any advice.
Joe Srednicki
* 
\version "2.22.2"\language "english"
global = {  \key c \major  \numericTimeSignature  \time 2/4}
rightOne = \relative c'' {  \global  e4^5 fs^\finger "2" ^\finger "5" | }
rightTwo = \relative c'' {  \global    c16 b c^\finger "2" ^\finger "5-4" d c e 
d c | }
\score {  \new PianoStaff  <<    \new Staff = "right" << \rightOne \\ \rightTwo 
>>  >>}

Re: fingering of a grace note overlaps with beam

2022-05-24 Thread Soo Lee
Thank you!

On Mon, May 23, 2022 at 12:51 AM Martín Rincón Botero <
martinrinconbot...@gmail.com> wrote:

> Hi Soo,
>
> this seems to be caused by the fact that there's no outside-staff-priority
> set for Fingerings (see https://gitlab.com/lilypond/lilypond/-/issues/6346).
> Setting it apparently to whatever value fixes your problem for now.
>
> \relative c'' {
>
>
> \override Fingering.outside-staff-priority = 0
>
>
> g8[ \acciaccatura b-5 a g]
>
> }
>
>
>
>
> Cheers,
>
> Martín.
>
> www.martinrinconbotero.com
>
>
> On May 22, 2022 at 3:17 PM, > wrote:
>
> Hi,
>
> In the example below, the fingering on the grace note B does not show well
> because it overlaps with the beam. I do want to keep the stems up and the
> fingering up because there will be another voice. What is the best way to
> avoid this overlap? Thank you!
>
> \relative c'' {
> g8[ \acciaccatura b-5 a g]
> }
>
> Best,
> Soo
>
>


Re: fingering of a grace note overlaps with beam

2022-05-22 Thread Martín Rincón Botero
  
  

  Hi Soo,
  

  
this seems to be caused by the fact that there's no outside-staff-priority set 
for Fingerings (see https://gitlab.com/lilypond/lilypond/-/issues/6346). 
Setting it apparently to whatever value fixes your problem for now.
  

  
  
  \relative c'' {
  
  
  
  \override Fingering.outside-staff-priority = 0
  
  
  
 g8[ \acciaccatura b-5 a g]
  
  }
  
  
  
  

  
  
 Cheers,
  
 Martín.
  
  
  
  
 www.martinrinconbotero.com
  
  
  

  
  
>   
> On May 22, 2022 at 3:17 PM,  mailto:dupl...@gmail.com)>  wrote:
>   
>   
>   
>   
> Hi,
>   
>
>   
> In the example below, the fingering on the grace note B does not show well 
> because it overlaps with the beam. I do want to keep the stems up and the 
> fingering up because there will be another voice. What is the best way to 
> avoid this overlap? Thank you!
>   
>
>  \relative c'' {
>  g8[ \acciaccatura b-5 a g]
>  }  
>
>   
> Best,
>   
> Soo
>   
>   
>   
  
  
 

Re: fingering of a grace note overlaps with beam

2022-05-22 Thread Knute Snortum
On Sun, May 22, 2022 at 6:16 AM Soo Lee  wrote:
>
> Hi,
>
> In the example below, the fingering on the grace note B does not show well 
> because it overlaps with the beam. I do want to keep the stems up and the 
> fingering up because there will be another voice. What is the best way to 
> avoid this overlap? Thank you!
>
> \relative c'' {
> g8[ \acciaccatura b-5 a g]
> }

You could try two strategies: raise the beams or raise the fingering.

%%%
\version "2.22.2"

\relative c'' {
\once \override Beam.positions = #'(4 . 4)
g8[ \acciaccatura b-5 a g]
}

\relative c'' {
g8[ \acciaccatura b-\tweak Y-offset 4.5 -5 a g]
}
%%%

--
Knute Snortum



fingering of a grace note overlaps with beam

2022-05-22 Thread Soo Lee
Hi,

In the example below, the fingering on the grace note B does not show well
because it overlaps with the beam. I do want to keep the stems up and the
fingering up because there will be another voice. What is the best way to
avoid this overlap? Thank you!

\relative c'' {
g8[ \acciaccatura b-5 a g]
}

Best,
Soo


Re: TupletNumber placement with fingering

2022-05-19 Thread Jean Abou Samra

Le 19/05/2022 à 05:53, Ahanu Banerjee a écrit :

Hello,

When I have a beamed tuplet (without a bracket) and a fingering on one 
note, the TupletNumber moves outward from the staff despite there 
being no possibility of a collison. In normal usage, 
TupletNumber should stay as close as possible to the beam.


Example:

\version "2.22.2"
\relative c
{\tuplet 3/2 { g''8-4 g g } \tuplet 3/2 { c_4 c c } }

Is this the expected behaviour? The fix I have found is increasing the 
value of Fingering.outside-staff-priority. Is that the best solution?




It definitely sounds like a bug. I've added it to the
tracker at

https://gitlab.com/lilypond/lilypond/-/issues/6346

I am not aware of a better workaround (and it's not
even clear to me why giving the Fingering an
outside-staff-priority works; note that in my tests,
the actual value of outside-staff-priority doesn't matter).

Best,
Jean




Re: TupletNumber placement with fingering

2022-05-19 Thread Ahanu Banerjee
No, there was a reason I needed the fingerings on either side of the staff
(in my use case, sometimes there is an alternate fingering).

Thanks,

On Thu, May 19, 2022, 10:00 Mark Stephen Mrotek 
wrote:

> Anahu,
>
>
>
> Is this acceptable?
>
>
>
> \version "2.22.2"
>
> \relative c
>
> {\tuplet 3/2 { g''8_4 g g } \tuplet 3/2 { c^4 c c } }
>
>
>
> Mark
>
>
>
> *From:* lilypond-user [mailto:lilypond-user-bounces+carsonmark=
> ca.rr@gnu.org] *On Behalf Of *Ahanu Banerjee
> *Sent:* Wednesday, May 18, 2022 8:54 PM
> *To:* Lily Pond 
> *Subject:* TupletNumber placement with fingering
>
>
>
> Hello,
>
>
>
> When I have a beamed tuplet (without a bracket) and a fingering on one
> note, the TupletNumber moves outward from the staff despite there being no
> possibility of a collison. In normal usage, TupletNumber should stay as
> close as possible to the beam.
>
>
>
> Example:
>
>
>
> \version "2.22.2"
>
> \relative c
>
> {\tuplet 3/2 { g''8-4 g g } \tuplet 3/2 { c_4 c c } }
>
>
>
> Is this the expected behaviour? The fix I have found is increasing the
> value of Fingering.outside-staff-priority. Is that the best solution?
>
>
>
> Thank you!
>


RE: TupletNumber placement with fingering

2022-05-19 Thread Mark Stephen Mrotek
Anahu,

 

Is this acceptable?

 

\version "2.22.2"

\relative c

{\tuplet 3/2 { g''8_4 g g } \tuplet 3/2 { c^4 c c } }

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Ahanu Banerjee
Sent: Wednesday, May 18, 2022 8:54 PM
To: Lily Pond 
Subject: TupletNumber placement with fingering

 

Hello,

 

When I have a beamed tuplet (without a bracket) and a fingering on one note, 
the TupletNumber moves outward from the staff despite there being no 
possibility of a collison. In normal usage, TupletNumber should stay as close 
as possible to the beam.

 

Example: 

 

\version "2.22.2"

\relative c

{\tuplet 3/2 { g''8-4 g g } \tuplet 3/2 { c_4 c c } }

 

Is this the expected behaviour? The fix I have found is increasing the value of 
Fingering.outside-staff-priority. Is that the best solution?

 

Thank you!



TupletNumber placement with fingering

2022-05-18 Thread Ahanu Banerjee
Hello,

When I have a beamed tuplet (without a bracket) and a fingering on one
note, the TupletNumber moves outward from the staff despite there being no
possibility of a collison. In normal usage, TupletNumber should stay as
close as possible to the beam.

Example:

\version "2.22.2"
\relative c
{\tuplet 3/2 { g''8-4 g g } \tuplet 3/2 { c_4 c c } }

Is this the expected behaviour? The fix I have found is increasing the
value of Fingering.outside-staff-priority. Is that the best solution?

Thank you!


Re: Fingering collision with tempo when using cross-staff beams

2022-01-06 Thread Valentin Petzel
A quick workaround:

\version "2.23.5"

global = {
  \time 6/8
  \tempo "Allegro"
}

goUp = { \change Staff = "right"
 \stemDown
}

goDown = { \change Staff = "left"
   \stemUp
}

right = \relative c'' {
  \global
  \once\override Fingering.cross-staff = ##f
  8-2-4 \goDown  \goUp  \goDown d,4.->_5 |

}

left = \relative c' {
  \global
  s2. |

}

\score {
  \new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" { \left }
  >>
}

signature.asc
Description: This is a digitally signed message part.


Re: Fingering collision with tempo when using cross-staff beams

2022-01-05 Thread Jean Abou Samra

Le 05/01/2022 à 20:59, Michael Rivers a écrit :
The fingering here collides with the tempo. If the cross-staff beams 
are commented out (all notes on the upper staff), the fingering 
displays fine.


Is there a workaround? Am I doing something wrong?

\version "2.23.5"

global = {
  \time 6/8
  \tempo "Allegro"
}

goUp = { \change Staff = "right"
         \stemDown
}

goDown = { \change Staff = "left"
           \stemUp
}

right = \relative c'' {
  \global
  8-2-4 \goDown  \goUp  \goDown d,4.->_5 |
}

left = \relative c' {
  \global
  s2. |
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \left }
  >>
}




I've just added this bug to the tracker here:

https://gitlab.com/lilypond/lilypond/-/issues/6250

You can work around it by positioning the tempo mark yourself, adjusting 
its Y-offset:


\version "2.23.5"

global = {
  \time 6/8
  \once \override Score.MetronomeMark.Y-offset = 6
  \tempo "Allegro"
}

goUp = { \change Staff = "right"
 \stemDown
}

goDown = { \change Staff = "left"
   \stemUp
}

right = \relative c'' {
  \global
  8-2-4 \goDown  \goUp  \goDown d,4.->_5 |

}

left = \relative c' {
  \global
  s2. |

}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \left }
  >>
}

See this for more information:

https://lilypond.org/doc/v2.22/Documentation/notation/aligning-objects.html#setting-x_002doffset-and-y_002doffset-directly

Best,
Jean






Fingering collision with tempo when using cross-staff beams

2022-01-05 Thread Michael Rivers
The fingering here collides with the tempo. If the cross-staff beams are
commented out (all notes on the upper staff), the fingering displays fine.

Is there a workaround? Am I doing something wrong?

\version "2.23.5"

global = {
  \time 6/8
  \tempo "Allegro"
}

goUp = { \change Staff = "right"
 \stemDown
}

goDown = { \change Staff = "left"
   \stemUp
}

right = \relative c'' {
  \global
  8-2-4 \goDown  \goUp  \goDown d,4.->_5 |

}

left = \relative c' {
  \global
  s2. |

}

\score {
  \new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" { \left }
  >>
}


Re: How to implement a "5-3" fingering (Piano) (LP 2.22)

2022-01-01 Thread Hans Aikema
Well, would not call it reduntant and unnecessary and certainly not stupid. It 
served purpose to detect that the German version of the documentation needs an 
update at this point, and with the further clarification serves the 
German-speaking part of the community which would likely get redirected to the 
German version of the documentation just like you. 
For those getting redirected to the non-German language versions of the docs 
it's indeed redundant and a bit confusing.

> On 1 Jan 2022, at 11:26, Valentin Petzel  wrote:
> 
> Hello Hans,
> 
> My bad, this must have been changed recently. Knute Snortum asked the same 
> thing in October, at which point the docs still had the old way. And when I 
> checked the stupid automatic language selector (why the heck do we have 
> this?) 
> of course delegated me to the german documentation which is of course the 
> only 
> one still using the old snippets.
> 
> So my remark becomes stupid, redunant and unnescessary.
> Cheers,
> Valentin
> 
> Am Samstag, 1. Jänner 2022, 11:05:41 CET schrieb Hans Aikema:
>> Valentin,
>> 
>> your remark confuses me.
>> In what way is your suggested syntaxt different from what's in the docs?
>> 
>> \relative {
>>  c''4-1 d-2 f\finger \markup \tied-lyric "4~3" c\finger "2 - 3"
>> }
>> 
>> I only see a few spaces which afaik only icrease readability, but apparently
>> I overlook something.
>> 
>> regards,
>> Hans
>> 
>>>> On 1 Jan 2022, at 10:56, Valentin Petzel  wrote:
>>> 
>>> Hello Ken, hello David,
>>> 
>>> the way given in the documentation is not particularly good, as this won't
>>> produce a Fingering grob but a TextScript grob, which cannot be
>>> positioned the same way.
>>> 
>>> Much better would be to use
>>> 
>>> e-\finger "5-3"
>>> or
>>> e-\finger\markup\tied-lyric "5~3"
>>> or something.
>>> 
>>> Cheers,
>>> Valentin
>>> 
>>> 01.01.2022 03:25:13 Kenneth Wolcott :
>>>> HI David;
>>>> 
>>>>  Thank you.  Read right past it, missing it entirely.
>>>> 
>>>> Ken
>>>> 
>>>>> On Fri, Dec 31, 2021 at 6:03 PM David M. Boothe, CAS
>>>>>  wrote:
>>>>> 
>>>>> http://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff
>>>>> 
>>>>> The second example under the heading "Fingering Instructions" gives you
>>>>> a couple of options.
>>>>> 
>>>>> dB
>>>>> 
>>>>> On Fri, Dec 31, 2021, 8:51 PM Kenneth Wolcott  
> wrote:
>>>>>> HI;
>>>>>> 
>>>>>>  How to implement a "5-3" fingering (Piano) (LP 2.22)
>>>>>> 
>>>>>> See attachment.
>>>>>> 
>>>>>> I have a piece of music arranged for Piano which I am practicing my
>>>>>> Lilypond engraving skills.
>>>>>> 
>>>>>> The final bar (in the bass clef) is two half notes.  The first half
>>>>>> note has a fingering of "5-3".
>>>>>> 
>>>>>>  How does one engrave that?
>>>>>> 
>>>>>> Probably something obvious in the manual that I missed.
>>>>>> 
>>>>>> Thanks in advance for your awesome assistance!
>>>>>> 
>>>>>> Ken Wolcott



Re: How to implement a "5-3" fingering (Piano) (LP 2.22)

2022-01-01 Thread Valentin Petzel
Hello Hans,

My bad, this must have been changed recently. Knute Snortum asked the same 
thing in October, at which point the docs still had the old way. And when I 
checked the stupid automatic language selector (why the heck do we have this?) 
of course delegated me to the german documentation which is of course the only 
one still using the old snippets.

So my remark becomes stupid, redunant and unnescessary.
Cheers,
Valentin

Am Samstag, 1. Jänner 2022, 11:05:41 CET schrieb Hans Aikema:
> Valentin,
> 
> your remark confuses me.
> In what way is your suggested syntaxt different from what's in the docs?
> 
> \relative {
>   c''4-1 d-2 f\finger \markup \tied-lyric "4~3" c\finger "2 - 3"
> }
> 
> I only see a few spaces which afaik only icrease readability, but apparently
> I overlook something.
> 
> regards,
> Hans
> 
> > On 1 Jan 2022, at 10:56, Valentin Petzel  wrote:
> > 
> > Hello Ken, hello David,
> > 
> > the way given in the documentation is not particularly good, as this won't
> > produce a Fingering grob but a TextScript grob, which cannot be
> > positioned the same way.
> > 
> > Much better would be to use
> > 
> > e-\finger "5-3"
> > or
> > e-\finger\markup\tied-lyric "5~3"
> > or something.
> > 
> > Cheers,
> > Valentin
> > 
> > 01.01.2022 03:25:13 Kenneth Wolcott :
> >> HI David;
> >> 
> >>   Thank you.  Read right past it, missing it entirely.
> >> 
> >> Ken
> >> 
> >>> On Fri, Dec 31, 2021 at 6:03 PM David M. Boothe, CAS
> >>>  wrote:
> >>> 
> >>> http://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff
> >>> 
> >>> The second example under the heading "Fingering Instructions" gives you
> >>> a couple of options.
> >>> 
> >>> dB
> >>> 
> >>> On Fri, Dec 31, 2021, 8:51 PM Kenneth Wolcott  
wrote:
> >>>> HI;
> >>>> 
> >>>>   How to implement a "5-3" fingering (Piano) (LP 2.22)
> >>>> 
> >>>> See attachment.
> >>>> 
> >>>> I have a piece of music arranged for Piano which I am practicing my
> >>>> Lilypond engraving skills.
> >>>> 
> >>>> The final bar (in the bass clef) is two half notes.  The first half
> >>>> note has a fingering of "5-3".
> >>>> 
> >>>>   How does one engrave that?
> >>>> 
> >>>> Probably something obvious in the manual that I missed.
> >>>> 
> >>>> Thanks in advance for your awesome assistance!
> >>>> 
> >>>> Ken Wolcott

signature.asc
Description: This is a digitally signed message part.


Re: How to implement a "5-3" fingering (Piano) (LP 2.22)

2022-01-01 Thread Hans Aikema
Valentin,

your remark confuses me.
In what way is your suggested syntaxt different from what's in the docs?

\relative {
  c''4-1 d-2 f\finger \markup \tied-lyric "4~3" c\finger "2 - 3"
}

I only see a few spaces which afaik only icrease readability, but apparently I 
overlook something.

regards,
Hans

> On 1 Jan 2022, at 10:56, Valentin Petzel  wrote:
> 
> Hello Ken, hello David,
> 
> the way given in the documentation is not particularly good, as this won't 
> produce a Fingering grob but a TextScript grob, which cannot be positioned 
> the same way.
> 
> Much better would be to use
> 
> e-\finger "5-3"
> or
> e-\finger\markup\tied-lyric "5~3"
> or something.
> 
> Cheers,
> Valentin
> 
> 01.01.2022 03:25:13 Kenneth Wolcott :
> 
>> HI David;
>> 
>>   Thank you.  Read right past it, missing it entirely.
>> 
>> Ken
>> 
>>> On Fri, Dec 31, 2021 at 6:03 PM David M. Boothe, CAS
>>>  wrote:
>>> 
>>> http://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff
>>> 
>>> The second example under the heading "Fingering Instructions" gives you a 
>>> couple of options.
>>> 
>>> dB
>>> 
>>> On Fri, Dec 31, 2021, 8:51 PM Kenneth Wolcott  
>>> wrote:
>>>> 
>>>> HI;
>>>> 
>>>>   How to implement a "5-3" fingering (Piano) (LP 2.22)
>>>> 
>>>> See attachment.
>>>> 
>>>> I have a piece of music arranged for Piano which I am practicing my
>>>> Lilypond engraving skills.
>>>> 
>>>> The final bar (in the bass clef) is two half notes.  The first half
>>>> note has a fingering of "5-3".
>>>> 
>>>>   How does one engrave that?
>>>> 
>>>> Probably something obvious in the manual that I missed.
>>>> 
>>>> Thanks in advance for your awesome assistance!
>>>> 
>>>> Ken Wolcott
> 


Re: How to implement a "5-3" fingering (Piano) (LP 2.22)

2022-01-01 Thread Valentin Petzel
Hello Ken, hello David,

the way given in the documentation is not particularly good, as this won't 
produce a Fingering grob but a TextScript grob, which cannot be positioned the 
same way.

Much better would be to use

e-\finger "5-3"
or
e-\finger\markup\tied-lyric "5~3"
or something.

Cheers,
Valentin

01.01.2022 03:25:13 Kenneth Wolcott :

> HI David;
> 
>   Thank you.  Read right past it, missing it entirely.
> 
> Ken
> 
> On Fri, Dec 31, 2021 at 6:03 PM David M. Boothe, CAS
>  wrote:
>> 
>> http://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff
>> 
>> The second example under the heading "Fingering Instructions" gives you a 
>> couple of options.
>> 
>> dB
>> 
>> On Fri, Dec 31, 2021, 8:51 PM Kenneth Wolcott  
>> wrote:
>>> 
>>> HI;
>>> 
>>>   How to implement a "5-3" fingering (Piano) (LP 2.22)
>>> 
>>> See attachment.
>>> 
>>> I have a piece of music arranged for Piano which I am practicing my
>>> Lilypond engraving skills.
>>> 
>>> The final bar (in the bass clef) is two half notes.  The first half
>>> note has a fingering of "5-3".
>>> 
>>>   How does one engrave that?
>>> 
>>> Probably something obvious in the manual that I missed.
>>> 
>>> Thanks in advance for your awesome assistance!
>>> 
>>> Ken Wolcott



Re: How to implement a "5-3" fingering (Piano) (LP 2.22)

2021-12-31 Thread Kenneth Wolcott
HI David;

  Thank you.  Read right past it, missing it entirely.

Ken

On Fri, Dec 31, 2021 at 6:03 PM David M. Boothe, CAS
 wrote:
>
> http://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff
>
> The second example under the heading "Fingering Instructions" gives you a 
> couple of options.
>
> dB
>
> On Fri, Dec 31, 2021, 8:51 PM Kenneth Wolcott  
> wrote:
>>
>> HI;
>>
>>   How to implement a "5-3" fingering (Piano) (LP 2.22)
>>
>> See attachment.
>>
>> I have a piece of music arranged for Piano which I am practicing my
>> Lilypond engraving skills.
>>
>> The final bar (in the bass clef) is two half notes.  The first half
>> note has a fingering of "5-3".
>>
>>   How does one engrave that?
>>
>> Probably something obvious in the manual that I missed.
>>
>> Thanks in advance for your awesome assistance!
>>
>> Ken Wolcott



Re: How to implement a "5-3" fingering (Piano) (LP 2.22)

2021-12-31 Thread David M. Boothe, CAS
http://lilypond.org/doc/v2.22/Documentation/notation/inside-the-staff

The second example under the heading "Fingering Instructions" gives you a
couple of options.

dB

On Fri, Dec 31, 2021, 8:51 PM Kenneth Wolcott 
wrote:

> HI;
>
>   How to implement a "5-3" fingering (Piano) (LP 2.22)
>
> See attachment.
>
> I have a piece of music arranged for Piano which I am practicing my
> Lilypond engraving skills.
>
> The final bar (in the bass clef) is two half notes.  The first half
> note has a fingering of "5-3".
>
>   How does one engrave that?
>
> Probably something obvious in the manual that I missed.
>
> Thanks in advance for your awesome assistance!
>
> Ken Wolcott
>


How to implement a "5-3" fingering (Piano) (LP 2.22)

2021-12-31 Thread Kenneth Wolcott
HI;

  How to implement a "5-3" fingering (Piano) (LP 2.22)

See attachment.

I have a piece of music arranged for Piano which I am practicing my
Lilypond engraving skills.

The final bar (in the bass clef) is two half notes.  The first half
note has a fingering of "5-3".

  How does one engrave that?

Probably something obvious in the manual that I missed.

Thanks in advance for your awesome assistance!

Ken Wolcott


Re: Fingering collision

2021-05-31 Thread Jean Abou Samra

Le 31/05/2021 à 22:38, Valentin Petzel a écrit :

Hello Stéphane,

If you want manual control you can try to move New_fingering_engraver from
Voice to Staff. The Y-position has to be tweaked manually (which would kind of
not work if the side-axis-interface is used).

It is somewhat of a hack, to get this done propery we’d need to create an
engraver that collects Fingeringevents and displays them in a column left to
the notes.

Also note that you can leave New_fingering_engraver with Voice and do a
\temporary\override Staff.Fingering.stencil = ##f
To hide the double Fingerings. Then if you need the hack you can do a

\temporary\override Voice.Fingering.stencil = ##f
\revert Staff.Fingering.stencil

And when you’re done you can change back

\temporary\override Staff.Fingering.stencil = ##f
\revert Voice.Fingering.stencil

Cheers,
Valentin


See also:

https://gitlab.com/lilypond/lilypond/-/issues/6125

and

https://gitlab.com/lilypond/lilypond/-/merge_requests/732/diffs#51601c9e39f2028bcb56024658fb33ecfa282fb7_993_993

Regards,
Jean



Re: Fingering collision

2021-05-31 Thread Valentin Petzel
Hello Stéphane,

If you want manual control you can try to move New_fingering_engraver from 
Voice to Staff. The Y-position has to be tweaked manually (which would kind of 
not work if the side-axis-interface is used).

It is somewhat of a hack, to get this done propery we’d need to create an 
engraver that collects Fingeringevents and displays them in a column left to 
the notes.

Also note that you can leave New_fingering_engraver with Voice and do a
\temporary\override Staff.Fingering.stencil = ##f
To hide the double Fingerings. Then if you need the hack you can do a

\temporary\override Voice.Fingering.stencil = ##f
\revert Staff.Fingering.stencil

And when you’re done you can change back

\temporary\override Staff.Fingering.stencil = ##f
\revert Voice.Fingering.stencil

Cheers,
Valentin

Fingering.pdf
Description: Adobe PDF document


signature.asc
Description: This is a digitally signed message part.


Re: Fingering collision

2021-05-30 Thread Pierre Perol-Schneider
Bonjour Stéphane,
The example you want shows three voices while your file has  only two...
So I'd do something like:

\version "2.20.0"

\new Staff \relative c' <<
  \new Voice {
\voiceOne
\set fingeringOrientations = #'(left)
2
  }
  \new Voice {
\voiceTwo
\set fingeringOrientations = #'(left)
4
  }
  \new Voice {
\voiceThree \stemDown %% or simply \voiceFour
\set fingeringOrientations = #'(left)
\set stringNumberOrientations = #'(down)
2
  }
>>

HTH, cheers,
Pierre

Le dim. 30 mai 2021 à 23:24, Stéphane Labbé  a
écrit :

> Hello,
>
> I'm trying to put fingering information in a lilypond file and the result
> I get is not correct.
>
> I extracted a simple case in the file attached.
>
> With lilypond, I get that :
>
>   [image: image.png]
>
>The for is displayed in the same place that the note...
>
> I try to have something like that :
>
>[image: image.png]
>
> Is there someone that has an idea to help me ?
>
> Thanks,
> Stéphane.
>


Fingering collision

2021-05-30 Thread Stéphane Labbé
Hello,

I'm trying to put fingering information in a lilypond file and the result I
get is not correct.

I extracted a simple case in the file attached.

With lilypond, I get that :

  [image: image.png]

   The for is displayed in the same place that the note...

I try to have something like that :

   [image: image.png]

Is there someone that has an idea to help me ?

Thanks,
Stéphane.


Test-Doigté-collision.ly
Description: Binary data


Re: Fingering: showing strings by dots?

2020-09-04 Thread Pierre Perol-Schneider
Hi Harm and thank you for your detailed answer.
For some reason, at the first time, I was pretty sure it looked like curved
beams...
My mistake!
Cheers,
Pierre

Le dim. 23 août 2020 à 19:11, Thomas Morley  a
écrit :

> Am So., 23. Aug. 2020 um 18:39 Uhr schrieb Pierre Perol-Schneider
> :
> >
> > Sure Harm, here you go:
> https://www.youtube.com/watch?v=YND32HckZqk=1m24s
> > Cheers,
> > Pierre
> >
> > Le dim. 23 août 2020 à 11:02, Thomas Morley 
> a écrit :
> >>
> >> Am So., 23. Aug. 2020 um 10:52 Uhr schrieb Pierre Perol-Schneider
> >> :
> >> >
> >> > Dear Andrew,
> >> >
> >> > Le dim. 23 août 2020 à 08:09, Andrew Bernard <
> andrew.bern...@gmail.com> a écrit :
> >> >
> >> >> I play bass gamba - I've always wanted to do the lovely curved beams
> >> >> (and for Bach,. and the lot!). No chance lilypond will ever be able
> to,
> >> >> I don't think!
> >> >
> >> >
> >> > I saw Harm (T. Morley) making a short presentation (no details) of
> curved beams few months ago (in german).
> >> > So, yes, it's possible...
> >> >
> >> > Cheers,
> >> > Pierre
> >> >
> >> >
> >>
> >> Could you post the link?
> >> I don't remember lol
> >>
> >> Cheers,
> >>   Harm
>
> Hi Pierre,
>
> That's the video of my talk at Salzburg.
> Though, the topic was not about curvy beams. I just showed some images
> to demonstrate what's possible with user-code. Meant as an
> introduction.
> Among those were indeed wavy Beams (more attached).
> Alas, the code for it is much more complicated than the one I actually
> showed during the talk.
> And those wavy Beams don't follow the pitches (as those in the
> manuscripts by Bach etc). I developed the code for the (paid)
> type-setting of some avantgarde composition - there they stand more
> for only vague determined note-durations.
> If you look closely you'll see that the stems need to be adjusted
> frequently.
>
> To summarize, the code for those wavy Beams will not do what's desired
> here!
> Nevertheless it may be not impossible, though I've not the time to
> dive into it...
>
> Cheers,
>   Harm
>


Re: Fingering: showing strings by dots?

2020-08-23 Thread Pierre Perol-Schneider
Sure Harm, here you go: https://www.youtube.com/watch?v=YND32HckZqk=1m24s
Cheers,
Pierre

Le dim. 23 août 2020 à 11:02, Thomas Morley  a
écrit :

> Am So., 23. Aug. 2020 um 10:52 Uhr schrieb Pierre Perol-Schneider
> :
> >
> > Dear Andrew,
> >
> > Le dim. 23 août 2020 à 08:09, Andrew Bernard 
> a écrit :
> >
> >> I play bass gamba - I've always wanted to do the lovely curved beams
> >> (and for Bach,. and the lot!). No chance lilypond will ever be able to,
> >> I don't think!
> >
> >
> > I saw Harm (T. Morley) making a short presentation (no details) of
> curved beams few months ago (in german).
> > So, yes, it's possible...
> >
> > Cheers,
> > Pierre
> >
> >
>
> Could you post the link?
> I don't remember lol
>
> Cheers,
>   Harm
>


Re: Fingering: showing strings by dots?

2020-08-23 Thread Thomas Morley
Am So., 23. Aug. 2020 um 10:52 Uhr schrieb Pierre Perol-Schneider
:
>
> Dear Andrew,
>
> Le dim. 23 août 2020 à 08:09, Andrew Bernard  a 
> écrit :
>
>> I play bass gamba - I've always wanted to do the lovely curved beams
>> (and for Bach,. and the lot!). No chance lilypond will ever be able to,
>> I don't think!
>
>
> I saw Harm (T. Morley) making a short presentation (no details) of curved 
> beams few months ago (in german).
> So, yes, it's possible...
>
> Cheers,
> Pierre
>
>

Could you post the link?
I don't remember lol

Cheers,
  Harm



Re: Fingering: showing strings by dots?

2020-08-23 Thread Pierre Perol-Schneider
Dear Andrew,

Le dim. 23 août 2020 à 08:09, Andrew Bernard  a
écrit :

I play bass gamba - I've always wanted to do the lovely curved beams
> (and for Bach,. and the lot!). No chance lilypond will ever be able to,
> I don't think!
>

I saw Harm (T. Morley) making a short presentation (no details) of curved
beams few months ago (in german).
So, yes, it's possible...

Cheers,
Pierre


Re: Fingering: showing strings by dots?

2020-08-23 Thread Pierre Perol-Schneider
Le dim. 23 août 2020 à 07:56, Andrew Bernard  a
écrit :

> Hi Pierre,
>
> Bass gamba in France has very detailed markups, such as poussez (p) and
> tirez (t), push and pull (up and down bow), and a whole swag more. I'll
> dig up some Marin Marais and send to you.
>

Thank you Andrew.


Re: Fingering: showing strings by dots?

2020-08-23 Thread Pierre Perol-Schneider
Thank you for the examples.

Le dim. 23 août 2020 à 07:59, Alasdair McAndrew  a écrit :


> There are other issues with this music, which can bristle with expressive
> marks: bowing and fingering information, various shorthands for different
> sorts of ornaments, over and above the placement of the notes.  But I'll
> write another post about that.  For the fingering maybe I could possibly
> also use the markup command to place some characters atop each other, a
> digit and a row of closely spaced dots.  You'll see that although I
> mentioned in my original post that the dots are in an arc, that's not
> necessarily the case, and I could probably get away with a straight line.
>

See:
http://lilypond.org/doc/v2.19/Documentation/notation/other.fr.html#index-_005cpattern-1
E.g.:

\markup \pattern #4 #X #.2 \musicglyph #"dots.dot"

Cheers,
Pierre


Re: Fingering: showing strings by dots?

2020-08-23 Thread Andrew Bernard

Hi Alasdair,

I play bass gamba - I've always wanted to do the lovely curved beams 
(and for Bach,. and the lot!). No chance lilypond will ever be able to, 
I don't think!


Andrew





Re: Fingering: showing strings by dots?

2020-08-22 Thread Andrew Bernard

Hi Pierre,

Bass gamba in France has very detailed markups, such as poussez (p) and 
tirez (t), push and pull (up and down bow), and a whole swag more. I'll 
dig up some Marin Marais and send to you.



Andrew


On 23/08/2020 2:35 pm, Pierre Perol-Schneider wrote:

Hi Alasdair,
I've never seen such notation. I'd be curious to see an example.





Re: Fingering: showing strings by dots?

2020-08-22 Thread Pierre Perol-Schneider
Hi Alasdair,
I've never seen such notation. I'd be curious to see an example.
Maybe this could help: http://lsr.di.unimi.it/LSR/Item?id=1068
E.g.:

\version "2.20.0"

#(define-markup-command
  (circled-pattern layout props radius angle num arg)
  (number? number? number? markup?)
  (interpret-markup layout props
   (let* ((rep (abs num))(rad (abs radius)))
(cond
 ((= num 0) (markup ""))
 ((= num 1) (markup arg))
 (#t (markup
  (#:combine
   (#:null)
   (fold
(lambda (i prev)
 (markup
   (#:combine
(#:rotate
 (* i (/ angle rep))
 (#:concat (#:null #:hspace rad arg)))
   prev)))
(markup (#:null))
(iota (1+ rep))

four = \markup\translate #'(-.7 . 0) \rotate #45 \circled-pattern #2 #90 #4
"."

{
  c'-3^\four
}

Cheers,
Pierre

Le dim. 23 août 2020 à 04:23, Alasdair McAndrew  a écrit :

> I am trying to typeset some early 18th century French music for viola da
> gamba.  The standard notation, which I would like to keep, is that the
> string is indicated by a row of dots above the finger number.  That is, for
> example, a 4 with three dots over it (generally in a slight arc, rather
> than in a straight line), indicates using the fourth finger on the third
> string.
>
> Can this be achieved in Lilypond?  I can't find any references in the
> manual, but maybe I haven't looked hard enough...
>
> Thank you very much,
> Alasdair
>
> --
> https://numbersandshapes.net
>


Fingering: showing strings by dots?

2020-08-22 Thread Alasdair McAndrew
I am trying to typeset some early 18th century French music for viola da
gamba.  The standard notation, which I would like to keep, is that the
string is indicated by a row of dots above the finger number.  That is, for
example, a 4 with three dots over it (generally in a slight arc, rather
than in a straight line), indicates using the fourth finger on the third
string.

Can this be achieved in Lilypond?  I can't find any references in the
manual, but maybe I haven't looked hard enough...

Thank you very much,
Alasdair

-- 
https://numbersandshapes.net


RE: Position of fingering

2020-07-27 Thread Mark Stephen Mrotek
Helge,

Welcome!

Mark

-Original Message-
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Helge Kruse
Sent: Sunday, July 26, 2020 11:02 PM
To: Thomas Morley 
Cc: lilypond-user@gnu.org
Subject: Re: Position of fingering

Hi Mark,

Thanks, this was my first intention since I have to put *some* numbers below 
the system.But I thought I had to use the underscore bar additionally to the 
hyphen. Just the replacement does the job.

Best regards,
Helge

Am So., 26. Juli 2020 um 14:00 Uhr schrieb Thomas Morley
:
>
> Am So., 26. Juli 2020 um 13:50 Uhr schrieb Helge Kruse :
> >
> > Hi,
> >
> > I want to put the fingering information below the notes. 
> > Corresponding to 
> > http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staf
> > f#fingering-instructions
> >
> > and
> >
> > http://lilypond.org/doc/v2.20/Documentation/notation/inside-the-staf
> > f#fingering-instructions
> >
> > this should be possible with
> >
> >  \set fingeringOrientations = #'(down)
> >
> > But as the example shwows it doesn't work. I am convinced that 
> > Lilypond is able to do it correctly. Can you help fixing my example?
> >
> > Best regards,
> > Helge
> >
> >
> > % \version "2.18.9"
> > \version "2.20.0"
> > \language "deutsch"
> >
> > \score {
> > \new Staff \relative c'' {
> >   \clef bass
> >   \set fingeringOrientations = #'(down)
> >   | g,,8-4 d'-2 h'-1 g-2 d-4 a'-2 d4-1
> > }
> > }
> >
>
> fingeringOrientations is for in-chord-fingerings use \override 
> Fingering.direction = #DOWN instead
>
> Cheers,
>   Harm
>


--
PGP Fingerprint: EDCE F8C8 B727 6CC5 7006  05C1 BD3F EADC 8922 1F61




Re: Position of fingering

2020-07-27 Thread Helge Kruse
Hi Mark,

Thanks, this was my first intention since I have to put *some* numbers
below the system.But I thought I had to use the underscore bar
additionally to the hyphen. Just the replacement does the job.

Best regards,
Helge

Am So., 26. Juli 2020 um 14:00 Uhr schrieb Thomas Morley
:
>
> Am So., 26. Juli 2020 um 13:50 Uhr schrieb Helge Kruse :
> >
> > Hi,
> >
> > I want to put the fingering information below the notes. Corresponding to
> > http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff#fingering-instructions
> >
> > and
> >
> > http://lilypond.org/doc/v2.20/Documentation/notation/inside-the-staff#fingering-instructions
> >
> > this should be possible with
> >
> >  \set fingeringOrientations = #'(down)
> >
> > But as the example shwows it doesn't work. I am convinced that Lilypond
> > is able to do it correctly. Can you help fixing my example?
> >
> > Best regards,
> > Helge
> >
> >
> > % \version "2.18.9"
> > \version "2.20.0"
> > \language "deutsch"
> >
> > \score {
> > \new Staff \relative c'' {
> >   \clef bass
> >   \set fingeringOrientations = #'(down)
> >   | g,,8-4 d'-2 h'-1 g-2 d-4 a'-2 d4-1
> > }
> > }
> >
>
> fingeringOrientations is for in-chord-fingerings use \override
> Fingering.direction = #DOWN instead
>
> Cheers,
>   Harm
>


-- 
PGP Fingerprint: EDCE F8C8 B727 6CC5 7006  05C1 BD3F EADC 8922 1F61



Re: Position of fingering

2020-07-27 Thread Helge Kruse
Thanks, I realized my error.

Regards,
Helge

Am So., 26. Juli 2020 um 14:00 Uhr schrieb Thomas Morley
:
>
> Am So., 26. Juli 2020 um 13:50 Uhr schrieb Helge Kruse :
> >
> > Hi,
> >
> > I want to put the fingering information below the notes. Corresponding to
> > http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff#fingering-instructions
> >
> > and
> >
> > http://lilypond.org/doc/v2.20/Documentation/notation/inside-the-staff#fingering-instructions
> >
> > this should be possible with
> >
> >  \set fingeringOrientations = #'(down)
> >
> > But as the example shwows it doesn't work. I am convinced that Lilypond
> > is able to do it correctly. Can you help fixing my example?
> >
> > Best regards,
> > Helge
> >
> >
> > % \version "2.18.9"
> > \version "2.20.0"
> > \language "deutsch"
> >
> > \score {
> > \new Staff \relative c'' {
> >   \clef bass
> >   \set fingeringOrientations = #'(down)
> >   | g,,8-4 d'-2 h'-1 g-2 d-4 a'-2 d4-1
> > }
> > }
> >
>
> fingeringOrientations is for in-chord-fingerings use \override
> Fingering.direction = #DOWN instead
>
> Cheers,
>   Harm
>


-- 
PGP Fingerprint: EDCE F8C8 B727 6CC5 7006  05C1 BD3F EADC 8922 1F61



Re: Position of fingering

2020-07-26 Thread Jonathan Armitage

On 26/07/2020 12:49, Helge Kruse wrote:

Hi,

I want to put the fingering information below the notes. Corresponding to
http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff#fingering-instructions

and

http://lilypond.org/doc/v2.20/Documentation/notation/inside-the-staff#fingering-instructions


Hi Helge, this one stumped me too.

"For fingering orientation to apply, you must use a chord construct <> 
even if it is a single note."


Cheers,

Jon



Re: Position of fingering

2020-07-26 Thread Thomas Morley
Am So., 26. Juli 2020 um 13:50 Uhr schrieb Helge Kruse :
>
> Hi,
>
> I want to put the fingering information below the notes. Corresponding to
> http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff#fingering-instructions
>
> and
>
> http://lilypond.org/doc/v2.20/Documentation/notation/inside-the-staff#fingering-instructions
>
> this should be possible with
>
>  \set fingeringOrientations = #'(down)
>
> But as the example shwows it doesn't work. I am convinced that Lilypond
> is able to do it correctly. Can you help fixing my example?
>
> Best regards,
> Helge
>
>
> % \version "2.18.9"
> \version "2.20.0"
> \language "deutsch"
>
> \score {
> \new Staff \relative c'' {
>   \clef bass
>   \set fingeringOrientations = #'(down)
>   | g,,8-4 d'-2 h'-1 g-2 d-4 a'-2 d4-1
> }
> }
>

fingeringOrientations is for in-chord-fingerings use \override
Fingering.direction = #DOWN instead

Cheers,
  Harm



Position of fingering

2020-07-26 Thread Helge Kruse
Hi,

I want to put the fingering information below the notes. Corresponding to
http://lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff#fingering-instructions

and

http://lilypond.org/doc/v2.20/Documentation/notation/inside-the-staff#fingering-instructions

this should be possible with

 \set fingeringOrientations = #'(down)

But as the example shwows it doesn't work. I am convinced that Lilypond
is able to do it correctly. Can you help fixing my example?

Best regards,
Helge


% \version "2.18.9"
\version "2.20.0"
\language "deutsch"

\score {
\new Staff \relative c'' {
  \clef bass
  \set fingeringOrientations = #'(down)
  | g,,8-4 d'-2 h'-1 g-2 d-4 a'-2 d4-1
}
}



Re: cello extended position fingering

2020-06-14 Thread Gleb Rogozinsky
Thanks for the help and pointing to snippets as well!

вс, 14 июн. 2020 г. в 19:19, Noeck :

> Hi Gleb,
>
> when I asked a similar question in April, Harm replied with this code:
>
> https://lists.gnu.org/archive/html/lilypond-user/2020-04/msg00061.html
>
> Best,
> Joram
>
>


Re: cello extended position fingering

2020-06-14 Thread Noeck
Hi Gleb,

when I asked a similar question in April, Harm replied with this code:

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

Best,
Joram



Re: cello extended position fingering

2020-06-14 Thread Robin Bannister

Gleb Rogozinsky wrote:


I am the Lilypond beginner, switched from commercial software.


Are you familiar with the LilyPond Snippet Repository?
http://lsr.di.unimi.it/LSR/

Have a look at LSR 999
http://lsr.di.unimi.it/LSR/Item?id=999


Cheers,
Robin



cello extended position fingering

2020-06-14 Thread Gleb Rogozinsky
Hi all!

I am the Lilypond beginner, switched from commercial software.
This time I am writing cello part, and I do not know how to show an
extended position in fingering, which is like a slide symbol between
fingers. Please see the picture included.

Thanks for any help!

Gleb


Re: Fingering inside staff

2020-05-30 Thread Valentin Villenave
On 5/30/20, Thomas Morley  wrote:
> add-stem-support is not really documented.
> Alas, I've not the time and energy to write a patch myself and fight
> my way through the new GitLab process.

“Fighting your way” sounds pretty accurate these days.

If I may give it a try:
https://gitlab.com/lilypond/lilypond/-/merge_requests/109

Cheers,
-- V.



Re: Fingering inside staff

2020-05-30 Thread Thomas Morley
Am Sa., 30. Mai 2020 um 13:18 Uhr schrieb David Kastrup :
>
> Thomas Morley  writes:
>
> > Alas, I've not the time and energy to write a patch myself and fight
> > my way through the new GitLab process.
>
> git push -o merge_request.create -o merge_request.title="My patch" -o 
> merge_request.remove_source_branch origin HEAD:my-proposed-branch-name
>
> The push message gives you a HTTP link to your newly created merge
> request.  You can follow the progress there.
>
> > I have to admit I have skipped most of GitLab discussions and hints.
> > This will ofcourse give me some problems once my time allows to
> > participate more activ again.
> > Right now I'm too tired ...
>
> You don't need something like git-cl: the basic setup is really quite
> simple.  The most efficient way to organise continuous ongoing work is
> something we are still figuring out, but you are talking about entry
> hurdles here.  Those are not really high.
>
> --
> David Kastrup

Thanks David.
I've copied your advice to my personal "how to do"-file.

Cheers,
  Harm



Re: Fingering inside staff

2020-05-30 Thread David Kastrup
Thomas Morley  writes:

> Alas, I've not the time and energy to write a patch myself and fight
> my way through the new GitLab process.

git push -o merge_request.create -o merge_request.title="My patch" -o 
merge_request.remove_source_branch origin HEAD:my-proposed-branch-name

The push message gives you a HTTP link to your newly created merge
request.  You can follow the progress there.

> I have to admit I have skipped most of GitLab discussions and hints.
> This will ofcourse give me some problems once my time allows to
> participate more activ again.
> Right now I'm too tired ...

You don't need something like git-cl: the basic setup is really quite
simple.  The most efficient way to organise continuous ongoing work is
something we are still figuring out, but you are talking about entry
hurdles here.  Those are not really high.

-- 
David Kastrup



Re: Fingering inside staff

2020-05-30 Thread Thomas Morley
Am Sa., 30. Mai 2020 um 10:15 Uhr schrieb Valentin Villenave
:
>
> On 5/30/20, Thomas Morley  wrote:
> > Fingering.add-stem-support is per default set to 'only-if-beamed'
>
> Of course!!  I vaguely remembered having come across something like
> that.  Sorry for making a fool of myself.
>
> > Try:
> > \override Fingering.add-stem-support = #'()
> > and it'll work
>
> Excellent; NOTABUT then.
>
> Thanks!
>
> Cheers,
> -- V.

Hi Valentin,

add-stem-support is not really documented.
In NR we have it in a snippet and in the index. In 'Snippets' there
two additional ones.
Though, a explanation is not really done.

'only-if-beamed' is completely undocumented.

Some more stuff can be found in the regtests, though we usually don't
expect users to look there.

Maybe worth some doc-additions.

Alas, I've not the time and energy to write a patch myself and fight
my way through the new GitLab process.
I have to admit I have skipped most of GitLab discussions and hints.
This will ofcourse give me some problems once my time allows to
participate more activ again.
Right now I'm too tired ...

Cheers,
  Harm



Re: Fingering inside staff

2020-05-30 Thread Valentin Villenave
On 5/30/20, Valentin Villenave  wrote:
> Excellent; NOTABUT then.

Ouch.  NOTABUG.  (Though I can’t say I wasn’t childishly tempted to
add an additional T :-)

V.



Re: Fingering inside staff

2020-05-30 Thread Valentin Villenave
On 5/30/20, Thomas Morley  wrote:
> Fingering.add-stem-support is per default set to 'only-if-beamed'

Of course!!  I vaguely remembered having come across something like
that.  Sorry for making a fool of myself.

> Try:
> \override Fingering.add-stem-support = #'()
> and it'll work

Excellent; NOTABUT then.

Thanks!

Cheers,
-- V.



Re: Fingering inside staff

2020-05-29 Thread Thomas Morley
Am Sa., 30. Mai 2020 um 00:08 Uhr schrieb Valentin Villenave
:
>
> On 5/29/20, Pierre Perol-Schneider  wrote:
> > Hi Simone,
> > A basic solution:
> > \relative c' {
> >   \stemUp
> >   \override Fingering.staff-padding = #'()
> >   4 8 
> > }
>
> Sure there are workarounds, but: shouldn’t we be treating this as a
> bug? There’s no obvious reason why unsetting staff-padding should be
> ignored on a beamed note and not on an unbeamed note.
>
> 
>
> \relative c' {
> \stemUp
> \override Fingering.staff-padding = #'()
> 4 8
> }
>
> \relative c' {
> \stemUp
>   \override Fingering.staff-padding = #'()
>   4 8 
> }
>
> 
>
> I can’t find a glyph small enough to trigger it with other grobs
> (a.k.a StringNumber, Script or anything else), so I can’t tell if it’s
> limited to fingerings.
>
> Cheers,
> -- V.
>
> ___
> bug-lilypond mailing list
> bug-lilyp...@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-lilypond

Fingering.add-stem-support is per default set to 'only-if-beamed'
Try:
\override Fingering.add-stem-support = #'()
and it'll work

HTH,
  Harm



Re: Fingering inside staff

2020-05-29 Thread Valentin Villenave
On 5/29/20, Pierre Perol-Schneider  wrote:
> Hi Simone,
> A basic solution:
> \relative c' {
>   \stemUp
>   \override Fingering.staff-padding = #'()
>   4 8 
> }

Sure there are workarounds, but: shouldn’t we be treating this as a
bug? There’s no obvious reason why unsetting staff-padding should be
ignored on a beamed note and not on an unbeamed note.



\relative c' {
\stemUp
\override Fingering.staff-padding = #'()
4 8
}

\relative c' {
\stemUp
  \override Fingering.staff-padding = #'()
  4 8 
}



I can’t find a glyph small enough to trigger it with other grobs
(a.k.a StringNumber, Script or anything else), so I can’t tell if it’s
limited to fingerings.

Cheers,
-- V.



Re: Fingering inside staff

2020-05-29 Thread Jamie Beardslee
Should be simple enough to just tweak the vertical offset.

\relative c' {
  \stemUp 
  \override Fingering.staff-padding = #'()
  4 g'8-\tweak Y-offset #0 -0 g' 
}



Re: Fingering inside staff

2020-05-29 Thread Pierre Perol-Schneider
Hi Simone,
A basic solution:

\version "2.20.0"
\relative c' {
  \stemUp
  \override Fingering.staff-padding = #'()
  4 8 
}

Cheers,
Pierre

Le ven. 29 mai 2020 à 15:20, Simone Capretti  a
écrit :

> Hello to all,
>
> I've read in the manual that it's possible to insert fingering inside the
> staff:
>
> \relative c' {
> \stemUp
> \override Fingering.staff-padding = #'()
> 4 8
> }
>
> however, if you have notes that are tied together the fingering is always
> outside the staff:
>
> \relative c' {
> \stemUp
>   \override Fingering.staff-padding = #'()
>   4 8 
> }
>
> It's possible to obtain something like this below?
>
> Can you suggest a work-around?
>
>
> Regards,
>
> Simone
>
>
>
>


Fingering inside staff

2020-05-29 Thread Simone Capretti

Hello to all,

I've read in the manual that it's possible to insert fingering inside 
the staff:


\relative c' {
    \stemUp
    \override Fingering.staff-padding = #'()
    4 8
}

however, if you have notes that are tied together the fingering is 
always outside the staff:


\relative c' {
    \stemUp
      \override Fingering.staff-padding = #'()
      4 8 
}

It's possible to obtain something like this below?

Can you suggest a work-around?


Regards,

Simone





Re: Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-24 Thread R.H.
Dear Pierre

Indeed, very helpful.

I also chieved coloring of notes, stems, etc. I did not want to color
lines, clef... but it works similar to what you suggest, but the solution
you proposed I did not know. Any suggestion allows me to learn more and
more about LP.

I will post my solution soon based on all input so far as it has a specific
purpose.

Thank you
Roland



On Sun, May 24, 2020, 10:51 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> wrote:

> Hi Roland,
>
> Le dim. 24 mai 2020 à 10:34, R.H.  a écrit :
>  ...
>
>> Let us assume you want the top or bass voice to be in another color.
>> Here, the way you created it seems to make this difficult to do, for
>> example to assign a different color to note heads of different voices --
>> independently of left or right hand fingering.
>>
> ...
>
> See: http://lsr.di.unimi.it/LSR/Item?id=443
> Ex.:
>
> \version "2.20.0"
>
> #(define (override-color-for-all-grobs color)
>   (lambda (context)
>(let loop ((x all-grob-descriptions))
> (if (not (null? x))
>  (let ((grob-name (caar x)))
>   (ly:context-pushpop-property context grob-name 'color color)
>   (loop (cdr x)))
>
> sop = { c''8 8 8 8 8 8 8 8 }
> alt = { c'8 8 8 8 8 8 \change Staff = LH \stemUp 8 8  }
> bas = { \clef F c8 8 8 8 8 }
>
> \new PianoStaff <<
>   \new Staff = RH <<
> \new Voice { \voiceOne \sop }
> \new Voice
>   \with { \applyContext #(override-color-for-all-grobs (x11-color
> 'red)) }
>   { \voiceTwo \alt }
>   >>
>   \new Staff = LH \bas
> >>
>
> HTH, cheers,
> Pierre
>


Re: Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-24 Thread Pierre Perol-Schneider
Hi Roland,

Le dim. 24 mai 2020 à 10:34, R.H.  a écrit :
 ...

> Let us assume you want the top or bass voice to be in another color. Here,
> the way you created it seems to make this difficult to do, for example to
> assign a different color to note heads of different voices -- independently
> of left or right hand fingering.
>
...

See: http://lsr.di.unimi.it/LSR/Item?id=443
Ex.:

\version "2.20.0"

#(define (override-color-for-all-grobs color)
  (lambda (context)
   (let loop ((x all-grob-descriptions))
(if (not (null? x))
 (let ((grob-name (caar x)))
  (ly:context-pushpop-property context grob-name 'color color)
  (loop (cdr x)))

sop = { c''8 8 8 8 8 8 8 8 }
alt = { c'8 8 8 8 8 8 \change Staff = LH \stemUp 8 8  }
bas = { \clef F c8 8 8 8 8 }

\new PianoStaff <<
  \new Staff = RH <<
\new Voice { \voiceOne \sop }
\new Voice
  \with { \applyContext #(override-color-for-all-grobs (x11-color
'red)) }
  { \voiceTwo \alt }
  >>
  \new Staff = LH \bas
>>

HTH, cheers,
Pierre


Re: Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-24 Thread R.H.
Oh, thank you Mark

I start understanding how differently source files are made by different
people. It is very helpful.

What I see is that you do not separate voices but you separate actually
fingering into "rightone", "righttwo" and "left". I hope I understood this
correctly? I have to study the effects more closely.

Let us assume you want the top or bass voice to be in another color. Here,
the way you created it seems to make this difficult to do, for example to
assign a different color to note heads of different voices -- independently
of left or right hand fingering.

I believe, it is helpful for students to also visually separate the voices
in polyphonic music -- with the idea, of course, to make such voices
eventually also sound differently -- for Bach, Glenn Gould was doing this
to perfection.

Yes, I know, the original also does not contain any hints about tempo,
phrasing marks, etc. which are up to interpretation for modern piano and
style of expression of the performer. So, for a student's edition, I would
like to add such marks and it is the original idea of starting to use
Lilypond.

Roland


Am Sa., 23. Mai 2020 um 20:51 Uhr schrieb Mark Stephen Mrotek <
carsonm...@ca.rr.com>:

> Very Welcome, Roland,
>
> .
>
> The 3-voice that I could readily find is WTC I – 3. It is attached.
>
> Be free to ask and questions or request clarifications.
>
>
>
> Mark
>
>
>
> *From:* R.H. [mailto:roland.huettm...@gmail.com]
> *Sent:* Saturday, May 23, 2020 11:34 AM
> *To:* Mark Stephen Mrotek 
> *Cc:* lilypond-user 
> *Subject:* Re: Notation: Piano: How best to indicate left hand or right
> hand fingering in polyphonic works?
>
>
>
> Oh, thank you Mark
>
>
>
> Well, that would be great to see your version. Thank you for your offer!
>
>
>
> For me it is all exercise in LP now and, anyway, my next version would be
> on the two-staff usual piano version. Nevertheless, as I may also publish
> the documents for learners of piano including practicing notes, I was
> thinking whether there is a standard way or any idea of indicating the
> different voices and fingering in the standard version -- so, I would use
> your version to add those details (if not existing of course).
>
>
>
> In the piano-two staves version I would color the different voices (notes
> heads, stems, rests, etc.) -- again for practice.
>
>
>
> Thanks again
>
> Roland
>
>
>
>
>
>
>
>
>
>
>
> Am Sa., 23. Mai 2020 um 19:58 Uhr schrieb Mark Stephen Mrotek <
> carsonm...@ca.rr.com>:
>
> Roland,
>
>
>
> I doubt is anyone can provide a “better” way since that valuation is
> entirely based on how the way works for you.
>
> When I set the 3-part fugues I use two staves. The soprano and alto in the
> upper and the bass in the lower. If the alto moves into the region of the
> bass that is indicated with a \changeStaff = “lower”.
>
>
>
> I can send an example.
>
>
>
> Mark
>
>
>
> *From:* lilypond-user [mailto:lilypond-user-bounces+carsonmark=
> ca.rr@gnu.org] *On Behalf Of *R.H.
> *Sent:* Saturday, May 23, 2020 10:04 AM
> *To:* lilypond-user 
> *Subject:* Notation: Piano: How best to indicate left hand or right hand
> fingering in polyphonic works?
>
>
>
> Hello to all
>
>
>
> Since some days I got immersed into Lilypond learning and the addtional
> usage of Frescobaldi then was a game changer. I see the dedication to
> quality in both products.
>
>
>
> For my own piano practice, I am working on the Fugue IX from the
> Well-Tempered Clavier Book 1 from S.B. Bach. The work has three voices. To
> differentiate the voices I used a template for three voices and was able to
> come up with a decent version. Next, I also want to add some harmonic
> function to also visually better understand how the work is built (as a
> Fugue of course).
>
>
>
> Now, I call these "My piano practice sheets" as they are for practice
> only. My teacher asked me to practice each voice separately first and only
> then start combining them.
>
>
>
> Since here the middle or "mezzio" voice is played sometimes with the
> fingers of the left and sometimes with the fingers of the right hand, I
> decided to consistently indicate this fingering "up" for the left hand, and
> "down" for the right and use it per note such as "a16_4" for a down
> fingering or "a16^1" for an up-fingering.
>
>
>
> I am not sure that this is the right way to do. Of course, there can be
> indicators such as "r.h" and "l.h.", but there would be too many and it is
> rather distracting to the eye. And it als forces me to have all fingering
> either up and down, but not in inside the lines.
>
>
>
> Currently, I color the fingingerings of the voicing line. Maybe left or
> right hand could have a color.
>
>
>
> But maybe somone has a better idea...?
>
>
>
> Thanks to all and have a nice weekend
>
> Roland
>
>
>
> Example:
>
>
>
> [image: image.png]
>
>
>
>
>
>


RE: Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-23 Thread Mark Stephen Mrotek
Very Welcome, Roland,

.

The 3-voice that I could readily find is WTC I – 3. It is attached.

Be free to ask and questions or request clarifications.

 

Mark

 

From: R.H. [mailto:roland.huettm...@gmail.com] 
Sent: Saturday, May 23, 2020 11:34 AM
To: Mark Stephen Mrotek 
Cc: lilypond-user 
Subject: Re: Notation: Piano: How best to indicate left hand or right hand 
fingering in polyphonic works?

 

Oh, thank you Mark

 

Well, that would be great to see your version. Thank you for your offer!

 

For me it is all exercise in LP now and, anyway, my next version would be on 
the two-staff usual piano version. Nevertheless, as I may also publish the 
documents for learners of piano including practicing notes, I was thinking 
whether there is a standard way or any idea of indicating the different voices 
and fingering in the standard version -- so, I would use your version to add 
those details (if not existing of course).

 

In the piano-two staves version I would color the different voices (notes 
heads, stems, rests, etc.) -- again for practice.

 

Thanks again

Roland

 

 

 

 

 

Am Sa., 23. Mai 2020 um 19:58 Uhr schrieb Mark Stephen Mrotek 
mailto:carsonm...@ca.rr.com> >:

Roland,

 

I doubt is anyone can provide a “better” way since that valuation is entirely 
based on how the way works for you.

When I set the 3-part fugues I use two staves. The soprano and alto in the 
upper and the bass in the lower. If the alto moves into the region of the bass 
that is indicated with a \changeStaff = “lower”.

 

I can send an example.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark 
<mailto:lilypond-user-bounces%2Bcarsonmark> =ca.rr@gnu.org 
<mailto:ca.rr@gnu.org> ] On Behalf Of R.H.
Sent: Saturday, May 23, 2020 10:04 AM
To: lilypond-user mailto:lilypond-user@gnu.org> >
Subject: Notation: Piano: How best to indicate left hand or right hand 
fingering in polyphonic works?

 

Hello to all

 

Since some days I got immersed into Lilypond learning and the addtional usage 
of Frescobaldi then was a game changer. I see the dedication to quality in both 
products.

 

For my own piano practice, I am working on the Fugue IX from the Well-Tempered 
Clavier Book 1 from S.B. Bach. The work has three voices. To differentiate the 
voices I used a template for three voices and was able to come up with a decent 
version. Next, I also want to add some harmonic function to also visually 
better understand how the work is built (as a Fugue of course).

 

Now, I call these "My piano practice sheets" as they are for practice only. My 
teacher asked me to practice each voice separately first and only then start 
combining them.

 

Since here the middle or "mezzio" voice is played sometimes with the fingers of 
the left and sometimes with the fingers of the right hand, I decided to 
consistently indicate this fingering "up" for the left hand, and "down" for the 
right and use it per note such as "a16_4" for a down fingering or "a16^1" for 
an up-fingering.

 

I am not sure that this is the right way to do. Of course, there can be 
indicators such as "r.h" and "l.h.", but there would be too many and it is 
rather distracting to the eye. And it als forces me to have all fingering 
either up and down, but not in inside the lines.

 

Currently, I color the fingingerings of the voicing line. Maybe left or right 
hand could have a color.

 

But maybe somone has a better idea...?

 

Thanks to all and have a nice weekend

Roland

 

Example:

 



 

 

\version "2.16.0"

\header {
  title = "Fuge"
  subtitle = "a 3 Voices"
  opus = "BWV 848"
}

global = {
  \key cis \major
  \time 4/4
}

rightOne = \relative c'' {
  \global
  
r4 r8 gis8-2 ais16 gis fis gis eis'8-5 cis-4 |gis8-3 fis16 eis fis8 dis' eis, cis' dis, bis' |
cis,8-1 cis'16-2 bis cis dis-3 eis-1 fis gis fisis eis fisis gis fisis eis dis | 
eis4~-4 eis16 dis cis eis dis cis bis dis cis bis cis-4 ais-2 | 

%5

bis8-1 dis-3 fis2-5 eis4~-5 |eis dis~-5 dis8 cis-5 bis-4 dis~-5 | dis gis, eis' 4. eis16 cis ais4~-2 |
ais8 ais dis4. dis16 bis gis4~ | gis8 gis cis4~-4 cis16 bis cis-4 ais-1 ais'4~-5 |

%10

ais16 gis fisis ais gis dis-2 eis-1 fis-3 eis-1 dis-2 cis-1 dis-2 bis'8-5 gis-4 | dis-3 cis16 bis cis8 ais' bis, gis' ais, fisis' |
gis,16-1 ais-2 bis-3 cis-4 bis-3 ais-2 gis-1 bis-2 eis-5 dis-3 cisis-1 eis-2 gis fis dis gis |
b8-5 ais16 gis fis eis-1 dis-2 cisis-1 dis-2 fis-4 eis-3 dis-2 cisis-1 eis-5 ais,-2 gis-1 |
fis-2 eis dis cisis dis eis-1 fis gis ais gis fis gis ais gis fis eis |

%15

fis4~ fis16 eis dis-2 fis-5 eis dis cis eis-4 dis cis dis bis | r16 eis-3 fis-4 eis-1 cis'4~-4 cis16 bis-3 cis-4 ais-1 ais'4~-5 |
ais16 dis,,16-1 eis-2 dis-1 bis'4~-4 bis16 ais bis-4 gis-1 gis'4~-5 |
gis16 cis,,-1 dis-2 cis-1 ais'4~-4 ais16 gis ais-4 fisis-1 fisis'4~-5 | fisis16 disis-4 eis cis ais2-\markup {

Re: Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-23 Thread R.H.
Oh, thank you Mark

Well, that would be great to see your version. Thank you for your offer!

For me it is all exercise in LP now and, anyway, my next version would be
on the two-staff usual piano version. Nevertheless, as I may also publish
the documents for learners of piano including practicing notes, I was
thinking whether there is a standard way or any idea of indicating the
different voices and fingering in the standard version -- so, I would use
your version to add those details (if not existing of course).

In the piano-two staves version I would color the different voices (notes
heads, stems, rests, etc.) -- again for practice.

Thanks again
Roland





Am Sa., 23. Mai 2020 um 19:58 Uhr schrieb Mark Stephen Mrotek <
carsonm...@ca.rr.com>:

> Roland,
>
>
>
> I doubt is anyone can provide a “better” way since that valuation is
> entirely based on how the way works for you.
>
> When I set the 3-part fugues I use two staves. The soprano and alto in the
> upper and the bass in the lower. If the alto moves into the region of the
> bass that is indicated with a \changeStaff = “lower”.
>
>
>
> I can send an example.
>
>
>
> Mark
>
>
>
> *From:* lilypond-user [mailto:lilypond-user-bounces+carsonmark=
> ca.rr@gnu.org] *On Behalf Of *R.H.
> *Sent:* Saturday, May 23, 2020 10:04 AM
> *To:* lilypond-user 
> *Subject:* Notation: Piano: How best to indicate left hand or right hand
> fingering in polyphonic works?
>
>
>
> Hello to all
>
>
>
> Since some days I got immersed into Lilypond learning and the addtional
> usage of Frescobaldi then was a game changer. I see the dedication to
> quality in both products.
>
>
>
> For my own piano practice, I am working on the Fugue IX from the
> Well-Tempered Clavier Book 1 from S.B. Bach. The work has three voices. To
> differentiate the voices I used a template for three voices and was able to
> come up with a decent version. Next, I also want to add some harmonic
> function to also visually better understand how the work is built (as a
> Fugue of course).
>
>
>
> Now, I call these "My piano practice sheets" as they are for practice
> only. My teacher asked me to practice each voice separately first and only
> then start combining them.
>
>
>
> Since here the middle or "mezzio" voice is played sometimes with the
> fingers of the left and sometimes with the fingers of the right hand, I
> decided to consistently indicate this fingering "up" for the left hand, and
> "down" for the right and use it per note such as "a16_4" for a down
> fingering or "a16^1" for an up-fingering.
>
>
>
> I am not sure that this is the right way to do. Of course, there can be
> indicators such as "r.h" and "l.h.", but there would be too many and it is
> rather distracting to the eye. And it als forces me to have all fingering
> either up and down, but not in inside the lines.
>
>
>
> Currently, I color the fingingerings of the voicing line. Maybe left or
> right hand could have a color.
>
>
>
> But maybe somone has a better idea...?
>
>
>
> Thanks to all and have a nice weekend
>
> Roland
>
>
>
> Example:
>
>
>
> [image: image.png]
>
>
>
>
>


RE: Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-23 Thread Mark Stephen Mrotek
Roland,

 

I doubt is anyone can provide a “better” way since that valuation is entirely 
based on how the way works for you.

When I set the 3-part fugues I use two staves. The soprano and alto in the 
upper and the bass in the lower. If the alto moves into the region of the bass 
that is indicated with a \changeStaff = “lower”.

 

I can send an example.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of R.H.
Sent: Saturday, May 23, 2020 10:04 AM
To: lilypond-user 
Subject: Notation: Piano: How best to indicate left hand or right hand 
fingering in polyphonic works?

 

Hello to all

 

Since some days I got immersed into Lilypond learning and the addtional usage 
of Frescobaldi then was a game changer. I see the dedication to quality in both 
products.

 

For my own piano practice, I am working on the Fugue IX from the Well-Tempered 
Clavier Book 1 from S.B. Bach. The work has three voices. To differentiate the 
voices I used a template for three voices and was able to come up with a decent 
version. Next, I also want to add some harmonic function to also visually 
better understand how the work is built (as a Fugue of course).

 

Now, I call these "My piano practice sheets" as they are for practice only. My 
teacher asked me to practice each voice separately first and only then start 
combining them.

 

Since here the middle or "mezzio" voice is played sometimes with the fingers of 
the left and sometimes with the fingers of the right hand, I decided to 
consistently indicate this fingering "up" for the left hand, and "down" for the 
right and use it per note such as "a16_4" for a down fingering or "a16^1" for 
an up-fingering.

 

I am not sure that this is the right way to do. Of course, there can be 
indicators such as "r.h" and "l.h.", but there would be too many and it is 
rather distracting to the eye. And it als forces me to have all fingering 
either up and down, but not in inside the lines.

 

Currently, I color the fingingerings of the voicing line. Maybe left or right 
hand could have a color.

 

But maybe somone has a better idea...?

 

Thanks to all and have a nice weekend

Roland

 

Example:

 



 

 



Notation: Piano: How best to indicate left hand or right hand fingering in polyphonic works?

2020-05-23 Thread R.H.
Hello to all

Since some days I got immersed into Lilypond learning and the addtional
usage of Frescobaldi then was a game changer. I see the dedication to
quality in both products.

For my own piano practice, I am working on the Fugue IX from the
Well-Tempered Clavier Book 1 from S.B. Bach. The work has three voices. To
differentiate the voices I used a template for three voices and was able to
come up with a decent version. Next, I also want to add some harmonic
function to also visually better understand how the work is built (as a
Fugue of course).

Now, I call these "My piano practice sheets" as they are for practice only.
My teacher asked me to practice each voice separately first and only then
start combining them.

Since here the middle or "mezzio" voice is played sometimes with the
fingers of the left and sometimes with the fingers of the right hand, I
decided to consistently indicate this fingering "up" for the left hand, and
"down" for the right and use it per note such as "a16_4" for a down
fingering or "a16^1" for an up-fingering.

I am not sure that this is the right way to do. Of course, there can be
indicators such as "r.h" and "l.h.", but there would be too many and it is
rather distracting to the eye. And it als forces me to have all fingering
either up and down, but not in inside the lines.

Currently, I color the fingingerings of the voicing line. Maybe left or
right hand could have a color.

But maybe somone has a better idea...?

Thanks to all and have a nice weekend
Roland

Example:

[image: image.png]


Re: Fingering and slurs

2020-04-05 Thread Martin Tarenskeen




On Sun, 5 Apr 2020, Noeck wrote:


I am transcribing piano music and I see a lot of ugly situations with
fingering and slurs.


+1

following.



Fingering and slurs

2020-04-05 Thread Noeck
Hi,

I am transcribing piano music and I see a lot of ugly situations with
fingering and slurs.

Lilypond seems to draw the slur and then puts the fingering on the
inside if there is space and on the outside if not. From the score, I am
reading, I deduce these rules:

- fingering above the slur at slur tips
- fingering inside the slur otherwise
- fingering is above the staff for c'' and higher notes and
  inside the staff for lower notes

Is this a general practice or just happens to be what I see here?

I can regularly switch from avoid-slur between inside and outside and
set staff-padding to ##f and revert it by hand. But can you give me some
hints how to implement the rules above? I.e.

1. change avoid-slur based on slur beginnings and endings and
2. change staff-position based on the pitch of the note?

MWE:

\relative {
  \time 3/4
  \tempo "default"
  b'4.-2( a8-1 cis-2 e-4) |

  \tempo "inside"
  \override Fingering.avoid-slur = #'inside
  b4.-2( a8-1 cis-2 e-4) |
  \revert Fingering.avoid-slur

  \tempo "what I want"
  b4.-2(
  \once \override Fingering.staff-padding = ##f
  \override Fingering.avoid-slur = #'inside
  a8-1
  % I know this looks bad, but I that is the best rule I could find
  % \override Fingering.staff-padding = ##f  % manual override
  cis-2
  \revert Fingering.avoid-slur
  e-4) |
}

Thanks in advance.
Joram



RE: Three short questions from Bartók around fingering, about 90% there

2020-01-14 Thread Mark Stephen Mrotek
Arle,

 

Very welcome.

Had the same issue in a Mozart Piano Sonata and someone on the list provided 
the commands.

 

Mark

 

From: Arle Lommel [mailto:arle.lom...@gmail.com] 
Sent: Tuesday, January 14, 2020 5:02 PM
To: Mark Stephen Mrotek 
Cc: Lilypond-User Mailing List 
Subject: Re: Three short questions from Bartók around fingering, about 90% there

 

 





On Jan 14, 2020, at 18:05, Mark Stephen Mrotek mailto:carsonm...@ca.rr.com> > wrote:

 

Arle,

 

Add these before the b!

 

\once \override Accidental.extra-offset = #'(3 . 0)

\once \override NoteColumn.force-hshift = #2.5

 

Mark

 

Thanks. I’m finding I have to play around with the numbers a bit and add an 
Accidental.extra-offset elsewhere, but this is really useful.

 

-Arle



Re: Three short questions from Bartók around fingering, about 90% there

2020-01-14 Thread Arle Lommel


> On Jan 14, 2020, at 18:05, Mark Stephen Mrotek  wrote:
> 
> Arle,
>  
> Add these before the b!
>  
> \once \override Accidental.extra-offset = #'(3 . 0)
> \once \override NoteColumn.force-hshift = #2.5
>  
> Mark

Thanks. I’m finding I have to play around with the numbers a bit and add an 
Accidental.extra-offset elsewhere, but this is really useful.

-Arle

RE: Three short questions from Bartók around fingering, about 90% there

2020-01-14 Thread Mark Stephen Mrotek
Arle,

 

Add these before the b!

 

\once \override Accidental.extra-offset = #'(3 . 0)

\once \override NoteColumn.force-hshift = #2.5

 

Mark

 

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Arle Lommel
Sent: Tuesday, January 14, 2020 2:30 PM
To: Lilypond-User Mailing List 
Subject: Three short questions from Bartók around fingering, about 90% there

 

Got two more small issues from Bartók. I’m trying to recreate things like this:

 



 

In the example on the left, he is using the bracket to make it clear that the 
B♭ and B♮ are played simultaneously with two different fingers.

In the example on the right

 

 I’ve got a minimum example that comes very close to what I need, but

 

\version "2.19.83"

\score {

  <<

\new Staff \relative c' {

  \key c \major

  << 

{

  \once \override NoteColumn.force-hshift = #2.5

  b'!16[ cis16 d8] d4

} 

  \\ 

{ 

  \override Fingering.staff-padding = #'()

  \once \override Fingering.extra-offset = #'(1.3 . 0) bes2^\finger 
\markup "⎴"^\finger "1"^\finger "2" 

} 

  >> 

  r2 |

  \set fingeringOrientations = #'(left)

  \once \override Fingering.extra-offset = #'(3 . 0.5)

  \stemUp 8

}

  >>

  \layout { }

}

 

 

This yields the following, which is almost right:

 



 

So here are the questions:

 

1. For the horizontal bracket it’s too narrow because I’m using a Unicode box 
character to generate the bracket. Is there a better alternative that will 
scale properly to encompass the notes?

 

2. The natural sign is stuck on the wrong side of the B♭.  I’ve searched for a 
while, but I don’t find anything to tell me how to make the natural stick with 
its note. What do I do here?

 

3. Is there a better alternative for the bracket in the right example? I had to 
manually tweak it a bit to get it to look almost, but it still isn’t optimal. I 
know I could use more complex markup objects to adjust it, but I’m wondering if 
there is a better way to do this

 

-Arle



Re: Fingering orientation question

2019-12-06 Thread Jacques Menu
> Le 5 déc. 2019 à 18:02, Mark Stephen Mrotek  a écrit :
> 
> Jacques,
> 
> You do not need to use chord notation and the \set command.
> Fingering down indicated by the _ (underscore), e.g., a,4_3, and the up 
> fingering by the ^ (carat), e.g., e^1
> The - (dash) is a neutral setting and Lilypond decides according to voice 
> number.

Thanks Mark, using ‘_’ alone is the easiest way for me!

JM





Re: Fingering orientation question

2019-12-05 Thread Michael Rivers
Are you looking for this?

\override Staff.Fingering.direction = #DOWN



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



RE: Fingering orientation question

2019-12-05 Thread Mark Stephen Mrotek
Jacques,

Not to my knowledge/experience (I set 18th C Piano music).

Mark

-Original Message-
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Jacques Menu
Sent: Thursday, December 05, 2019 2:34 AM
To: Thomas Morley 
Cc: lilypond-user 
Subject: Re: Fingering orientation question

Thanks Thomas for the explanation and example!

>> Would it be reasonable and feasible to apply such fingering orientation at 
>> the voice level?
> 
> Not sure what you mean…

In my piano example, all the fingerings for the left hand appear below the 
notes, so I wondered whether this could be specified at the beginning of the 
voice once and for all.

JM








RE: Fingering orientation question

2019-12-05 Thread Mark Stephen Mrotek
Jacques,

You do not need to use chord notation and the \set command.
Fingering down indicated by the _ (underscore), e.g., a,4_3, and the up 
fingering by the ^ (carat), e.g., e^1
The - (dash) is a neutral setting and Lilypond decides according to voice 
number.

Mark

-Original Message-
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Jacques Menu
Sent: Thursday, December 05, 2019 12:17 AM
To: lilypond-user 
Subject: Fingering orientation question

Hello folks,

In the attached score, I’ve had to create artificial one-note chords such as 
 for the down fingering orientation to be taken into account:

  \set fingeringOrientations = #'(down)

  4  a, e | % 2

I didn’t find other ways to achieve this result in the docs.

Would it be reasonable and feasible to apply such fingering orientation at the 
voice level?

Thanks for your help!

JM





RE: Fingering orientation question

2019-12-05 Thread Gregory Hollands
JM,

You can just use ^ to put the fingering above or _ to put it below. If the
voice will always be the lower voice (as in your left-hand piano example)
this works well. BUT it doesn't allow you to choose the orientation (top or
bottom) after inputting the notes. Note that using - (as in your example)
allows LilyPond to put the fingering wherever it likes.

%%%
a,_3 e_1 a, e | % 2
%%%

Hope this helps,
Greg

Hello folks,
> In the attached score, I’ve had to create artificial one-note chords such
> as  for the down fingering orientation to be taken into account:
>   \set fingeringOrientations = #'(down)
>   4  a, e | % 2
> I didn’t find other ways to achieve this result in the docs.
> Would it be reasonable and feasible to apply such fingering orientation at
> the voice level?
> Thanks for your help!
> JM


Re: Fingering orientation question

2019-12-05 Thread Jacques Menu
Thanks Thomas for the explanation and example!

>> Would it be reasonable and feasible to apply such fingering orientation at 
>> the voice level?
> 
> Not sure what you mean…

In my piano example, all the fingerings for the left hand appear below the 
notes, so I wondered whether this could be specified at the beginning of the 
voice once and for all.

JM






  1   2   3   4   5   6   7   8   9   10   >