Warning: g_spawn_sync failed (0): gs: Failed to execute helper program (Invalid argument)

2017-08-11 Thread Robert Murdoch

Hi,

I downloaded the latest unstable branch (2.19.65) and tried compiling a 
score. Afterwards, gspawn-win32-helper.exe got quarantined in my 
AntiVirus software (McAfee), which has never happened to me before on 
any of the stable or unstable branches. Now my score won't compile ewith 
the title error in the logfile. What should I do? Or should I just wait 
for a fix? Thanks for reading.



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


Ambitus with shape notes

2017-08-11 Thread Barry Parsons
Hi all,

As a newbie to this wonderful software I have a slightly odd request.

I set vocal music using shape notes (\sacredHarpHeads or \aikenHeads). I've
recently discovered the ambitus function, which is really useful.

I wonder, is it possible to add the correct shaped noteheads to the ambitus
at the start of a score, instead of ordinary round noteheads?

Thanks in advance,
Barry
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Warning: g_spawn_sync failed (0): gs: Failed to execute helper program (Invalid argument)

2017-08-11 Thread Michael Gerdau
Hi,

> I downloaded the latest unstable branch (2.19.65) and tried compiling a
> score. Afterwards, gspawn-win32-helper.exe got quarantined in my
> AntiVirus software (McAfee), which has never happened to me before on
> any of the stable or unstable branches. Now my score won't compile ewith
> the title error in the logfile. What should I do? Or should I just wait
> for a fix? Thanks for reading.

I doubt this is a lilypond problem.

I just installed 2.19.65 on my Windows 10 Pro system with plain vanilla 
Microsoft Defender and everything works just nicely. I therefor would 
(hesitantly) point my finger towards McAfee and/or your system.

You could try to uninstall/reinstall 2.19.65 and then disable McAfee and see if 
the problem persists. You may also file a bugreport/complaint with McAfee.

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


Re: Ambitus with shape notes

2017-08-11 Thread Lukas-Fabian Moser
Hi Barry,

unfortunately I do not have a ready-made solution - while it's possible to
change the ambitus note heads to a single specific sign by issuing (for
example) \override AmbitusNoteHead.style = #'do in the \layout block, this
is not a solution since it changes both ambitus note heads at the same time
-, I just want to point out an inherent problem:
As far as I understand, \sacredHarpHeads and \aikenHeads depend on the key
signature chosen (in much the same way that movable do syllables do). So,
it's a bit dodgy to issue ambitus information using these signs since the
key signature might change in the course of the piece. (Strictly speaking,
the ambitus signs occur at a place before a key signature is issued - but
this slight inconsistency applies to ambitus marks in general since they
show note heads *left* to the first clef ever encountered by the singer.)

Best
Lukas


2017-08-11 10:02 GMT+02:00 Barry Parsons :

> Hi all,
>
> As a newbie to this wonderful software I have a slightly odd request.
>
> I set vocal music using shape notes (\sacredHarpHeads or \aikenHeads).
> I've recently discovered the ambitus function, which is really useful.
>
> I wonder, is it possible to add the correct shaped noteheads to the
> ambitus at the start of a score, instead of ordinary round noteheads?
>
> Thanks in advance,
> Barry
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Re: Warning: g_spawn_sync failed (0): gs: Failed to execute helper program (Invalid argument)

2017-08-11 Thread Robert Murdoch
Thanks, but I found the solution. I simply inserted 
gspawn-win32-helper.exe into the McAfee excluded list for Real-Time 
Scanning. And, just to make sure, I also inserted 
gspawn-win32-helper-console.exe there too.


Also, I apologize for mispelling "with" as "ewith" in the third sentence 
of my previous post. Hooray for being a Grammar Nazi to my own grammar!



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


lyrics with alternatives in brackets

2017-08-11 Thread N. Andrew Walsh
Hi List,

I'm transcribing a cantata in Latin, and the last section has two verses,
each of which includes alternative versions of the text. My Latin is
nonexistent, so I don't know why this would be, but here's an example
(transcribed as best I can) of what it looks like:

1  [ qua ]  te ro go, [a ni - mæ] in coe - li [culmi - ne,] da
[queis]  [ a ni - mis]   [ gaudi - is,]

2 re  -  cre a bit, san gui nic [e -i-dem] guttu- lam, si
  [e-is-dem]


