Ignore stems

2022-03-25 Thread Simon Albrecht

Hello everybody,

I want to try having Lyrics placed without regard for any stems in the 
adjacent staff (and then using whiteout to remedy the clash, of course). 
The below approach doesn’t work. Why? Can I make it work?


Best, Simon


\version "2.23.6"

\layout {
  \context {
    \Lyrics
    \override LyricText.show-vertical-skylines = ##t
    \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = 
#'((padding . 0.2))

  }
  \context {
    \Voice
    \override Stem.show-vertical-skylines = ##t
    \override Stem.vertical-skylines = #'()
  }
}

<<
  { b'4 }
  \addlyrics { M }
  { a'4 }
  \addlyrics { M }
>>


Re: Ignore stems

2022-03-25 Thread Jean Abou Samra

Le 25/03/2022 à 13:11, Simon Albrecht a écrit :

Hello everybody,

I want to try having Lyrics placed without regard for any stems in the 
adjacent staff (and then using whiteout to remedy the clash, of 
course). The below approach doesn’t work. Why? Can I make it work?




From grob.cc:

Grob::Grob (SCM basicprops)
{
  [...]
  if (scm_is_null (get_property_data (this, "X-extent")))
    set_property (this, "X-extent", Grob::stencil_width_proc);
  if (scm_is_null (get_property_data (this, "Y-extent")))
    set_property (this, "Y-extent",
  Unpure_pure_container::make_smob 
(Grob::stencil_height_proc,

Grob::pure_stencil_height_proc));
  if (scm_is_null (get_property_data (this, "vertical-skylines")))
    set_property (this, "vertical-skylines",
  Unpure_pure_container::make_smob 
(Grob::simple_vertical_skylines_from_extents_proc,

Grob::pure_simple_vertical_skylines_from_extents_proc));
  if (scm_is_null (get_property_data (this, "horizontal-skylines")))
    set_property (this, "horizontal-skylines",
  Unpure_pure_container::make_smob 
(Grob::simple_horizontal_skylines_from_extents_proc,

Grob::pure_simple_horizontal_skylines_from_extents_proc));
}


In English: these properties (X-extent, Y-extent, horizontal-skylines,
vertical-skylines) have implicit defaults, which are given when the
property is found not to be set. Now you're setting them to the empty
list, which for some reason (David calls it a Lispism, I agree with
him) has been chosen as the value representing lack of value, so the
default gets applied. Try #f instead.

Jean



Re: Ignore stems

2022-03-25 Thread Aaron Hill

On 2022-03-25 5:11 am, Simon Albrecht wrote:

Hello everybody,

I want to try having Lyrics placed without regard for any stems in the
adjacent staff (and then using whiteout to remedy the clash, of
course). The below approach doesn’t work. Why? Can I make it work?


You'll typically need to use negative padding to get overlapping ink.


  \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((minimum-distance . 4.5) (padding . -2))



-- Aaron Hill



Re: Should \partial accept music instead of duration?

2022-03-25 Thread Kieren MacMillan
Hi all,

> This can be a snippet in the docs, as far as I'm concerned.

Why wouldn't this be a candidate for a patch?

I feel like some developers have an aversion to sugar… but for me, it's the 
highest-impact sales tool when I'm Lily-vangelizing.  :)

Cheers,
Kieren.


Re: Ignore stems

2022-03-25 Thread Simon Albrecht

Hi Jean,

On 25/03/2022 13:20, Jean Abou Samra wrote:

In English: these properties (X-extent, Y-extent, horizontal-skylines,
vertical-skylines) have implicit defaults, which are given when the
property is found not to be set. Now you're setting them to the empty
list, which for some reason (David calls it a Lispism, I agree with
him) has been chosen as the value representing lack of value, so the
default gets applied. Try #f instead. 



thanks a lot for the expert explanation! I was so sure that I have 
always seen people use #'() for clearing skylines that I didn’t try the 
obvious alternative.


Best regards!
Simon




help

2022-03-25 Thread Felix Maude
 Dear sirs: I'm not able to download lilypond extension , program, i have
the windows 10, I keep getting a message can't load is it safe, please
inform what I may do to resolve this really need the program.

Thanks,
Philip (928)344-4261


Re: help

2022-03-25 Thread Jacques Menu
Hello Felix,

Not clear: what is it you call the lily extension program?

JM

> Le 25 mars 2022 à 17:25, Felix Maude  a écrit :
> 
>  Dear sirs: I'm not able to download lilypond extension , program, i have the 
> windows 10, I keep getting a message can't load is it safe, please inform 
> what I may do to resolve this really need the program.
> 
> Thanks, 
> Philip (928)344-4261




Re: help (Windows 10 downloads)

2022-03-25 Thread Karlin High

On 3/25/2022 11:25 AM, Felix Maude wrote:
i have the windows 10, I keep getting a message can't load is it safe, 
please inform what I may do to resolve this really need the program.


Microsoft often considers unfamiliar downloaded executables as "guilty 
until proven innocent."


Where it says the download is unsafe, there should be options for 
opening it anyhow. It might say "Options" or "Advanced."

--
Karlin High
Missouri, USA



Re: Should \partial accept music instead of duration?

2022-03-25 Thread Jean Abou Samra

Le 25/03/2022 à 14:13, Kieren MacMillan a écrit :
but for me, it's the highest-impact sales tool when I'm 
Lily-vangelizing. :)


I'm curious, could you say more?

Jean



Lilypond 2.22.2 (Mac homebrew) warns about ice-9 when using \articulate

2022-03-25 Thread Kenneth Wolcott
HI;

Is this something to be concerned about?

Thanks,
Ken Wolcott

Lilypond 2.22.2 (Mac homebrew) warns about ice-9 when using \articulate

GNU LilyPond 2.22.2 (running Guile 2.2)
Processing `Silent_Night.ly'
Parsing...
Interpreting music...[8][16][24][32][40][48]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `Silent_Night.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `Silent_Night.pdf'...
(ice-9 debug) is deprecated. Use (system vm trace) for tracing.
Success: compilation successfully completed



Re: Lilypond 2.22.2 (Mac homebrew) warns about ice-9 when using \articulate

2022-03-25 Thread Jean Abou Samra

Le 26/03/2022 à 01:41, Kenneth Wolcott a écrit :

HI;

Is this something to be concerned about?



No, it is strictly harmless. The warning has been fixed in the 2.23 series.

Jean



Re: Lilypond 2.22.2 (Mac homebrew) warns about ice-9 when using \articulate

2022-03-25 Thread Kenneth Wolcott
Very cool.

On Fri, Mar 25, 2022 at 5:42 PM Jean Abou Samra  wrote:
>
> Le 26/03/2022 à 01:41, Kenneth Wolcott a écrit :
> > HI;
> >
> > Is this something to be concerned about?
>
>
> No, it is strictly harmless. The warning has been fixed in the 2.23 series.
>
> Jean



When the previous typesetter states "with pedal", what exactly does this mean?

2022-03-25 Thread Kenneth Wolcott
HI;

  When the previous typesetter states "with pedal",  what exactly does
this mean?

  I think it means "hold the sustain pedal from the beginning all the
way through to the end".

  But it could mean that the sustain pedal should be used in all cases
that it makes sense to the performer.

  In this case, what should be done to make the midi sound correct?

Thanks,
Ken Wolcott



Re: When the previous typesetter states "with pedal", what exactly does this mean?

2022-03-25 Thread Shane Brandes
In most cases this would mean use the pedal in an ad libitum fashion and
not play it dry without the use of the sustain pedal.

Shane

On Fri, Mar 25, 2022 at 8:52 PM Kenneth Wolcott 
wrote:

> HI;
>
>   When the previous typesetter states "with pedal",  what exactly does
> this mean?
>
>   I think it means "hold the sustain pedal from the beginning all the
> way through to the end".
>
>   But it could mean that the sustain pedal should be used in all cases
> that it makes sense to the performer.
>
>   In this case, what should be done to make the midi sound correct?
>
> Thanks,
> Ken Wolcott
>
>


Re: Should \partial accept music instead of duration?

2022-03-25 Thread Kieren MacMillan
Hi Jean,

>> but for me, it's the highest-impact sales tool when I'm Lily-vangelizing. :)
> I'm curious, could you say more?

When I show someone that you can install "vanilla" Lilypond, just type 
something like


\version "2.23.4"

randomNotes = {
  $@(let ((notes (ly:music-property #{  #} 'elements)))
  (map (lambda (x) (list-ref notes (random (length notes (iota 400)))
}

\new Voice { \randomNotes }


and [every time you compile you] get random notes for interval practice, it 
blows their mind.

Writing


\language "english"
\include "init_schenker.ly "

global = {
  \cadenzaOn
  \key g \major
  s8*16
  \bar "|."
}

urlinie = \relative c'' {
  s8*4
  b8*4[-3
  \lesser b8*2
  a8*4-2
  g8]-1
}

\score {
  \new SchenkerGrandStaff <<
\new SchenkerStaff <<
  \clef treble
  \global
  \new UrlinieVoice { \voiceOne \urlinie }
>>
  >>
}


and getting the output


also seems very impressive at first… but the moment they see they can't do it 
with "vanilla" Lilypond (i.e., they need my included LilySchenker 
file/framework), they’re immediately less impressed.

I don't know how many other people have tried to convert composers/engravers to 
Lilypond, but every bit of sugar makes the whole platform seem more 
approachable. As a wise man once said: “Every sufficiently advanced technology 
is indistinguishable from magic.” :)

Hope that makes it clearer?
Kieren.