Re: Lilypond 2.20 on Mac 10.15

2020-03-03 Thread Hans Åberg


> On 3 Mar 2020, at 05:14, Eric  wrote:
> 
> Actually, both the latest version and 2.19.84 seem not to launch at all on my 
> iMac (late 2015, dual core, etc running os 10.15.3...) (2.19.84 did but it 
> doesn’t.)

What binary are you using?





Re: Piano Pedal placement

2020-03-03 Thread David Stephen Grant
Hi Martin,

You could try the attached, with the commands pedOn, pedRetake and pedOff.

Best,
David


Sustain-Pedal-2.pdf
Description: Adobe PDF document
\version "2.19.83"
\pointAndClickOff

pedOn =
#(define-event-function () ()
   #{
 -\tweak shorten-pair #'(0 . -1)
 -\tweak self-alignment-X #LEFT
 \sustainOn
   #} )

pedRetake =
#(define-event-function () ()
   #{
 \sustainOff
 -\tweak shorten-pair #'(1 . -1)
 -\tweak self-alignment-X #LEFT
 \sustainOn
   #} )

pedOff =
#(define-event-function () ()
   #{
 -\tweak self-alignment-X #LEFT
 \sustainOff
   #} )

rh = \relative c' {
  \clef treble
  %\set Dynamics.pedalSustainStyle = #'text
  1_\markup \tiny "pedalSustainStyle = #'text" |
   |
   ~ | q |
  \bar "|."
  \break

  \set Dynamics.pedalSustainStyle = #'mixed
  1_\markup \tiny "pedalSustainStyle = #'mixed" |
   |
   ~ | q |
  \bar "|."
  \break

  \set Dynamics.pedalSustainStyle = #'bracket
  1_\markup \tiny "pedalSustainStyle = #'bracket" |
   |
   ~ | q |
  \bar "|."
}

lh = \relative c {
  \clef bass
  \repeat unfold 3 {
c1 | c | c ~ | c |
\bar "|."
  }
}

pedalA = {
  \repeat unfold 3 {
s1\sustainOn |
s1\sustainOff\sustainOn |
s1\sustainOff\sustainOn |
s2. s4\sustainOff |
  }
}

pedalB = {
  \repeat unfold 3 {
s1\pedOn |
s1\pedRetake |
s1\pedRetake |
s2. s4\pedOff |
  }
}

\header {
  title = "Sustain Pedal Test"
}

\score {
  \header { piece = "Default" }
  \new PianoStaff
  <<
\new Staff \rh
\new Staff \lh
\new Dynamics \pedalA
  >>
  \layout {}
}


\score {
  \header { piece = "Optimized" }
  \new PianoStaff
  <<
\new Staff \rh
\new Staff \lh
\new Dynamics \pedalB
  >>
  \layout {}
}


Re: Helpless with system spacing

2020-03-03 Thread Stephan Schöll
Hi Joram

You're right: It's system-system-... . Your snippet leads exactly to the
desired result. I included it in my \book {} block. Awsome. That's it.
Thanks a lot!

Regards
Steff

Am 02.03.2020 um 00:12 schrieb Noeck:
> Hi Steff,
>
> I guess you want more system-system-spacing which is set in the \paper
> block and not in a Staff context:
>
> \paper {
>system-system-spacing =
> #'((basic-distance . 30)
>(minimum-distance . 20)
>(padding . 8)
>(stretchability . 10))
> }
>
>
> The values are probably too large, just to show the effect.
> This PDF shows which spacings have to be set in in which block:
>
> https://joramberger.de/files/LilypondSpacing.pdf
>
> Cheers,
> Joram
>
>
> PS: Your question showed me that the Lyrics and Chordname spacing is
> missing from this PDF.
>
>
>



Re: Helpless with system spacing

2020-03-03 Thread Stephan Schöll
Thanks, David, good hint (2.1.5). Not the solution to my core problem
though. Doesn't address the spacing, but helps with proximity anyway.

Best Regards
Stephan

Am 02.03.2020 um 02:22 schrieb David Wright:
> On Sun 01 Mar 2020 at 23:17:11 (+0100), Stephan Schöll wrote:
>> I would like to pull the systems vertically apart so that dynamics,
>> marks, lyrics a.s.o are optically (logically) grouped (law of
>> proximity). As you can see in the MVE the output is an optical mess.
>
> Can I just check that you really don't want to put this before the
> last line of your MVE:
>
>   \layout {
> \context {
>   \Score
>   \override DynamicText.direction = #UP
>   \override DynamicLineSpanner.direction = #UP
> }
>   }
>
> I for one would not appreciate its absence.
>
>> After so many attempts and hours I give up. I read so many manual pages
>> (e.g. chapters 4.4.1 and 4.5 from the manual), followed and tried so
>> many mailing-list posts...
>
> Try § 2.1.5, second page thereof.
>
>> --- MVE ---
>> \version "2.19.83"
>>
>> myNotes = \relative c' {
>>   c4\< c\> d\ff d \break
>>   e c\mark \default d2 \bar "|."
>> }
>>
>> myLyrics = \lyricmode {
>>   some word to the me -- lo -- dy
>> }
>>
>> \score {
>>   <<
>>   \new Staff {
>> \new Voice = "melody" {
>>   \myNotes
>> }
>>   }
>>   \new Lyrics \lyricsto "melody" {
>> \myLyrics
>>   }
>>   >>
>
>   \layout {
> \context {
>   \Score
>   \override DynamicText.direction = #UP
>   \override DynamicLineSpanner.direction = #UP
> }
>   }
>
>> }
>> --- END MVE ---
>
> Cheers,
> David.
>