So, I need to be able to have two separate verses (I can do that per
NR2.1.2), but how do I include the alternate words *within* each verse? Is
there some voodoo I could do that would make such a thing possible?

Thanks for the help,

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


Re: Ambitus with shape notes

2017-08-11 Thread Lukas-Fabian Moser
Hi Barry,

nevertheless, here is a working solution (derived from
http://lilypond.org/doc/v2.18/Documentation/learning/advanced-tweaks-with-scheme).
Beware though: The notehead style is chosen here on a by-sounding-pitch
basis, so it has to be adapted for pieces in another key. But for the
reasons I explained, I'm not sure that this is not basically "right".

Of course, there certainly is a way to write a routine in such a way that
you can give the desired style and desired key signature once while issuing
\override AmbitusNoteHead.style = ... - the routine then rotate the note
heads around accordingly - but this exceeds both my scheme skills and
available time :-).


\version "2.19.44"


#(define (style-sacredHarp-notehead grob)
   "Change the notehead style according to pitch class."
   (let ((mod-position (modulo (ly:grob-property grob 'staff-position)
   7)))
 (case mod-position
   ;;   Return styles
   ((1) 'fa)  ; for C
   ((2) 'sol)  ; for D
   ((3) 'la)  ; for E
   ((4) 'fa)  ; for F
   ((5) 'sol)  ; for G
   ((6) 'la)  ; for A
   ((0) 'mi)  ; for B
   )))

% Standard definitions for \aikenHeads or \sacredHarpHeads may be
% found in lilypond/usr/share/lilypond/current/ly/property-init.ly:
%
%
% aikenHeads  = \set shapeNoteStyles = ##(do re miMirror fa sol la ti)
% aikenHeadsMinor = \set shapeNoteStyles = ##(la ti do re miMirror fa sol)
% funkHeads =  \set shapeNoteStyles = ##(doFunk reFunk miFunk faFunk
solFunk laFunk tiFunk)
% funkHeadsMinor =  \set shapeNoteStyles = ##(laFunk tiFunk doFunk reFunk
miFunk faFunk solFunk)
% sacredHarpHeads = \set shapeNoteStyles = ##(fa sol la fa sol la mi)
% sacredHarpHeadsMinor = \set shapeNoteStyles = ##(la mi fa sol la fa sol)
% southernHarmonyHeads =   \set shapeNoteStyles = ##(faThin sol laThin
faThin sol laThin miThin)
% southernHarmonyHeadsMinor =  \set shapeNoteStyles = ##(laThin miThin
faThin sol laThin faThin sol)
% walkerHeads =  \set shapeNoteStyles = ##(doWalker reWalker miWalker
faWalker solFunk laWalker tiWalker)
% walkerHeadsMinor =  \set shapeNoteStyles = ##(laWalker tiWalker doWalker
reWalker miWalker faWalker solFunk)


\layout {
  \context {
\Voice
\consists "Ambitus_engraver"
  }
  \override AmbitusNoteHead.style = #style-sacredHarp-notehead
}

\relative {
  \sacredHarpHeads
  c'4 d e b'
}

2017-08-11 10:47 GMT+02:00 Lukas-Fabian Moser :

> Hi Barry,
>
> unfortunately I do not have a ready-made solution - while it's possible to
> change the ambitus note heads to a single specific sign by issuing (for
> example) \override AmbitusNoteHead.style = #'do in the \layout block, this
> is not a solution since it changes both ambitus note heads at the same time
> -, I just want to point out an inherent problem:
> As far as I understand, \sacredHarpHeads and \aikenHeads depend on the key
> signature chosen (in much the same way that movable do syllables do). So,
> it's a bit dodgy to issue ambitus information using these signs since the
> key signature might change in the course of the piece. (Strictly speaking,
> the ambitus signs occur at a place before a key signature is issued - but
> this slight inconsistency applies to ambitus marks in general since they
> show note heads *left* to the first clef ever encountered by the singer.)
>
> Best
> Lukas
>
>
> 2017-08-11 10:02 GMT+02:00 Barry Parsons :
>
>> Hi all,
>>
>> As a newbie to this wonderful software I have a slightly odd request.
>>
>> I set vocal music using shape notes (\sacredHarpHeads or \aikenHeads).
>> I've recently discovered the ambitus function, which is really useful.
>>
>> I wonder, is it possible to add the correct shaped noteheads to the
>> ambitus at the start of a score, instead of ordinary round noteheads?
>>
>> Thanks in advance,
>> Barry
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ambitus with shape notes

2017-08-11 Thread Barry Parsons
Amazing, thanks Lukas!

I'll play around with this later but at first glance it looks like it ought
to be able to do what I'd like.

Regarding your point about key changes within a piece, it's luckily not
really relevant to me since the kind of music that's written using shape
notes almost never changes key.

Cheers!
Barry


On 11 Aug 2017 10:07 am, "Lukas-Fabian Moser"  wrote:

Hi Barry,

nevertheless, here is a working solution (derived from
http://lilypond.org/doc/v2.18/Documentation/learning/
advanced-tweaks-with-scheme). Beware though: The notehead style is chosen
here on a by-sounding-pitch basis, so it has to be adapted for pieces in
another key. But for the reasons I explained, I'm not sure that this is not
basically "right".

Of course, there certainly is a way to write a routine in such a way that
you can give the desired style and desired key signature once while issuing
\override AmbitusNoteHead.style = ... - the routine then rotate the note
heads around accordingly - but this exceeds both my scheme skills and
available time :-).


\version "2.19.44"


#(define (style-sacredHarp-notehead grob)
   "Change the notehead style according to pitch class."
   (let ((mod-position (modulo (ly:grob-property grob 'staff-position)
   7)))
 (case mod-position
   ;;   Return styles
   ((1) 'fa)  ; for C
   ((2) 'sol)  ; for D
   ((3) 'la)  ; for E
   ((4) 'fa)  ; for F
   ((5) 'sol)  ; for G
   ((6) 'la)  ; for A
   ((0) 'mi)  ; for B
   )))

% Standard definitions for \aikenHeads or \sacredHarpHeads may be
% found in lilypond/usr/share/lilypond/current/ly/property-init.ly:
%
%
% aikenHeads  = \set shapeNoteStyles = ##(do re miMirror fa sol la ti)
% aikenHeadsMinor = \set shapeNoteStyles = ##(la ti do re miMirror fa sol)
% funkHeads =  \set shapeNoteStyles = ##(doFunk reFunk miFunk faFunk
solFunk laFunk tiFunk)
% funkHeadsMinor =  \set shapeNoteStyles = ##(laFunk tiFunk doFunk reFunk
miFunk faFunk solFunk)
% sacredHarpHeads = \set shapeNoteStyles = ##(fa sol la fa sol la mi)
% sacredHarpHeadsMinor = \set shapeNoteStyles = ##(la mi fa sol la fa sol)
% southernHarmonyHeads =   \set shapeNoteStyles = ##(faThin sol laThin
faThin sol laThin miThin)
% southernHarmonyHeadsMinor =  \set shapeNoteStyles = ##(laThin miThin
faThin sol laThin faThin sol)
% walkerHeads =  \set shapeNoteStyles = ##(doWalker reWalker miWalker
faWalker solFunk laWalker tiWalker)
% walkerHeadsMinor =  \set shapeNoteStyles = ##(laWalker tiWalker doWalker
reWalker miWalker faWalker solFunk)


\layout {
  \context {
\Voice
\consists "Ambitus_engraver"
  }
  \override AmbitusNoteHead.style = #style-sacredHarp-notehead
}

\relative {
  \sacredHarpHeads
  c'4 d e b'
}

2017-08-11 10:47 GMT+02:00 Lukas-Fabian Moser :

> Hi Barry,
>
> unfortunately I do not have a ready-made solution - while it's possible to
> change the ambitus note heads to a single specific sign by issuing (for
> example) \override AmbitusNoteHead.style = #'do in the \layout block, this
> is not a solution since it changes both ambitus note heads at the same time
> -, I just want to point out an inherent problem:
> As far as I understand, \sacredHarpHeads and \aikenHeads depend on the key
> signature chosen (in much the same way that movable do syllables do). So,
> it's a bit dodgy to issue ambitus information using these signs since the
> key signature might change in the course of the piece. (Strictly speaking,
> the ambitus signs occur at a place before a key signature is issued - but
> this slight inconsistency applies to ambitus marks in general since they
> show note heads *left* to the first clef ever encountered by the singer.)
>
> Best
> Lukas
>
>
> 2017-08-11 10:02 GMT+02:00 Barry Parsons :
>
>> Hi all,
>>
>> As a newbie to this wonderful software I have a slightly odd request.
>>
>> I set vocal music using shape notes (\sacredHarpHeads or \aikenHeads).
>> I've recently discovered the ambitus function, which is really useful.
>>
>> I wonder, is it possible to add the correct shaped noteheads to the
>> ambitus at the start of a score, instead of ordinary round noteheads?
>>
>> Thanks in advance,
>> Barry
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics with alternatives in brackets

2017-08-11 Thread Michael Gerdau
Hi Andrew,

please always provide a minimum working example (MWE) possibly together with a 
sketchup of what you wish to achieve.

Here is how I understood your problem:

%-- snip --

\version "2.19.59"

music = \repeat unfold 20 { c' }


verseI = \lyricmode {
  \set stanza = "1"
  "[ qua ]"  te ro go, "[a" ni -- "mæ]" in coe -- li "[culmi" -- "ne,]" da
}
verseIb = \lyricmode {
  "[queis]" \skip 8 \skip 8 \skip 8 "[ a" ni -- "mis]" \skip 8 \skip 8 \skip 8 
"[ gaudi" -- "is,]"
}

verseII = \lyricmode {
  \set stanza = "2"
  re  --  cre a bit, san gui nic "[e" -- i -- "dem]" guttu -- lam, si
}
verseIIb = \lyricmode {
  \repeat unfold 7 { \skip 8 } "[e" -- is -- "dem]"
}

\music
\addlyrics { \verseI }
\addlyrics { \verseIb }
\addlyrics { \verseII }
\addlyrics { \verseIIb }

%-- snip --


> "N. Andrew Walsh"  hat am 11. August 2017 um 10:58 
> geschrieben:
> 
> Hi List,
> 
> I'm transcribing a cantata in Latin, and the last section has two verses, 
> each of which includes alternative versions of the text. My Latin is 
> nonexistent, so I don't know why this would be, but here's an example 
> (transcribed as best I can) of what it looks like:
> 
> 1  [ qua ]  te ro go, [a ni - mæ] in coe - li [culmi - ne,] da
> [queis]  [ a ni - mis]   [ gaudi - is,]
> 
> 2 re  -  cre a bit, san gui nic [e -i-dem] guttu- lam, si
>   [e-is-dem]
> 
> 
> So, I need to be able to have two separate verses (I can do that per 
> NR2.1.2), but how do I include the alternate words *within* each verse? Is 
> there some voodoo I could do that would make such a thing possible?
> 
> Thanks for the help,
> 
> A
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


OpenType in LilyPond

2017-08-11 Thread Malte Meyn

Hi list,

if I understand correctly LilyPond already supports OpenType features 
and this will be documented in the next version (changes already have 
been pushed to master). Is this only for use in markup \overrides or can 
you select features document-wide? This would be nice:


\paper {
  #(define fonts
(set-global-fonts
#:music "cadence"
#:brace "cadence"
#:roman "Vollkorn" % Can this be Vollkorn with OT feature ss13?
#:factor (/ staff-height pt 20)
  ))
}

Thanks,
Malte

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


Re: OpenType in LilyPond

2017-08-11 Thread Malte Meyn



Am 11.08.2017 um 16:10 schrieb Malte Meyn:

 #:roman "Vollkorn" % Can this be Vollkorn with OT feature ss13?


This should be a scheme comment (; instead of %)

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


setting ragged-right at a specific forced break

2017-08-11 Thread Benjamin Bloomfield
Hi,

I'm trying to figure out a way so that when I force a line break using
\break, I can have the line that breaks there act as though ragged-right
were set in the layout block.

For a better understanding, I will explain *why*: I am putting line breaks
so that each new verse of a hymn starts on a new system, but I don't want
the last system of each verse stretched out so much.  This is somewhat more
common perhaps in Gregorian chant, and I am using this override so that the
last system's staff extends to the right side of the page, even though
ragged-last is on:

> \override StaffSymbol #'width = #(lambda (grob)
>
> (ly:output-def-lookup (ly:grob-layout grob) 'line-width))
>
>
​So if there is some way of adding as much empty space as will fit on a
line before a break, that could work too.  What I basically want is for
systems that end with an automatic line break to be justified, but for
those that end with my manually specified \break​ to be ragged-right.

Thanks in advance for any advice,

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


Re: Hello / a 1st question

2017-08-11 Thread Michael Rivers
I was just about to post that solution (print-all-headers, no book or book
part). I also do short children's piano pieces. The solution also works for
variations.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hello-a-1st-question-tp204966p204990.html
Sent from the User mailing list archive at Nabble.com.

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


Re: setting ragged-right at a specific forced break

2017-08-11 Thread Malte Meyn



Am 11.08.2017 um 18:23 schrieb Benjamin Bloomfield:

​So if there is some way of adding as much empty space as will fit on a
line before a break, that could work too.  What I basically want is for
systems that end with an automatic line break to be justified, but for
those that end with my manually specified \break​ to be ragged-right.



Why don’t you use separate scores?


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


Re: setting ragged-right at a specific forced break

2017-08-11 Thread Benjamin Bloomfield
Perhaps I will have to.  The reason I haven't done it yet, is because this
is part of a bigger project, in which only some verses of some hymns are
laid out this way, and the lyrics and melodies are all pulled from a
database, so it is convenient for the different options within hymns to be
as small as possible.  Perhaps using multiple scores will be the only way
to do it though.

Thanks,

*Benjamin Bloomfield*

On Fri, Aug 11, 2017 at 1:32 PM, Malte Meyn  wrote:

>
>
> Am 11.08.2017 um 18:23 schrieb Benjamin Bloomfield:
>
>> ​So if there is some way of adding as much empty space as will fit on a
>> line before a break, that could work too.  What I basically want is for
>> systems that end with an automatic line break to be justified, but for
>> those that end with my manually specified \break​ to be ragged-right.
>>
>>
> Why don’t you use separate scores?
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Why is skipTypesetting so loud?

2017-08-11 Thread Flaming Hakama by Elaine
> From: caag...@gmail.com
>
> Date: Fri, 11 Aug 2017 03:00:38 +0200
> Subject: Why is skipTypesetting so loud?
> When using \set skipTypesetting, stderr is *flooded* with messages saying
> `programming error: asked to compute volume at ...`, `programming error: no
> current dynamic`, and `continuing, cross fingers`. This makes it rather
> difficult to see if there are any actual errors, since those are printed
> before the five thousand lines of spam.
>
> It's fairly trivial to write a wrapper script to remove those lines, but
> the fact that the spam exists at all bothers me. It didn't exist in 2.18.
> Why does it exist now?
>

I cannot answer the question you asked.

However, when I've run into similar warnings, I was able to get them to go
away by adding dynamic endpoints to all hairpins and crescendi.

You don't need to print the dynamic, but you need to define one.
I followed someone's advice and defined a bunch of non-printing dynamics:

xppp = \tweak stencil ##f \ppp
xpp = \tweak stencil ##f \pp
xp = \tweak stencil ##f \p
xmp = \tweak stencil ##f \mp
xmf = \tweak stencil ##f \mf
xf = \tweak stencil ##f \f
xff = \tweak stencil ##f \ff
xfff = \tweak stencil ##f \fff


{
% Possible error when you don't define a dynamic endpoint (you've only
defined the grob endpoint)
c1\mp 1\< 1\! }

% Define the dynamic endpoint, too
c1\mp 1\< 1\xmf
}


HTH,

David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OpenType in LilyPond

2017-08-11 Thread Jay Anderson
On Fri, Aug 11, 2017 at 7:10 AM, Malte Meyn  wrote:
>
> if I understand correctly LilyPond already supports OpenType features and
> this will be documented in the next version (changes already have been
> pushed to master). Is this only for use in markup \overrides or can you
> select features document-wide? This would be nice:
>
> \paper {
>   #(define fonts
> (set-global-fonts
> #:music "cadence"
> #:brace "cadence"
> #:roman "Vollkorn" % Can this be Vollkorn with OT feature ss13?
> #:factor (/ staff-height pt 20)
>   ))
> }
>

I did some of the work on that feature. It currently can't be globally
enabled. I'd need to explore a bit more to figure it out how to make it
available globally, but seems like it should be doable. I can't promise
anything soon though.

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