Re: Why does skip cause extender line to grow?

2019-10-09 Thread Patrick Karl

On 10/8/19 1:58 PM, Kieren MacMillan wrote:

Hi Patrick,


I don't understand why the extender includes the d4 in the third measure.

Because you didn’t tell it to stop extending.  ;)
I thought the single "__" initiated an extender that ended either at the 
end of the current note, in the case of a sequence of tied notes (which 
creates a single note), or at the end of the slur if a slur starts on 
the current note.  If that's true, then, since the initial c1 can't be 
and isn't tied to the d4 and the initial c1 is not slurred to the d4,  I 
had in effect told it to stop extending.  If I wanted the extender to 
include the d4, I would (should) have written the extender as "__ _".  
And for some reason that I can't find explained in the Notation RM, 
LilyPond evidently assumed that that ("__ _") is what I had written.



Is there a way to shorten it to the tied c1 in the second measure?

How’s this?

%%%  SNIPPET BEGINS
\version "2.19.83"
music = \relative c' {
 c1 ~ c1
 d4 e f g }

words = \lyricmode {  Tra __  la la la la }

\score { \new Staff \new Voice \music \addlyrics \words }
%%%  SNIPPET ENDS

If you really want a gap [under the d], then use

%%%  SNIPPET BEGINS
\version "2.19.83"
music = \relative c' {
 c1 ~ c1
 d4 e f g }

words = \lyricmode {  Tra __  \markup \null la la la }

\score { \new Staff \new Voice \music \addlyrics \words }
%%%  SNIPPET ENDS

Hope that helps!

Yes, it helps a lot.  Thanks.

Kieren.


Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info



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


Why does skip cause extender line to grow?

2019-10-08 Thread Patrick Karl

Consider the following snippet:


\version "2.19.83"
music = \relative c' {
    c1~ c1
    d4 e f g }

words = \lyricmode {  Tra __  \skip 1 la la la }

\score { \new Staff \music \addlyrics \words }

The output is (also attached):


I don't understand why the extender includes the d4 in the third 
measure. Is there a way to shorten it to the tied c1 in the second measure?





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


Re: pageBreak causes multiple ChoirStaff or StaffGroup System Start Delimiters

2019-08-10 Thread Patrick Karl

On 8/10/19 12:10 PM, Mark Stephen Mrotek wrote:


\version "2.19.81"

\score {

    {

  \new StaffGroup <<

  \new Staff c''1

  \new Staff c''1  >>}

}

\pageBreak

    {

  \new StaffGroup <<

  \new Staff   d''1

  \new Staff d''1 >>}



Yes, that's perfect!  Thank you very much.

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


Re: pageBreak causes multiple ChoirStaff or StaffGroup System Start Delimiters

2019-08-10 Thread Patrick Karl

On 8/10/19 10:34 AM, David Wright wrote:

On Sat 10 Aug 2019 at 09:58:21 (-0500), Patrick Karl wrote:

On 8/9/19 11:40 AM, Mark Stephen Mrotek wrote:

Patrick,

Not sure about the page break.

Is this what you want?


Well, not really.  If you'll reread the subject I wrote, I'm looking
to get a second ChoirStaff or StaffGroup on a new page with only a
single System Start Delimiter.  Your response doesn't seem very
responsive.

Ouch.


I guess I have to ask:  does my original submission illustrate a bug
in LilyPond?

That seems like an odd question because it focuses on what you don't
want rather than what you do. Expressed in positive terms, what you
seem to be asking is "Can I get LP to print a score which is taller
than the page, so that the System Start Delimiter extends out of the
bottom of the first page and into the top of the second? If so, how
is it done?"

Is that what you want? If not, it might be sensible to attach a
hand-drawn sketch of what it is that you want.
Actually, the image I submitted with my original post was almost 
perfect, and would be perfect if the second StaffGroup had only a single 
System Start Delimiter (SSD).  Where does that second SSD come from?  It 
doesn't seem to me that the second StaffGroup in my MWE is within the 
first StaffGroup, so it's not as if the second StaffGroup is part of the 
first StaffGroup.  So the second SSD can't be related to the first 
StaffGroup, no?



\version "2.19.81"

\score {

     { <<

   \new PianoStaff <<

   \new Staff c''1

   \new Staff c''1  >>

   \new PianoStaff <<

   \new Staff { d''1 }

   \new Staff d''1 >>

   >>

    }

}

*From:*lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] *On
Behalf Of *Patrick Karl
*Sent:* Friday, August 09, 2019 9:35 AM
*To:* lilypond-user 
*Subject:* pageBreak causes multiple ChoirStaff or StaffGroup
System Start Delimiters

The following snippet generates a StaffGroup with two staves
followed by a second similar StaffGroup on a second page:

\score {
     {
   \new StaffGroup <<
   \new Staff c''1
   \new Staff c''1  >>
   \new StaffGroup <<
   \new Staff {  \pageBreak d''1 }
   \new Staff d''1 >>
    }
}

Here is an image of the beginning of the second system generated
by the above snippet:

Unfortunately, the second StaffGroup has not one but two System
Start Delimiters.  If a third such StaffGroup were generated, it
would have three System Start Delimiters, etc., etc.,  The same
problem occurs with ChoirStaff and appears to happen no matter
what the System Start Delimiter is.

Does anyone have a workaround for this problem?

Above image also attached.

Cheers,
David.



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


Re: pageBreak causes multiple ChoirStaff or StaffGroup System Start Delimiters

2019-08-10 Thread Patrick Karl

On 8/9/19 11:40 AM, Mark Stephen Mrotek wrote:


Patrick,

Not sure about the page break.

Is this what you want?

Well, not really.  If you'll reread the subject I wrote, I'm looking to 
get a second ChoirStaff or StaffGroup on a new page with only a single 
System Start Delimiter.  Your response doesn't seem very responsive.



I guess I have to ask:  does my original submission illustrate a bug in 
LilyPond?



\version "2.19.81"

\score {

    { <<

  \new PianoStaff <<

  \new Staff c''1

  \new Staff c''1  >>

  \new PianoStaff <<

  \new Staff { d''1 }

  \new Staff d''1 >>

  >>

   }

}

*From:*lilypond-user 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] *On Behalf 
Of *Patrick Karl

*Sent:* Friday, August 09, 2019 9:35 AM
*To:* lilypond-user 
*Subject:* pageBreak causes multiple ChoirStaff or StaffGroup System 
Start Delimiters


The following snippet generates a StaffGroup with two staves followed 
by a second similar StaffGroup on a second page:


\score {
    {
  \new StaffGroup <<
  \new Staff c''1
  \new Staff c''1  >>
  \new StaffGroup <<
  \new Staff {  \pageBreak d''1 }
  \new Staff d''1 >>
   }
}

Here is an image of the beginning of the second system generated by 
the above snippet:


Unfortunately, the second StaffGroup has not one but two System Start 
Delimiters.  If a third such StaffGroup were generated, it would have 
three System Start Delimiters, etc., etc.,  The same problem occurs 
with ChoirStaff and appears to happen no matter what the System Start 
Delimiter is.


Does anyone have a workaround for this problem?

Above image also attached.



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


pageBreak causes multiple ChoirStaff or StaffGroup System Start Delimiters

2019-08-09 Thread Patrick Karl
The following snippet generates a StaffGroup with two staves followed by 
a second similar StaffGroup on a second page:


\score {
    {
  \new StaffGroup <<
  \new Staff c''1
  \new Staff c''1  >>
  \new StaffGroup <<
  \new Staff {  \pageBreak d''1 }
  \new Staff d''1 >>
   }
}

Here is an image of the beginning of the second system generated by the 
above snippet:


Unfortunately, the second StaffGroup has not one but two System Start 
Delimiters.  If a third such StaffGroup were generated, it would have 
three System Start Delimiters, etc., etc.,  The same problem occurs with 
ChoirStaff and appears to happen no matter what the System Start 
Delimiter is.


Does anyone have a workaround for this problem?


Above image also attached.






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


Re: v2.19.82 documentation unusable?

2018-11-23 Thread Patrick Karl
I thank everyone for the replies.  I’ll just wait till it’s fixed.

I tried to find a version of Emmentaler-20 I could install on my mac, but had 
no luck.  Is that a way out?   I have to admit that fonts are pretty much a 
black hole for me.


> On Nov 23, 2018, at 5:25 AM, David Kastrup  wrote:
> 
> Thomas Morley mailto:thomasmorle...@gmail.com>> 
> writes:
> 
>> Am Do., 22. Nov. 2018 um 23:49 Uhr schrieb Patrick Karl :
>>> 
>>> I have lately been trying to move from v2.19.81 to 2.19.82.  The
>>> biggest problem I see at this early stage is that
>>> v2.19.82 documentation is apparently dependent upon a new font,
>>> Emmentaler-20.  Or at least I
>>> get an error message such as:
>>> 
>>> Cannot find or create the font Emmentaler-20. Some characters may
>>> not display or print correctly.
>>> 
>>> or
>>> 
>>> Cannot find or create the font TeXGyroSchola-Regular. Some
>>> characters may not display or print correctly.
>>> 
>>> I have downloaded the pdf version of the documentation.  I’m running
>>> OS X 10.11.6 on a mac pro and a macbook pro.
>>> 
>>> Does anyone have any helpful information here?  Does any of the
>>> documentation address this problem, which I have not encountered in
>>> the past (I’ve been running LilyPond since 2.14).
>> 
>> It's a known problem, see full discussion here:
>> http://lilypond.1069038.n5.nabble.com/PDF-docs-for-2-19-82-broken-missing-fonts-td214202i20.html
>> 
>> Phil, David, any news about it?
> 
> I thought we decided to classify it as "fluke" (happening rarely and we
> don't know why) and wanted to just see whether 2.19.83 looked ok again.
> That 2.19.83 is stuck in the pipeline because of build problems and lack
> of personal resources is, of course, doubly unfortunate because of the
> documentation problem.
> 
> -- 
> David Kastrup

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


v2.19.82 documentation unusable?

2018-11-22 Thread Patrick Karl
I have lately been trying to move from v2.19.81 to 2.19.82.  The biggest 
problem I see at this early stage is that
 v2.19.82 documentation is apparently dependent upon a new font, Emmentaler-20. 
 Or at least I 
get an error message such as:

Cannot find or create the font Emmentaler-20. Some characters may not display 
or print correctly.

or 

Cannot find or create the font TeXGyroSchola-Regular. Some characters may not 
display or print correctly.

I have downloaded the pdf version of the documentation.  I’m running OS X 
10.11.6 on a mac pro and a macbook pro.

Does anyone have any helpful information here?  Does any of the documentation 
address this problem, which I have not encountered in the past (I’ve been 
running LilyPond since 2.14).



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


Re: Hairpin.to-barline doesn't always work

2018-07-25 Thread Patrick Karl

On 7/20/18 11:32 PM, Pierre Perol-Schneider wrote:

Hi Patrick,
Try:

\version "2.19.81"

{
  \time 1/4
  \override Hairpin.to-barline = ##f
  a8\> b
  c'4\!
}
{
  \time 1/4
  a8-\tweak to-barline ##f \> b
  c'4\!
}

Cheers,
Pierre


I appreciate the advice.  Can you explain why a break, whether automatic 
or forced, seems to completely negate the to-barline setting:


\version "2.19.81"

\paper {
    ragged-bottom = ##t
    ragged-right = ##t
}

\relative c'' {
    c1
    \override Hairpin.to-barline = ##f d1\<
    e1\!
}

\relative c'' {
    c1 c c c c c c c c c
    \override Hairpin.to-barline = ##f d1\<
    e1\!
}

\relative c'' {
    c1
    \override Hairpin.to-barline = ##f d1\<
    \break
    e1\!
}

As you can see (I hope), the first example works as expected, but the 
next two examples fail in that the hairpin stops at the barline.  I have 
read the section of the Notation RM dealing with the to-barline property 
of Spanners (5.4.6), and haven't seen an explanation of this behavior.




2018-07-21 5:08 GMT+02:00 Patrick Karl <mailto:jpk...@gmail.com>>:



Section 5.4.6 of the Notation RM states:


/The|to-barline|property/

The second useful property of
the|spanner-interface|is|to-barline|. By default this is true,
causing hairpins and other spanners which are terminated on the
first note of a measure to end instead on the immediately
preceding bar line. If set to false, the spanner will extend
beyond the bar line and end on the note itself

I have a couple of questions about this section.  The first is,
why would the default setting for to-barface be true?  If I wanted
my spanner to end on the immediately preceding bar line, I could
easily set "\!" after the last note of the preceding bar.


The second question has to do with the following two examples:

\version "2.19.81"
{  \time 1/4
    a8\> b
    \override Hairpin.to-barline = ##f
    c'4\! }
{  \time 1/4
    a8\> b
    \override Hairpin.to-barline = ##t
    c'4\! }


Both examples give identical output, i.e., the hairpin ends before
the first barline, not extending to the first note of the second
bar no matter what the setting of Hairpin.to-barline is.


How can I extend the hairpin to the end of the note in the 2nd bar?

Please answer both questions.  Why would the default be so
counter-intuitive?


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




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


Hairpin.to-barline doesn't always work

2018-07-20 Thread Patrick Karl


   Section 5.4.6 of the Notation RM states:


   /The|to-barline|property/

The second useful property of the|spanner-interface|is|to-barline|. By 
default this is true, causing hairpins and other spanners which are 
terminated on the first note of a measure to end instead on the 
immediately preceding bar line. If set to false, the spanner will extend 
beyond the bar line and end on the note itself


I have a couple of questions about this section.  The first is, why 
would the default setting for to-barface be true?  If I wanted my 
spanner to end on the immediately preceding bar line, I could easily set 
"\!" after the last note of the preceding bar.



The second question has to do with the following two examples:

\version "2.19.81"
{  \time 1/4
    a8\> b
    \override Hairpin.to-barline = ##f
    c'4\! }
{  \time 1/4
    a8\> b
    \override Hairpin.to-barline = ##t
    c'4\! }


Both examples give identical output, i.e., the hairpin ends before the 
first barline, not extending to the first note of the second bar no 
matter what the setting of Hairpin.to-barline is.



How can I extend the hairpin to the end of the note in the 2nd bar?

Please answer both questions.  Why would the default be so 
counter-intuitive?


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


\set Staff.tempoHideNote not working

2018-07-19 Thread Patrick Karl

Neither of the following attempts at hiding the "quarter note = nnn" works:


{ \set Staff.tempoHideNote = ##t
  \tempo "Allegro" 4=120
  c''4 d'' e'' f''
}

{ \tempo "Allegro" \set Staff.tempoHideNote = ##t
  \tempo 4=120
  c''4 d'' e'' f''
}

I think the first one should clearly work, but it simply does nothing.


So, what's the best way to do this?

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


Re: Extra space at the beginning of the bar

2018-03-25 Thread Patrick Karl

> On Mar 25, 2018, at 2:56 AM, lilypond-user-requ...@gnu.org wrote:
> 
> Message: 2
> Date: Sat, 24 Mar 2018 22:57:18 -0400
> From: Kieren MacMillan 
> To: paolo prete 
> Cc: Lilypond-User Mailing List 
> Subject: Re: Extra space at the beginning of the bar
> Message-ID: 
> Content-Type: text/plain; charset=utf-8
> 
> Hi Paolo,
> 
>> Is there a way to add extra space at the beginning of a bar without 
>> overriding the X-offset of the starting notes/rests/chords?
>> {  how to add space here? . c' c' c' c' }
> 
> Here are two options that avoid X-offset:
> 
> \version "2.19.80"
> \language "english"
> 
> \score {
>  \repeat unfold 12 { c'4 }
>  \layout {
>\context {
>  \Score
>  \override BarLine.space-alist.first-note = #'(fixed-space . 12)
>  \override BarLine.space-alist.next-note = #'(semi-fixed-space . 12.5)
>}
>  }
> }

I don’t understand your first method.  Why doesn’t the first measure have any 
extra space?  To me, the score looks identical whether I include your first 
override or not; it doesn’t seem to do anything.  It must be because there’s 
not a bar line before the first measure.  I tried changing the “music” to:  { 
\bar “” \repeat unfold 12 { c’4 } }, but that didn’t change anything.

Just curious what’s going on here.
> 
> { \tweak NoteHead.extra-spacing-width #'(-12 . 0) c'4 4 4 4 }
> 


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


Re: How to end a melisma

2017-11-02 Thread Patrick Karl

On 10/31/17 7:19 PM, Simon Albrecht wrote:

On 31.10.2017 18:09, pkarl wrote:
I'm trying to figure out the correct way to have LilyPond, v2.19.53, 
generate the attached score, which is for an instrument and a singer, 
but the singer doesn't sing all the notes that the instrumentalist 
plays. Furthermore, the last thing before the singer tacet's is a 
melisma.


My first naive attempt was:

Music = \relative c'' { c4 d e f    c d e f    r d e f    c d e f }
Lyrics = \lyricmode { do re mi fa __ _ _ _ _
\repeat unfold 3 { \skip 1 } sol la ti do }
\score {
    \new Staff \Music
    \addlyrics \Lyrics
} 


The correct way would be

Music = \relative c'' {
  c4 d e f\melisma
  c d e f\melismaEnd
  r d e f
  c d e f
}
Lyrics = \lyricmode {
  do re mi fa __
  _ _ _
  sol la ti do
}
\score {
  \new Staff \Music
  \addlyrics \Lyrics
}

Best, Simon 


It may be the correct way, but the drawback seems to be that it doesn't 
work.  At least on my Mac running OSX 10.11.6 and LilyPond v 2.19.53.



I ran your suggested solution, named SimonAlbrechtsSolution.ly, via 
Frescobaldi.  I am attaching the LilyPond file, the output pdf, and a 
screenshot of the LilyPond log file.  You will note in the pdf that the 
melisma extender does not stop at the end of measure 2 but continues 
right through measure 3.  I need it to stop at the end of measure 2.



May I ask what version of LilyPond you ran your solution on?

\version "2.19.53"

%{
On 31.10.2017 18:09, pkarl wrote:
> I'm trying to figure out the correct way to have LilyPond, v2.19.53, generate 
> the attached score, which is for an instrument and a singer, but the singer 
> doesn't sing all the notes that the instrumentalist plays. Furthermore, the 
> last thing before the singer tacet's is a melisma.
>
> My first naive attempt was:
>
> Music = \relative c'' { c4 d e fc d e fr d e fc d e f }
> Lyrics = \lyricmode { do re mi fa __ _ _ _ _
> \repeat unfold 3 { \skip 1 } sol la ti do }
> \score {
> \new Staff \Music
> \addlyrics \Lyrics
> } 

The correct way would be
%}

Music = \relative c'' {
  c4^\markup { "Simon Albrecht's solution" } d e f\melisma
  c d e f\melismaEnd
  r d e f
  c d e f
}
Lyrics = \lyricmode {
  do re mi fa __
  _ _ _
  sol la ti do
}
\score {
  \new Staff \Music
  \addlyrics \Lyrics
}

%{
Best, Simon 
%}

SimonAlbrechtsSolution.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Trouble coloring Ambitus ledger lines

2017-01-07 Thread Patrick Karl
On 9 Jul 2016 I submitted a report titled: Problem coloring Ambitus 
ledger-lines.  A work-around quickly came (thanks Thomas Morley) 
consisting of inserting the following code at the beginning of the music:


  \once \override Staff.LedgerLineSpanner.color = #grey

  \grace s128

  \stopStaff \startStaff


I pointed out an immediate problem with that code that was given a 
further work-around (thanks Simon Albrecht) involving specifying the 
instrumentName in a \with block instead of using a \set command.



The following code:


\version "2.19.53"

S = {
  \once \override Staff.LedgerLineSpanner.color = #grey
  \grace s128
  \stopStaff \startStaff
  R1*3   % 1-3
  \grace c'128
  c'1 c'''  % 4
}

\score {
\new Staff  { \compressMMRests \S }
\layout {   \context { \Staff \consists "Ambitus_engraver" } }
}

shows two more problems with the suggested work-around, namely:


  *  as written the initial MM rests are not compressed , i.e., the 
\compressMMRests command has no effect.


  *  if the line containing the three rests is removed, then the 
compilation fails with the following assertion failure:



Interpreting 
music.../home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/lily/sequential-iterator.cc:163 
<0>: failed assertion `!grace_fixups_ || grace_fixups_->start_ >= here_mom_'



and no output is obtained.


Hopefully, someone will have work-arounds for these two problems.


I would also be interesting in knowing why the Ambitus ledger lines are 
handled is such a different manner than, say, the AmbitusNoteHead, which 
doesn't give rise to any of these problems.  The amount of time I have 
spent dealing with problems arising from the original work-around must 
number in the dozens of hours.





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


musicxml2ly makes an apparently defective lilypond file

2016-12-14 Thread Patrick Karl

So, I have the following lilypond file, named test.ly:




\version "2.19.46"
music = { c'' }
\score {
  \new Staff \music
  \layout { }
  \midi { }
}


I compile it so:  lilypond test.ly

which generates a pdf file and a midi file.

I open the midi file in Musescore 2.0.3.1 and export an xml file, named 
test_midi_Musescore.xml



I run musicxml2ly test_midi_Musescore.xml, which generates a lilypond 
file named test_midi_Musescore.ly.



There seem to be two problems with the output of musicxml2ly:

  *  file test_midi_Musescore.ly produces: test_midi_Musescore.ly: data

  It should probably produce: test_midi_Musescore.ly:  ASCII text.  
Another indication that something is aglee with test_midi_Musescore.ly 
is the output of "more test_midi_Musescore.ly", namely:  
"test_midi_Musescore.ly" may be a binary file.  See it anyway?



  *  lilypond is unable to compile test_midi_Musescore.ly.  It fails with


pat$ lilypond test_midi_Musescore.ly
GNU LilyPond 2.19.46
Processing `test_midi_Musescore.ly'
Parsing...
test_midi_Musescore.ly:6:25: error: EOF found inside string
encodingsoftware =
"
test_midi_Musescore.ly:6:25: error: syntax error, unexpected end of 
input, expecting \header

encodingsoftware =
"
fatal error: failed files: "test_midi_Musescore.ly"

I am attaching test.midi, test_midi_Musescore.ly and 
test_midi_Musescore.xml.



Is there a workaround?  Is this a bug?






test.midi
Description: MIDI audio


test_midi_Musescore.ly
Description: Binary data

http://www.musicxml.org/dtds/partwise.dtd;>

  

  MuseScore 2.0.3.1
  2016-12-14
  
  
  
  
  
  

  

  7.05556
  40
  

  1683.78
  1190.55
  
56.6929
56.6929
56.6929
113.386

  
56.6929
56.6929
56.6929
113.386

  



  

  Piano
  Pno.
  
Piano

  
  
1
1
78.7402
0

  

  

  

  
0.00
697.91

  70.00
  

  
1

  0
  

  4
  4
  

  G
  2
  

  

  
quarter
60

  


  

  C
  5
  
1
1
quarter
down

  single
  creator: 
  

  

1
1
quarter

  

2
1
half

  

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


Fwd: Re: v2.19.47 on Mac x86

2016-09-04 Thread Patrick Karl




 Forwarded Message 
Subject:Re: v2.19.47 on Mac x86
Date:   Sun, 4 Sep 2016 15:16:03 -0500
From:   Patrick Karl <jpk...@gmail.com>
To: Jacques Menu Muzhic <imj-muz...@bluewin.ch>





Message: 5
Date: Sun, 4 Sep 2016 17:41:42 +0200
From: Jacques Menu Muzhic <imj-muz...@bluewin.ch>
To: Andrew Bernard <andrew.bern...@gmail.com>
Cc: Jacques Menu Muzhic <imj-muz...@bluewin.ch>,  lilypond-user
<lilypond-user@gnu.org>
Subject: Re: v2.19.47 on Mac x86
I run El Capitan 10.11.6:

menu@macbookprojm:~/Documents/LaTeX/PartitionsLilypond > uname -a
Darwin macbookprojm 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29
20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64

and I get:

menu@macbookprojm:~ > sudo dtruss lilypond --version


I run El Capitan 10.11.6 and get the exact same output for “uname -a”.

I wanted to see what the difference was between v2.19.46 and v2.19.47,
so I ran them both on the following file:

bash-3.2$ cat 1note.ly
\version "2.19.46"
{ c4 }

bash-3.2$ time lilypond 1note.ly
GNU LilyPond 2.19.46
Processing `1note.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-22EfXs'...
Converting to `1note.pdf'...
Deleting `/tmp/lilypond-22EfXs'...
Success: compilation successfully completed

real0m0.820s
user0m0.638s
sys0m0.093s


bash-3.2$ LP47=$l47
bash-3.2$ echo $LP47
/Users/pat/Downloads/LilyPond.app/Contents/Resources/bin/lilypond
bash-3.2$ time $LP47 1note.ly
GNU LilyPond 2.19.47
Processing `1note.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-B2ws6y'...
Converting to `1note.pdf'...
Deleting `/tmp/lilypond-B2ws6y'...
Success: compilation successfully completed

real1m2.364s
user0m46.848s
sys0m15.145s

I then ran dtruss -c on both versions to see what the difference in
system calls was.

The following table shows the number of system calls which have a Count

100 for the v2.19.47 version and the corresponding count for the

v2.19.46 version:

CALLCOUNT LP46COUNT LP47
………
getattrlist112128
stat178171
stat64207207
sigaltstack222228
sigprocmask263269
select_nocancel320323
lseek  57  123013
read_nocancel341  125474

I then did a count of the number of lseeks on file descriptors <= 13 (at
first glance there are no file descriptors greater than 12:

lseek(0xfiledesv46v47

lseek(0x0  1  23
lseek(0x1  11
lseek(0x2  11
lseek(0x3  22
lseek(0x4  00
lseek(0x5  0   0
lseek(0x6  22
lseek(0x7 35  35
lseek(0x8   8 122969
lseek(0x9   3   3
lseek(0xA   11
lseek(0xB   33
lseek(0xC   00

Hopefully, this information might be of use to someone trying to figure
this problem out.

The most salient questions would be:  what is filedes 8 used for? And
why is this problem only occurring on Macs?



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


Strange font change in v2.19.45

2016-07-27 Thread Patrick Karl

Consider the following MWE:

\version "2.19.45"
\header {
title = "My Title"
composer = "My Composer"
poet = "My Poet"
}
\paper { ragged-right = ##t }

A =  \relative g' { c1 }

\book { \bookOutputSuffix "Score1"
\score {
\new Staff \with { instrumentName = "Alto"  }  \A
\header { piece = "Score1" }
\layout {}
}
}

\book { \bookOutputSuffix "Score2"
\score {
\new Staff \with { instrumentName = "Alto" } \A
\header { piece = "Score2" }
\layout {}
}
}

It produces the attached two pdf outputs.  Note the font change for 
composer, poet, instrumentName, and piece in Score2, while the font used 
for those fields looks normal in Score1.


This phenomenon seems to occur for any "book" past the first one.

This phenomenon did not occur in v2.19.38.

Is there a fix?  Is this a bug?





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


Re: Problem coloring Ambitus ledger-lines

2016-07-21 Thread Patrick Karl

On 7/9/16 9:51 AM, Thomas Morley wrote:

2016-07-09 16:22 GMT+02:00 Patrick Karl <jpk...@gmail.com>:

The following MWE:

\version "2.19.38"

music =  { c'4 c''' r2 }

\score {
 \new Staff \music
 \layout {
\context { \Staff \consists "Ambitus_engraver"
\with { \override AmbitusNoteHead.color = #red
   \override AmbitusLine.color = #red
% \override LedgerLineSpanner.color = #red
}
}
 }
}

seems to illustrate a problem with Ambitus, namely, there doesn't seem to be
a way to change the color of ledger lines within the Ambitus.  The output of
the above snippet is attached; it shows the Ambitus ledger lines as black.
Uncommenting the "\override LedgerLineSpanner.color = #red" statement
changes the color of not only the ledger lines within the score, but also
within the Ambitus.

It looks like there should be a grob, AmbitusLedgerLineSpanner, independent
from LedgerLineSpanner.

We have the start/stopStaff-functionality to insert changes for p.e.
StaffSymbol and LedgerLineSpanner,.


Or am I overlooking something?

How about:

music =  {
   \once \override Staff.LedgerLineSpanner.color = #red
   \grace s128
   \stopStaff
   \startStaff
   c'4 c''' r2
}

\score {
 \new Staff \music
 \layout {
\context {
  \Staff
  \consists "Ambitus_engraver"
  \override AmbitusNoteHead.color = #red
  \override AmbitusLine.color = #red
}
 }
}

When I use this technique in the following snippet:


\version "2.19.38"

S =  \relative g' {
\key g\major
\once \override Staff.LedgerLineSpanner.color = #red
\grace s128 \stopStaff \startStaff
c4 e c' c % 1
}

PRh =  \relative c'' {
\key g\major
 \grace s128
 g4 g g g% 1
}

\score {  <<
\new StaffGroup  <<
\new Staff \with { \consists Ambitus_engraver }  \S
>>
\new PianoStaff  <<
\set PianoStaff.instrumentName = #"Piano"
\new Staff \PRh
>>
  >>
\layout {}
}

I get the attached output, which is lovely in all respects but one: the 
PianoStaff instrument name is missing.  The only way I have found to 
remedy this problem is to remove both lines containing "\grace s128", 
but, of course, then all of the ledger lines are colored red, not just 
those in the ambitus.


How to fix?

Thanks,
Pat



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


Problem coloring Ambitus ledger-lines

2016-07-09 Thread Patrick Karl

The following MWE:

\version "2.19.38"

music =  { c'4 c''' r2 }

\score {
\new Staff \music
\layout {
   \context { \Staff \consists "Ambitus_engraver"
   \with { \override AmbitusNoteHead.color = #red
  \override AmbitusLine.color = #red
% \override LedgerLineSpanner.color = #red
   }
   }
}
}

seems to illustrate a problem with Ambitus, namely, there doesn't seem 
to be a way to change the color of ledger lines within the Ambitus.  The 
output of the above snippet is attached; it shows the Ambitus ledger 
lines as black.  Uncommenting the "\override LedgerLineSpanner.color = 
#red" statement changes the color of not only the ledger lines within 
the score, but also within the Ambitus.


It looks like there should be a grob, AmbitusLedgerLineSpanner, 
independent from LedgerLineSpanner.  Or am I overlooking something?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: score as footnote/footer

2016-04-18 Thread Patrick Karl
Message: 2
> Date: Mon, 18 Apr 2016 23:12:55 +0200
> From: Simon Albrecht 
> To: Kieren MacMillan , bart deruyter
>   
> Cc: Lilypond-User Mailing List 
> Subject: Re: score as footnote/footer
> 
> On 18.04.2016 15:21, Kieren MacMillan wrote:
>> Hi Bart,
>> 
>> On Apr 17, 2016, at 2:27 PM, bart deruyter  wrote:
>>> Back then it was not possible to get the scores horizontally next to each 
>>> other.
>> Really? I would have thought
>> 
>> \markup {
>>   \line {
>> \score { c' }
>> \score { d' }
>> \score { e' }
>>   }
>> }
>> 
>> would have worked since \score was allowed in \markup (which is many, many 
>> versions ago).
> 
> This isn?t about any markup but about footnotes, whose placement is, as 
> David said, hardcoded.
> 
> Best, Simon

I think Kieren is probably thinking about something like:

\version "2.19.38"

\book {
\header { tagline = ##f }
\relative c' {
\footnote #'(-1 . 3) \markup {
  \fill-line {
   " " \score { c' }
\score { d' }
\score { e' } " "
  }
}
c4
d4
r4
e4
}
}

where the “text” of the footnote is the markup.  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music patterns and octave

2016-03-09 Thread Patrick Karl

> Message: 1
> Date: Wed, 9 Mar 2016 01:07:47 +0100
> From: Gianmaria Lari 
> To: lilypond-user 
> Subject: Re: music patterns and octave
> 
> 
> Then please have a look to the code I *would* like to write to obtain it.
> Do you know if does exist anything similar to "\setOctave"? Do you see any
> logical mistake in trying to write it in this way? Sorry if the example is
> not very simple, but I have not been able to make it better.

I tried this example with the changePitch.ly you cited in a different message 
in this thread, but got a parse error.  But I think you will find that 
\resetRelativeOctave does what you seem to be looking for with your 
hypothetical \setOctave command.  Note that you don’t need the first 
\resetRelativeOctave (or \setOctave) command in each of the relative blocks in 
your example, because the \relative command itself does that.

resetRelativeOctave has been around since at least LilyPond 2.16.2.  It is 
documented with a one-line description in Appendix A (Music Functions) of the 
NR.  I wonder if anyone else uses it.  The Lilypond-user archive contains some 
dozen references to it.  

HTH
Pat

> 
> \version "2.19.35"
> \include "changePitch.ly"
> 
> rhythmPattern = {a16 \tuplet 3/2 {a8 a a} a16 a8 a4 a4} % a complex rhythm
> 
> scoreViolinI = \relative c'
> {
>  \setOctave c' %this command is just an example and it does not exist!
>  \changePitch \rhythmPattern {c d d d c b d e}
>  f g a b
>  c d e f
>  \setOctave c'
>  \changePitch \rhythmPattern {c d d d c b d e}
> }
> 
> scoreViolinII = \relative c'
> {
>  \setOctave c'
>  \changePitch \rhythmPattern {a b b b a b a a}
>  f f a a
>  c c f f
>  \setOctave c'
>  \relative c' \changePitch \rhythmPattern {a b b b a b a a}
> }
> 
> \score
> {
>  <<
>\new Staff \scoreViolinI
>\new Staff \scoreViolinII
>>> 
>  \layout { }
> }
> 


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


Re: music patterns and octave

2016-03-08 Thread Patrick Karl

> \
> Message: 2
> Date: Wed, 9 Mar 2016 01:20:47 +0100
> From: Gianmaria Lari 
> To: Thomas Morley 
> Cc: lilypond-user 
> Subject: Re: music patterns and octave
> 
> Do you know if does exist something to set
> the absolute "octave"?
> g.

%%% How about:

pattern =
   {
  c16 d e f g a b c
   }

{
   \relative c' {
   \pattern d4 d
   \resetRelativeOctave c'
   \pattern c4 e
   \resetRelativeOctave c'
   \pattern e4 c
   }
}


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


page-count problem

2016-02-22 Thread Patrick Karl
I don't understand why the following snippet doesn't generate a 3-page 
pdf.  It would seem that either page-count=3 or systems-per-page=8 would 
accomplish that, but I always get a two-page pdf with 12 systems/page 
with any combination of the above two settings.


\version "2.19.35"

\paper { ragged-last-bottom = ##t }

music = \relative c'' { \repeat unfold 24 { c1 c c c \break } }

\score {
\new Staff \music
\layout {
page-count = 3
%systems-per-page = 8
}
}


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


positioning a rest

2016-02-12 Thread Patrick Karl

I'm trying to duplicate the following measure:



My attempt:

\version "2.19.32"
{
\new Staff <<
\time 3/4
\new Voice { \oneVoice r4 r \voiceOne g' }
\new Voice { \voiceTwo s4 c'2 }
>>
}

This works fine for everything but the second quarter-rest, which is 
positioned beneath the half-note middle-C:




I've tried several variations of the above snippet, but the rest either 
move up to  the \voiceOne position or remains firmly beneath the 
middle-C.  How can I get the second rest to be positioned in the middle 
of the staff, at the same level as the first rest?


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


\addlyrics affects midi channel selection

2016-01-06 Thread Patrick Karl

The following snippet:

\version "2.19.32"

S = \relative c'' {  c d e f }
SLyrA = \lyricmode { tra la la la }
T = \relative c'' { c d e f }

\score {
 <<
\new Staff \S
\addlyrics \SLyrB
\new Staff \T
>>
\layout {}
\midi {}
}

generates a midi file which has the \S and \T music on midi channels 1 
and 3, resp.  If there are more \addlyrics commands, then more midi 
channels are skipped.


This is, I believe, new behavior which started sometime after v2.19.15 
and before or at v2.19.19.  I read the Changes.pdf for v2.19.19 and 
didn't see (or recognize) any description of this new behavior.


Is there anywhere a discussion of what this is about?  Why would one 
want to include lyrics in a midi file?  Is there a way to turn this 
behavior off?


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


Re: \addlyrics affects midi channel selection

2016-01-06 Thread Patrick Karl

On 1/6/16 12:58 PM, Simon Albrecht wrote:

On 06.01.2016 19:55, Patrick Karl wrote:

The following snippet:

\version "2.19.32"

S = \relative c'' {  c d e f }
SLyrA = \lyricmode { tra la la la }
T = \relative c'' { c d e f }

\score {
 <<
\new Staff \S
\addlyrics \SLyrB
\new Staff \T
>>
\layout {}
\midi {}
}

generates a midi file which has the \S and \T music on midi channels 
1 and 3, resp.  If there are more \addlyrics commands, then more midi 
channels are skipped.


This is, I believe, new behavior which started sometime after 
v2.19.15 and before or at v2.19.19.  I read the Changes.pdf for 
v2.19.19 and didn't see (or recognize) any description of this new 
behavior.


Are you sure that this has changed? I thought lyrics had always been 
included in midi files.


Actually, I am no longer sure that this has changed.  My evidence seems 
to have been evanescent.




Is there a way to turn this behavior off?


Create a separate \score block for midi generation, without any Lyrics 
contexts.


Great idea.  Thanks.


Yours, Simon



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


Re: Segmentation Fault in music with cueDuring

2015-12-30 Thread Patrick Karl

On 12/29/15 6:58 PM, Simon Albrecht wrote:

On 30.12.2015 01:06, Patrick Karl wrote:

On 12/29/15 5:53 PM, Simon Albrecht wrote:

Hello Pat,

this is definitely a bug, I’d say. I’ll write to the bug list.
Two or three policy issues with this:
1. Don’t hijack existing threads, if your message has nothing at all 
to do with their subject. Just compose a new message to the list – 
sorry, but what’s so difficult about that?


Just out of curiosity, exactly what existing thread do you think I 
hijacked?


I can only guess how you proceeded, but if you reply to a previous 
message and edit all of the visible information, hidden data will 
still link this mail to the previous thread.
Bingo! (Slang for "you hit the nail on the head", which itself is slang 
for "you got it exactly right".)  I have to confess that even after 30 
years of working with various unices, mail generally remains a black 
hole for me.


I get the lilypond-user digest.  If I want to reply to an individual 
message in one of the digests, I know of no other way than replying to 
the digest while editing out all the other messages in the digest and 
changing the reply's subject to the one in the individual message I'm 
responding to.  So what I did here was similar.



2. (Re)read and follow <http://lilypond.org/tiny-examples.html>.

Again, out of curiosity, how is my snippet not a tiny-example?
When trying to create an example, try commenting out (|%| or |%{ … 
%}|) sections of your file. If you can comment something while still 
demonstrating the main idea, then remove the commented-material. 




Have a look at issue 4718 (link in my previous post) – there’s a tiny 
example.


When I look at issue 4718, I see: \new Staff \new Voice \music, which 
contains "\new Voice", which I didn't use in my original submission.  If 
I look at the "Tiny examples" link you sent me in your previous post, I see:


When trying to create an example, try commenting out (% or %{ … %}) 
sections of your file. If you can comment something while still 
demonstrating the main idea, then remove the commented-material.
But that applies to your "\new Voice" addition.  So, using your 
criteria, I don't see how issue 4718 is actually a tiny example. It 
looks like you added the "\new Voice" to avoid the issue discussed in 
the original thread I hijacked.  But it really doesn't add anything to 
the discussion of this issue.


I guess my approach might be called "minimal example" rather than "tiny 
example".  Especially since the problem was that lilypond terminated 
abnormally, I felt I could save the investigators some time if I 
included, in a minimal way, everything that I knew about the problem.  
In this case, my submission showed that there was nothing intrinsically 
wrong with either the quoted or the quoting music.  I then included a 
commented out section that would trigger the problem if compiled in 
uncommented form.





3. Code formatting: Generally, always surround {} and = and Scheme 
expressions (those with `#') with spaces, even if they’re not 
technically necessary. They make it easier to read.


I didn't realize that coding style was a policy issue.


Yes, it is. If you post code to the list, others have to read and work 
with that code. Privately, you may do whatever you like.
Where is this policy enunciated?  Shouldn't there be a link to it at the 
point a person subscribes to the list, i.e., at 
https://lists.gnu.org/mailman/listinfo/lilypond-user?


Offhand I don't see any {} that are not surrounded by white space, 
i.e., blank, tab, or newline.  That leaves Scheme expressions.  I 
would say I can easily find many examples of exactly the style I 
choose in the NR.


Then it would have been messed up on the way. Attachments tend to be 
safer there. Find attached the version which arrived here and one with 
proper use of whitespace.

Sorry for being so strict with this.
Many of the differences in the two versions you attached appear to be 
due to you thinking I have used too much whitespace.  There is one case 
(\score { \new Staff {\cueNotes } }) where I have inadvertently omitted 
a space after a "{".  I think we're back to the Scheme expressions.  I 
use Frescobaldi to write LilyPond code. When I enter "\score {  \new 
Staff { \rem", Frescobaldi presents a list of the possible completions, 
and I click on the one I want. Frescobaldi then supplies "removeWithTag" 
without a trailing space. I then add #' etc.  I wonder if it wouldn't be 
nice if Frescobaldi supplied "removeWithTag #' " instead.  I don't think 
there are any occasions where anything except "#' " can follow 
\removeWithTag.


I also wonder why LilyPond even accepts \removeWithTag#' without a space 
before #'.


I call nitpicking.  Mea minima culpa.




Yours, Simon


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


Re: Segmentation Fault in music with cueDuring

2015-12-30 Thread Patrick Karl

On 12/29/15 6:38 PM, Thomas Morley wrote:

2015-12-30 0:59 GMT+01:00 Simon Albrecht <simon.albre...@mail.de>:

On 30.12.2015 00:53, Simon Albrecht wrote:

this is definitely a bug, I’d say. I’ll write to the bug list.


FWIW, I created a tracker issue directly:
<https://sourceforge.net/p/testlilyissues/issues/4718/>
How did you get that log output, i.e. how did you invoke LilyPond?

Yours, Simon




I once created a function to show/print cues/quotes known to the parser.
Applied to the current use case:


%%%

\version "2.19.32"

cueNotes = \relative c'' {
s4. 8 d' s4.
}

\addQuote "cueNotes" \cueNotes

#(define* (music-quotes-info #:optional (name "")(print #f))
  (let* ((music-quotes-list
   (hash-map->list cons (ly:parser-lookup 'musicQuotes)))
 (quote-vector (assoc-get name music-quotes-list #()))
 (quote-list (vector->list quote-vector)))
   (cond ((string-null? name)
  (display-scheme-music music-quotes-list))
 ((and (not (null? quote-list)) print)
  (make-sequential-music
(map
  (lambda (m) (ly:prob-property (caadr m) 'music-cause))
  quote-list)))
 (else (display-scheme-music
 (make-sequential-music
   (map
 (lambda (m) (ly:prob-property (caadr m) 'music-cause))
 quote-list)))

%% raw data of all quotes
%#(music-quotes-info)
%% `display-scheme-music'
#(music-quotes-info "cueNotes")
%% set `print' #t and use $ to get it printed
$(music-quotes-info "cueNotes" #t)

%%%

You'll see that only the chord's first note is quoted!
That's at least related to
NR
"
Known issues and warnings
Only the contents of the first Voice occurring in an \addQuote command
will be considered for quotation [...]
"

Though,
(1) It should not return a segfault
(2) The NR-warning talks about new Voices etc. Before testing I wasn't
aware that quoting chords is not supported as well. Should be
mentioned, imho
(3) I do understand why quoting more than a single voice is a problem,
but not how difficult it would be to support chords.

That confuses me somewhat.  Consider:

\version "2.19.32"

cueNotes = \relative c'' {
   s4. 8 d' s4.
}

\addQuote "cueNotes" \cueNotes

{ \cueDuring #"cueNotes" #DOWN R1 }

The output looks exactly as I would expect if chords were supported.  I think 
they are supported.  And tied notes and tied chords in the quoted music work as 
expected.  The only issue I see is lack of correct implementation of tied 
individual notes within quoted chords, resulting in a segmentation fault.

(Since quoted chords do work, why doesn't music-quotes-info show them?)





So I'm not sure whether it's a documentation issue or defect or an
enhancement or both.

Simon, I answered here on user-list to let Patrick Karl know, but
please add it on the tracker if you feel it might be helpful


Cheers,
   Harm



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


Re: Segmentation Fault in music with cueDuring

2015-12-29 Thread Patrick Karl

On 12/29/15 5:53 PM, Simon Albrecht wrote:

Hello Pat,

this is definitely a bug, I’d say. I’ll write to the bug list.
Two or three policy issues with this:
1. Don’t hijack existing threads, if your message has nothing at all 
to do with their subject. Just compose a new message to the list – 
sorry, but what’s so difficult about that?


Just out of curiosity, exactly what existing thread do you think I hijacked?

2. (Re)read and follow <http://lilypond.org/tiny-examples.html>.

Again, out of curiosity, how is my snippet not a tiny-example?
3. Code formatting: Generally, always surround {} and = and Scheme 
expressions (those with `#') with spaces, even if they’re not 
technically necessary. They make it easier to read.


I didn't realize that coding style was a policy issue.  Offhand I don't 
see any {} that are not surrounded by white space, i.e., blank, tab, or 
newline.  That leaves Scheme expressions.  I would say I can easily find 
many examples of exactly the style I choose in the NR.


Thank you,
Simon

On 29.12.2015 20:38, Patrick Karl wrote:
The following snippet contains three \score's, the third one 
commented out:


%%%   Begin snippet %%%
\version "2.19.32"

music =   {
\tag #'noCues R1
\tag #'Cues {\cueDuring #"cueNotes" #DOWN  R1 }% 1
d''8( e'' f'') r r2% 2
}

cueNotes = \relative c'' {
   s4. 8 d' s4.% 1
}

\addQuote "cueNotes" \cueNotes

\score { \new Staff {\cueNotes }  }

\score {  \new Staff { \removeWithTag#'Cues \music } }

%\score { \new Staff { \keepWithTag#'Cues \music }  }

%%%   End snippet %%%

This snippet compiles ok, but if the third \score is uncommented, 
then lilypond terminates with:


.
.
.
Preprocessing graphical objects...
Grob count 156
[lilypond_serif_3.068359375]
Interpreting music...Segmentation fault: 11

The problem appears to be the construct "8 d' " in the 
cueNotes.  Does anyone know why?



___
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


Segmentation Fault in music with cueDuring

2015-12-29 Thread Patrick Karl

The following snippet contains three \score's, the third one commented out:

%%%   Begin snippet %%%
\version "2.19.32"

music =   {
\tag #'noCues R1
\tag #'Cues {\cueDuring #"cueNotes" #DOWN  R1 }% 1
d''8( e'' f'') r r2% 2
}

cueNotes = \relative c'' {
   s4. 8 d' s4.% 1
}

\addQuote "cueNotes" \cueNotes

\score { \new Staff {\cueNotes }  }

\score {  \new Staff { \removeWithTag#'Cues \music } }

%\score { \new Staff { \keepWithTag#'Cues \music }  }

%%%   End snippet %%%

This snippet compiles ok, but if the third \score is uncommented, then 
lilypond terminates with:


.
.
.
Preprocessing graphical objects...
Grob count 156
[lilypond_serif_3.068359375]
Interpreting music...Segmentation fault: 11

The problem appears to be the construct "8 d' " in the cueNotes.  
Does anyone know why?



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


Re: Segmentation Fault in music with cueDuring

2015-12-29 Thread Patrick Karl

On 12/29/15 5:59 PM, Simon Albrecht wrote:

On 30.12.2015 00:53, Simon Albrecht wrote:
this is definitely a bug, I’d say. I’ll write to the bug list. 


FWIW, I created a tracker issue directly: 


How did you get that log output, i.e. how did you invoke LilyPond?


lilypond -V myfile.ly


Yours, Simon



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


cue note fontsize inherited by uncued notes?

2015-12-26 Thread Patrick Karl

The output from the following snippet seems odd:

\version "2.19.32"

A = \relative c'' {
c4 b a g   c b a g% 1-2
}

\addQuote "A" \A

SWithCues = \relative c'' {
% R1
   \cueDuring #"A" #UP  R1% 1
   g4 a b c  % 2
}

{ \SWithCues }

The notes in the 2nd measure as well as the full-measure rest in measure 
1 look like cue notes rather than default size regular notes.


If an uncued full-measure rest is added before the cued full-measure 
rest, the ouput looks correct.


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


Re: cue note fontsize inherited by uncued notes?

2015-12-26 Thread Patrick Karl

On 12/26/15 12:49 PM, Jacques Menu wrote:

Hello Patrick,

Does:

SWithCues = \relative c'' {
   % R1
   \new Voice {
 \cueDuring #"A" #UP  R1% 1
   }
   g4 a b c  % 2
}

solve your problem?


Yes, indeed.  Can you tell me why?  And why does the initial R1 avoid 
the problem?  Is it a general concept that cuing notes need to be put 
into a separate voice?


Thanks for the answer.


JM


Le 26 déc. 2015 à 17:00, Patrick Karl <jpk...@gmail.com> a écrit :

The output from the following snippet seems odd:

\version "2.19.32"

A = \relative c'' {
c4 b a g   c b a g% 1-2
}

\addQuote "A" \A

SWithCues = \relative c'' {
% R1
   \cueDuring #"A" #UP  R1% 1
   g4 a b c  % 2
}

{ \SWithCues }

The notes in the 2nd measure as well as the full-measure rest in measure 1 look 
like cue notes rather than default size regular notes.

If an uncued full-measure rest is added before the cued full-measure rest, the 
ouput looks correct.

___
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


placement of \trill script

2015-06-27 Thread Patrick Karl
I am having a problem with the following snippet:

\version 2.19.20

{ 
  \new PianoStaff 
\new Staff
{ \relative c'' { 

   \new Voice=first  { \voiceOne b8 a a2 \oneVoice r4 }
   \new Voice=second { \voiceTwo d,8  e fis\trill d2}
   
  }
}
\new Staff {
\clef bass
\relative c' { b4 c r r }
}
  
}

which produces:



The problem is the ambiguous placement of the “trill” script.  It is only the 
F# that should be trilled, but the output seems to me to indicate that it is 
either the d2 or the middle C in the left-hand staff that is to be trilled.

The document I am trying to reproduce has the trill sign in the bottom space of 
the treble clef, just to the left of the F#.  I would be satisfied with that 
solution, but have been unsuccessful in accomplishing it.

Can anyone either show me how to do it, or offer a better suggestion?

Thanks,
Pat

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


modern-cautionary accidentals

2015-06-07 Thread Patrick Karl
The discussion of Automatic Accidentals in the Chapter 1 of the Notation Manual says:modern-cautionaryThis rule is similar to modern, but the ‘extra’ accidentals (the ones not typesetby default) are typeset as cautionary accidentals. They are by default printedwith parentheses, but they can also be printed in reduced size by defining thecautionary-style property of AccidentalSuggestion.I cannot find any reference to a“cautionary-style” property in the Internals Manual. AccidentalSuggestion does have a font-size property, but	\override AccidentalSuggestion.font-style = #-2does not seem to have any effect on the size of the cautionary accidentals.Also, the neo-modern-cautionary discussion does not mention the possibility of reduced size accidentals; wouldn’t the info under modern-cautionary also apply to neo-modern-cautionary.Here’s a snippet for the neo-modern-cautionary case:

AccidentalStyle.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to recognize Voice-continuation?

2015-03-27 Thread Patrick Karl
 Message: 1
 Date: Fri, 27 Mar 2015 02:26:32 +0100
 From: Thomas Morley thomasmorle...@gmail.com
 Subject: How to recognize Voice-continuation?

 consider the (artificial) code below.
 In my naivity I expected that voice-b would be recognized as it works
 for voice-a
 I.e. the three triggering features (tieWaitForNote, NoteHead.colors
 and assigned Lyrics) would work for the second appearance of voice-b.
 Any chance to have LilyPond identify the second voice-b as a
 continuation of the first?
 
 \version 2.19.17
 
 lyrI =
 \lyricmode { one two three }
 
 lyrII =
 \lyricmode { a b c d  e f g h  i j k l  m n o p }
 
 
 \new Staff
  \relative c' {
\new Voice = a
\with { \override NoteHead #'color = #green }
{ \set tieWaitForNote = ##t c1~ }
 
\new Voice = b
\with { \override NoteHead #'color = #red }
{ \set tieWaitForNote = ##t cis4 d dis e~ }
 
\context Voice = a
{ d2 c2 }
 
\context Voice = b
{ f4 e fis g }
 
\context Voice = a
{ e1 }
  }
 \new Lyrics \lyricsto a \lyrI
 \new Lyrics \lyricsto b \lyrII
 

I'm sure you have a good reason to write it that way, but why not do:

\version 2.19.17

lyrI =
\lyricmode { one two }

lyrII =
\lyricmode { a b c d  e f  }


\new Staff
 \relative c' {
 
   \new Voice = a
   \with { \override NoteHead #'color = #green }
   { \set tieWaitForNote = ##t c1~ s1 d2 c s1 e }

   \new Voice = b
   \with { \override NoteHead #'color = #red }
   { \set tieWaitForNote = ##t s1 cis4 d dis \tieUp e~  s1 f4 e fis g }
 
 }
\new Lyrics \lyricsto a \lyrI
\new Lyrics \lyricsto b \lyrII


which gives:



But that result does seem to raise another question.  Are the lyrics assigned 
correctly to the notes?  Shouldn't the first note in measure 4 get the e?  
BTW, Keith's solution results in the same lyrics assignment as the one above.

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


Cue notes included in ambitus

2015-03-23 Thread Patrick Karl
Consider the following snippet:

\version 2.19.17

music = \relative c'' {
  \clef treble
  \new CueVoice { \set instrumentCueName = Bass }
  \cueDuringWithClef #Bass #DOWN #bassR1
  g4 a b c
}

Bass = \relative g {
  \clef bass
  g,2 d'
}
\addQuote Bass \Bass

\score {
\new Staff {  \music }
\layout { \context { \Staff \consists Ambitus_engraver } }
}

which produces the following printed output:



The ambitus clearly includes the cue notes.  Since the purpose of the ambitus 
is to allow performers to determine if the music matches their capabilities, it 
doesn't seem that the cue notes should be included in the ambitus determination 
since the performer won't be playing the cue notes.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 137, Issue 62

2015-02-14 Thread Patrick Karl
I have run into a couple of anomalies with the \articulate command and the 
abbreviation rit.

First,

\version 2.19.15
\include articulate.ly

\score{ 
\unfoldRepeats \articulate
\new ChoirStaff 
\new Staff c-rit.
\new Staff c-rit.

\layout { }
\midi { }
}

throws a warning:   warning: Two simultaneous tempo-change events, junking 
this one
warning: Previous tempo-change event here

If rit. is replaced with \markup { rit. }, no warning is thrown. Section 
1.8.1 Writing text pretty much implies that those two ways of generating text 
are equivalent.

I don't think this warning should occur.  Isn't it a common thing to place such 
a notation in all staves so that if parts are generated, each part will have 
the notation.

Second,

\version 2.19.15
\include articulate.ly

music = \relative c'' { \repeat unfold 21 { c d e f} c-rit. d e f \repeat 
unfold 6 { c d e f }}

\score { {
\unfoldRepeats \articulate
\new Staff \music
  }
  \layout { }
  \midi { }
}

generates a midi file that begins with the tempo 4=60 (the default) and then 
changes to 4=36 at measure 22 and remains there for the remainder of the midi 
file.  if rit. is replaced with \markup { rit. } the tempo is a constant 
4=60 for the whole midi file.

I think the most disturbiing thing is that \articulate is interpreting rit. 
to mean ritenuto rather than ritardando, which I think is the most common 
interpretation of rit..  It would be great if the tempo would ramp down 
gradually to 4=36 at the end.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-book

2012-06-18 Thread Patrick Karl

 Message: 4
 Date: Mon, 18 Jun 2012 00:33:41 +0200
 From: David Kastrup d...@gnu.org
 To: lilypond-user@gnu.org
 Subject: Re: lilypond-book
 Message-ID: 87d34xin5m@fencepost.gnu.org
 Content-Type: text/plain; charset=utf-8
 .
 .
 .
 For
 
 \markup{\override #'(font-name. Khmer OS) }
 
 I get the attached file as result which looks just fine to me.  What
 problem do you see?  I use the current development version.  What's your
 version?
 
 -- 
 David Kastrup
 -- next part --
 A non-text attachment was scrubbed...
 Name: junk.pdf
 Type: application/pdf
 Size: 26077 bytes
 Desc: not available
 URL: 
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20120618/88e7ee84/attachment.pdf

What attached file?  I only see the above URL, which points nowhere, i.e., when 
I click on the link I get the error message:

 Not Found
 
 The requested URL 
 /archive/html/lilypond-user/attachments/20120618/88e7ee84/attachment.pdf was 
 not found on this server.
 
 Apache/2.2.14 Server at lists.gnu.org Port 80

--
Patrick Karl

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


Invalid URLs in the lilypond-user Digests

2012-06-03 Thread Patrick Karl
I have a question about the format of the lilypond-user Digests, namely, about 
the form of URLs given for scrubbed attachments, such as the last line below.  
The curious thing about that URL - and, indeed, all such URLs in the Digests - 
is that it is not a valid link.  Clicking on it will always result in:

 Not Found
 
 The requested URL 
 /archive/html/lilypond-user/attachments/20120603/66923ef3/attachment.jpg was 
 not found on this server.

How do people deal with this?  Is there something I can do to get Digests with 
valid URLs?

(Reply not sent to Federico Bruni as it is not really a reply to him.)


 Message: 5
 Date: Sun, 03 Jun 2012 15:15:17 +0200
 From: Federico Bruni fedel...@gmail.com
 To: lilypond-user lilypond-user@gnu.org
 Subject: stem across voices
 Message-ID: 4fcb6365.5060...@gmail.com
 Content-Type: text/plain; charset=iso-8859-15; Format=flowed
 
 Hi,
 
 can you tell me what's the meaning of a stem which connects a note in 
 a voice to a rest (?) in another voice?
 See image attached.
 
 Is it good output? (I think it's been engraved in Finale)
 If so, how can I get it in LilyPond?
 
 Thanks,
 Federico
 -- next part --
 A non-text attachment was scrubbed...
 Name: stem-cross-voices.jpg
 Type: image/jpeg
 Size: 41996 bytes
 Desc: not available
 URL: 
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20120603/66923ef3/attachment.jpg


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


Re: Different staff sizes

2012-05-07 Thread Patrick Karl
In lilypond-user Digest, Vol 114, Issue 19, on 7 May 2012 Eluze wrote:

 Message: 8
 Date: Mon, 07 May 2012 15:54:57 +0200
 From: Eluze elu...@gmail.com
 Subject: Re: Different staff sizes
 Message-ID: 4fa7d431.7040...@gmail.com

 you can override the staff-space of the staffsymbol like that:
 
   \layout {
 #(layout-set-staff-size 30)
 \context {
   \Staff
   \override StaffSymbol #'staff-space = #(magstep 3)
 }
   }

I find it difficult to find much documentation on this.  What is a magstep?  
and is the 3 just the layout-set-staff-size value divided by 10?

On 20 Apr 2012 in lilypond-user Digest, Vol 113, Issue 69, David Nalesnik wrote 
to explain what the staff-space should be as follows:

 On Fri, Apr 20, 2012 at 10:47 AM, Silvio ARDITO silvioard...@gmail.comwrote:
 
 I need the following layout:
 
 [image: Immagine in linea 2]
 The result is a copy and paste from 2 .ly.
 The little up-right staff uses: *#(set-global-staff-size 11)* ;
 the rest uses: *#(set-global-staff-size 20)* .
 The command: *#(layout-set-staff-size 11)*
 in the \layout section gives a not valid result.
 
 When you change the staff size like this, you also need to override the
 distance between the lines:
 
 \override Staff.StaffSymbol #'staff-space = #(/ 11 20)
  no mention of magstep here
 
 Also, take a look at this snippet:
 http://lilypond.org/doc/v2.15/Documentation/snippets/staff-notation

and cited snippet contains code using magstep, again without much explanation 
of how to calculate the value.

And finally, wouldn't it be nice to have all this explained in the Notation 
Manual, say right after the following entry:

Known issues and warnings

layout-set-staff-size does not change the distance between the staff 
lines.

but not as nice as having layout-set-staff-size actually set the staff-size 
along with the elimination of the above Known issues and warnings?

The best explanation I have found of magstep is in section 4.3.3, Length and 
thickness of objects, of the Learning Manual, although I find the explanation 
at first reading to be a little opaque.



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


Re: Blank pages within a score Version 2.14.2

2012-03-14 Thread Patrick Karl

 
 Message: 1
 Date: Wed, 14 Mar 2012 14:21:28 -
 From: Peter Gentry peter.gen...@sunscales.co.uk
 To: lilypond-user@gnu.org
 Subject: Blank pages within a score Version 2.14.2
 Message-ID: 95B3725ABDE2433BB4E51D0C33B05BE2@PeterVista
 Content-Type: text/plain; charset=us-ascii
 
 I have found that page-turn-breaking does not do all that I need. When there 
 are many movements not all the page turns are
 convenient. When using two-sided there are times when I would like to 
 insert a blank page between movements to reduce page turns
 to a minimum.
 
 So far all attempts to insert a blank page have failed - is there a way of 
 doing this?
 
 Secondly I would like to be able to have a frontispiece with text and 
 graphics - again I cannot see if this can be done - is there a
 way that I just haven't found?
 
 Thank you for any help...
 
 regards
 Peter Gentry 
 

Have you tried: \pageBreak
\markup 
\pageBreak

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


Re: lilypond-user Digest, Vol 112, Issue 47

2012-03-10 Thread Patrick Karl

On Mar 10, 2012, at 1:35 PM, James pkx1...@gmail.com wrote:

 Message: 6
 Date: Sat, 10 Mar 2012 19:34:40 +
 From: James pkx1...@gmail.com
 To: Peter O'Doherty m...@peterodoherty.net
 Cc: lilypond-user@gnu.org
 Subject: Re: tupletFullLength clashes with barline
 Message-ID:
   CA+T3wFkZtC-A0k6W1zjy3q2U=dtu8+qP+AWSf9rf=7orexq...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hello,
 
 On 10 March 2012 08:18, Peter O'Doherty m...@peterodoherty.net wrote:
 Hi list,
 
 tupletFullLength = ##t
 
 causes the right hand part of the tuplet bracket to clash with the barline.
 This only happens with a barline at the end of a line.
 
 Is there a way to avoid this?
 
 
 Tiny example and the version you are using might help us.

Here's one that illustrates what he's talking about:

\version 2.14.2
music = \relative g' {
\repeat unfold 3 { \times 2/3 { f8 g a f g a f g a f g a} } 
\break
\set tupletFullLength = ##t
\repeat unfold 3 { \times 2/3 { g8 a b g a b g a b g a b} } 
}
\score { \new Staff { \music } }

Note that in the 1st two measures of the 2nd system the tuple bracket extends 
slightly past the last note, but in the last measure in the 2nd system the 
tuple bracket extends all the way to the bar line.

Regards,
Pat Karl

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


Printing bar numbers for partial measures

2012-02-22 Thread Patrick Karl
The Notation Reference states that:  Bar numbers are typeset by default at the 
start of every line except the first line.  And there is an official snippet 
which shows how to get the bar number printed even at the first line.  However, 
there is apparently an issue if the first measure on a line is a partial 
measure, as demonstrated by the following snippet:

\version 2.14.2

A =   \relative b' {

   \repeat volta 2 {
\set Score.barNumberVisibility = #all-bar-numbers-visible
\bar  
\partial 2 a4 b % 0
\repeat unfold 15 {c4 d e f}% 1-15
c4 d% 16
   }

   \break

   \repeat volta 2 {
a4 b% 16
\repeat unfold 15 {c4 d e f}% 17-31
c4 d% 32
   }
}


\score {
\new Staff { \A  }
\layout { }
}

Here, the bar number is not printed on either the 1st line or on the line that 
contains the initial partial measure from the 2nd volta

Is there a way to get these two bar numbers printed?  And if not, shouldn't 
this be mentioned in the Known issues and warnings that follow that section 
of the NR?

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


Re: Is there an equivalent of #define ... #ifndef ... #endif in lilypond?

2012-02-19 Thread Patrick Karl

 
 Message: 1
 Date: Sun, 19 Feb 2012 09:58:23 +0100
 From: Helge Kruse helge.kruse-nos...@gmx.net
 To: lilypond-user@gnu.org
 Subject: Re: Is there an equivalent of #define ... #ifndef ... #endif
   in  lilypond?
 Message-ID: 4f40b9af.5040...@gmx.net
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Am 18.02.2012 00:30, schrieb Michael Hendry:
 
 Obviously, I can comment out the sections I don't want during data entry
 work, and remove the comments once the work is complete, but it would be
 handy to be able to use a C-like construct like this:
 
 
 #DEFINE NotYet
 ...
 #IFNDEF NotYet
 \book {
  \bookOutputName Chez Fernand (alto)
  \new Score
 
  \transpose f' d {\TheChords}
  \new Staff
  \repeat unfold 13 {
  s1 \noBreak s1 \noBreak s1 \noBreak s1 \break }
  \transpose f' d {\TheHead}
 
  \header {piece = Alto Sax}
 }
 #ENDIF
 What about block comment? I can't see why editing the file to change 
 #DEFINE is preferred to editing the file to change the block comment.
 
 %{
 \book {
   \bookOutputName Chez Fernand (alto)
   \new Score
 
   \transpose f' d {\TheChords}
   \new Staff
   \repeat unfold 13 {
   s1 \noBreak s1 \noBreak s1 \noBreak s1 \break }
   \transpose f' d {\TheHead}
 
   \header {piece = Alto Sax}
  }
 %}
 
 Helge

What would you do if the block to be commented out already contained block 
comments?


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


Re: Collision between tie and pitched trill

2012-01-20 Thread Patrick Karl

On Jan 19, 2012, at 8:42 PM, Caio Barros wrote:

 In this example is not so visible. But is there.

But the collision disappears if you use Keith Ohara's suggestion to force the 
tie below the note head.

 In smaller staff sizes it gets worse because the tie is thicker. I actually 
 saw this error in an orchestral score with very small staffs.
 
 \version 2.14.2
 #(set-global-staff-size 8)
 \relative g'' {
 \pitchedTrill g1 ~ \startTrillSpan a g2

No collision with:  \pitchedTrill g1_ ~ \startTrillSpan a g2
 
 }
 
 If you use other interval other than the second it's even more visible
 \version 2.14.2
 \relative g'' {
 \pitchedTrill g1 ~ \startTrillSpan bes g2

No collision with:  \pitchedTrill g1_ ~ \startTrillSpan bes g2
 
 }
 
 
 
 
 2012/1/19 Patrick Karl pck...@mac.com
 
  Message: 2
  Date: Thu, 19 Jan 2012 00:34:09 -0200
  From: Caio Barros caio.bar...@gmail.com
  To: Keith OHara k-ohara5...@oco.net
  Cc: lilypond-user@gnu.org
  Subject: Re: Collision between tie and pitched trill
 
  Yes, but it's still a collision.
 
 It looks ok at 2.14.2.  I don't see a collision.
 
  2012/1/19 Keith OHara k-ohara5...@oco.net
 
  Caio Barros caio.barros at gmail.com writes:
  \relative g'' {
  \pitchedTrill g1 ~ \startTrillSpan aes g2
  }
 
  You can use '^' or '_' to force the tie above or below the note head
 
  { \pitchedTrill g''1_~ \startTrillSpan aes g''2 }
 
 

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


Re: Collision between tie and pitched trill

2012-01-19 Thread Patrick Karl

 Message: 2
 Date: Thu, 19 Jan 2012 00:34:09 -0200
 From: Caio Barros caio.bar...@gmail.com
 To: Keith OHara k-ohara5...@oco.net
 Cc: lilypond-user@gnu.org
 Subject: Re: Collision between tie and pitched trill
 
 Yes, but it's still a collision.

It looks ok at 2.14.2.  I don't see a collision.

 2012/1/19 Keith OHara k-ohara5...@oco.net
 
 Caio Barros caio.barros at gmail.com writes:
 \relative g'' {
 \pitchedTrill g1 ~ \startTrillSpan aes g2
 }
 
 You can use '^' or '_' to force the tie above or below the note head
 
 { \pitchedTrill g''1_~ \startTrillSpan aes g''2 }


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


Lilypondtool/jEdit problem

2011-12-04 Thread Patrick Karl
I submitted the following to the lily4jedit-user list this morning, but it 
doesn't seem that that list gets much traffic.  So I thought I would submit it 
here, too, in the hopes that someone knows how to fix my problem.

 This morning I was running jEdit 4.3.1 with a 2.12.xxx version of 
 Lilypondtool.  When I clicked on the Preview Output (PDF) button on the 
 Lilpondtool toolbar, new behaviors occurred:
 
   *  a blank LilyPond PDF Preview window appeared, disappeared into the Dock 
 (I'm running OSX 10.6.8), and then popped back up with my LilyPond output.  
 This was new behavior; previously, what would happen was that the LilyPond 
 PDF Preview window would simply appear.
 
   *  if I left the LilyPond PDF Preview window up and clicked on the Run 
 Lilypond button, the contents of the LilyPond PDF Preview window were not 
 updated with my latest changes.  Priviously, the LilyPond PDF Preview window 
 would remain up but with blank contents, and the updated output would be 
 inserted into it at the end of the Lilypond compilation.  Now in order to see 
 the updated output, I have to kill the LilyPond PDF Preview window and then 
 click on the Preview Output button.
 
 When I say new behaviors, I mean that they did not occur the last time I used 
 jEdit w/Lilypondtool; that was yesterday.
 
 I must have inadvertently clicked on something to cause these new behaviors.  
 Does anyone know how I might revert to the old behaviors?
 
 I have in the meantime upgraded to jEdit 4.4.2 and Lilypondtool 
 2.14.2017, but the above described behaviors persist.
 
 Thanks,
 Patrick Karl

Since then I have found another bad behavior, namely, I can't get the LilyPond 
PDF Preview window to show more than a single page.  I am forced to use 
Preview.app for output greater than a single page, and, of course, then I don't 
get the connection between the pdf output and the lilypond input.

Anyone?

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


Don't understand this error

2011-11-13 Thread Patrick Karl

The following snippet:

\version 2.14.2
notes = \relative b' {a b c d}

\score {\new Staff { \notes }
\layout { }
}

\break

\score {\new Staff { \transpose c c' \notes }
\layout { }
}

generates the following error:

test.ly:10:0: error: syntax error, unexpected \score, expecting 
\addlyrics

and, at the end of the console log:

error: failed files: test.ly

Can anyone explain this error?  Or, how to find the problem in the docs?

BTW, even in the face of this error, the pdf output is correct.

Thanks.


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


Problem with Tags

2011-11-13 Thread Patrick Karl
I'm having a problem trying to learn how to use tags.  The following snippet:

\version 2.14.2
music = \relative c' {
\tag #' low   {c}
\tag #' high {c'}
d e f g a b c
}

\score {\new Staff { \keepWithTag #'low \music }
\layout { }
}

\score {\new Staff { \keepWithTag #'high \music }
\layout { }
}

should produce IMHO two c major scales, the first one starting at middle c, and 
the 2nd one starting at one octave above middle c.  However, there is a problem 
with the first scale, namely, the first note is middle c, but the rest of the 
scale is shifted up an octave.  It almost looks like the c' in the expression 
tagged high has had an effect on the score containing \keepWithTag #'low.

If I switch the two lines, containing \tag, then both scales are identical, 
both starting one octave above middle c.  Again, it looks like the c' tagged 
high has an effect on the score containing \keepWithTag #'low.

Should that happen?


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


Setting staff size for individual scores

2011-08-26 Thread Patrick Karl
Reading the documentation in Notation:4.2.2:  Setting the staff size, 
one thinks that one can set the staff size for all scores in an input 
file by using the set-global-staff-size function, or one can set the 
staff size for each individual score in an input file by using the 
layout-set-staff-size function.   Then comes the Known issues and 
warnings subsection: |layout-set-staff-size| does not change the 
distance between the staff lines.


I find that a little confusing.  How can layout-set-staff-size change 
the staff size without causing the distance between the staff lines to 
change?  It appears that all layout-set-staff-size does is choose the 
font(s) that would be needed for the specified staff size without 
changing the staff size at all.  One can produce some really ugly 
engraving with, e.g., the following snippet:


music = \relative c' {
a b c d e f g a
}
\score {
\new Staff {  \music }
\layout { #(layout-set-staff-size 60) }
}

On the other hand, the following snippet produces beautiful engraving:

#(set-global-staff-size 60)
music = \relative c' {
a b c d e f g a
}
\score {
\new Staff {  \music }
\layout {}
}

So, I guess my question is:  if set-global-staff-size can change the 
distance between staff lines to match the fonts chosen, why can't 
layout-set-staff-size do the same?  Or, alternatively, why does 
layout-set-staff-size even exist if it can't do that?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Unslurred acciaccatura?

2011-08-21 Thread Patrick Karl
Is it possible in LilyPond to generate an unslurred acciaccatura?  Or, possibly 
equivalently, is it possible to generate a grace note with a slashed stem?  

(I'm engraving a piece from a Corelli manuscript which contains several of 
these.)

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


Re:articulate problem (Marc Hohl)

2011-08-20 Thread Patrick Karl

 
 Message: 2
 Date: Fri, 19 Aug 2011 21:36:25 +0200
 From: Marc Hohl m...@hohlart.de
 To: lilypond-user@gnu.org
 Subject: Re: articulate problem
 Message-ID: 4e4ebb39.6060...@hohlart.de
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Am 19.08.2011 19:13, schrieb Patrick Karl:
 I am having a problem with the \articulate command in LilyPond 2.14.1 on a 
 mac with OSX 10.6.8.
 
 For example, with the lilypond input file (I call it articulate_problem.ly):
 
 \version 2.14.1
 \include articulate.ly
 music =   \relative b' {
  a b c d
  a2 b
  c4. d r4
 }
 
 \score {
  \articulate
  \new Staff {  \music  }
  \layout {}
  \midi {}
 }
 
 AFAIK articulate is used to include articulations in MIDI output files, 
 so the MIDI sounds a bit more
 realistic. For that reason, it multiplies the notes by some computed 
 values, so a quarter note
 may be 90% of a normal quarter, whereas the following rest is 10% of a 
 quarter note.
 
 I use two score blocks, one for the printed music,
 
 \score {
   \articulate
   \new Staff {  \music  }
 }
 (without \midi { }, you can delete the \layout { })
 
 and one for MIDI:
 
 \score {
   \articulate
   \new Staff {  \music  }
   \midi {}
 }
 
 (here, we don't want to get printable scores).
 
 HTH,

Why don't we want to get printable scores here?  It would be interesting to see 
what \articulate has done to the music, possibly with the prospect of modifying 
it.  And in any case if we do want to get a printable score here, wouldn't we 
like it to be accurate?

 
 Marc
 and the command: lilypond --png -I 
 /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly 
 articulate_problem.ly
 
 I get the attached png file.
 
 The problem is in the pdf/png output file.  Instead of what one would expect 
 (3 bars of 4 beats each), the output file shows three measures with each of 
 the notes followed by a rest of the same duration.  Thus the 1st bar 
 contains effectively: a4 r b r c r d r.  These eight are packed into a 
 single measure!  The 2nd measure is:  a2 r b 4, again eight beats packed 
 into a single measure. The 3rd measure is:  c4. r d r r4, or 7 beats packed 
 into a single measure.
 
 I get the same result if I compile the input file in LilyPond (i.e., the 
 little editor that comes with it) or Jedit.  If I remove the \articulate 
 command, the output is then correct.  Adding the unfoldRepeats command has 
 no effect on the output.
 
 The midi file (also attached) does not seem to be affected by the problem.
 
 Note:  The log file generated contains the lines:
 
 Converting to PNG...
 *** Warning: GenericResourceDir doesn't point to a valid resource directory.
the -sGenericResourceDir=... option can be used to set this.
 
 but it doesn't seem to have any effect on the output.  I have tried to find 
 what the GenericResourceDir should be set to, but so far unsuccessfully.

Anybody have an idea on the GenericResourceDir problem?


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


articulate problem

2011-08-19 Thread Patrick Karl
I am having a problem with the \articulate command in LilyPond 2.14.1 on a mac 
with OSX 10.6.8.

For example, with the lilypond input file (I call it articulate_problem.ly):

\version 2.14.1
\include articulate.ly
music =   \relative b' {
a b c d
a2 b
c4. d r4
}

\score {
\articulate
\new Staff {  \music  }
\layout {}
\midi {}
}

and the command: lilypond --png -I 
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly 
articulate_problem.ly

I get the attached png file.

The problem is in the pdf/png output file.  Instead of what one would expect (3 
bars of 4 beats each), the output file shows three measures with each of the 
notes followed by a rest of the same duration.  Thus the 1st bar contains 
effectively: a4 r b r c r d r.  These eight are packed into a single measure!  
The 2nd measure is:  a2 r b 4, again eight beats packed into a single measure. 
The 3rd measure is:  c4. r d r r4, or 7 beats packed into a single measure.

I get the same result if I compile the input file in LilyPond (i.e., the little 
editor that comes with it) or Jedit.  If I remove the \articulate command, 
the output is then correct.  Adding the unfoldRepeats command has no effect 
on the output.

The midi file (also attached) does not seem to be affected by the problem.

Note:  The log file generated contains the lines:

Converting to PNG...
*** Warning: GenericResourceDir doesn't point to a valid resource directory.
   the -sGenericResourceDir=... option can be used to set this.

but it doesn't seem to have any effect on the output.  I have tried to find 
what the GenericResourceDir should be set to, but so far unsuccessfully.



articulate_problem.ly
Description: Binary data

inline: articulate_problem.png



articulate_problem.midi
Description: MIDI audio
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\repeat unfold behavior

2011-08-04 Thread Patrick Karl
I discovered that the \repeat unfold 2 in:

\relative a' {
\repeat unfold 2 {a' b c}
}

is not equivalent to:  a' b c   a' b c

but rather to:   a' b c   a b c

That surprised me.  I have not been able to find any documentation in Notation 
about this behavior.

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


Re: how to color a repeat bar line?

2011-08-03 Thread Patrick Karl
At least one digest has appeared since I sent this, but it hasn't appeared yet. 
 I am assuming my original submission has been lost.

On Aug 2, 2011, at 8:23 PM, Patrick Karl wrote:

 
 On Aug 2, 2011, at 6:55 PM, James Lowe wrote:
 
 Hello,
 
 From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
 [lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Patrick 
 Karl [pck...@mac.com]
 Sent: 03 August 2011 00:29
 To: lilypond-user@gnu.org
 Subject: how to color a repeat bar line?
 
 I would like to color the initial repeat bar line of a volta.  I tried the 
 following:
 
 \version 2.14.1
 \relative g' {
   \repeat volta 2 { a b c d }
   \break
   \once \override Staff.BarLine #'color = #red
   \repeat volta 2 { d c b a }
 }
 
 but this colors not only the initial bar line of the 2nd repeat, but also 
 the final bar line of the 1st repeat (which is an interesting interpretation 
 of \once).  Is there a way to only color the initial bar line of the 2nd 
 repeat?
 
 --- 
 
 Manual repeats?
 
 
 \bar |:
 
 An interesting suggestion.  Would \unfoldRepeats work pretty well with that?
 
 
 I am guessing that the \once in the context of a volta 2 is correct. The 
 volta is a single 'entity' comprising of *both* repeat bars. So \once refers 
 to the volta 'set' not just the single bar instance. I could be wrong though 
 :)
 
 You do understand that it's not the trailing or terminal repeat bar line of 
 the current volta that's being, IMHO, erroneously colored.  It's the terminal 
 bar line of the preceding volta.  If it were the trailing repeat bar line of 
 the current volta that was colored, I could live with that.
 
 James
 


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


Re:how to color a repeat bar line?

2011-08-03 Thread Patrick Karl

 
 Message: 8
 Date: Wed, 3 Aug 2011 20:36:58 +0200
 From: Xavier Scheuer x.sche...@gmail.com
 To: harm6 thomasmorle...@googlemail.com
 Cc: lilypond-user@gnu.org
 Subject: Re: how to color a repeat bar line?
 Message-ID:
   CADGqHRe7=Jt0NRLfXAsFV=9we-N3P1Ye1XaD4mnNQWsBnv=h...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8
 
 On 3 August 2011 02:09, harm6 thomasmorle...@googlemail.com wrote:
 
 Hi,
 
 try:
 
 \version 2.14.1
 
 #(define (color-at-line-begin g)
 (if (and (ly:item? g)
  (equal? (ly:item-break-dir g) RIGHT))
 (ly:grob-set-property! g 'color red)))
 
 \relative g' {
   \repeat volta 2 { a b c d }
   \break
   \once\override Staff.BarLine #'after-line-breaking =
 #color-at-line-begin
   \repeat volta 2 { d c b a }
 }
 
 
 Nice one!
 Could you add it to the LSR?
 
 Cheers,
 Xavier

I agree, it's a nice one.  I might note, however, that this solution is closely 
connected to the \break that precedes the bar line I'm trying to color.  
Remove the break and the coloration disappears.  Is it possible to color just 
the initial repeat bar line that occurs in the middle of a line?


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


how to color a repeat bar line?

2011-08-02 Thread Patrick Karl

I would like to color the initial repeat bar line of a volta.  I tried the 
following:

\version 2.14.1
\relative g' {
\repeat volta 2 { a b c d }
\break
\once \override Staff.BarLine #'color = #red
\repeat volta 2 { d c b a }
}

but this colors not only the initial bar line of the 2nd repeat, but also the 
final bar line of the 1st repeat (which is an interesting interpretation of 
\once).  Is there a way to only color the initial bar line of the 2nd repeat?

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


Re: how to color a repeat bar line?

2011-08-02 Thread Patrick Karl

On Aug 2, 2011, at 6:55 PM, James Lowe wrote:

 Hello,
 
 From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
 [lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Patrick 
 Karl [pck...@mac.com]
 Sent: 03 August 2011 00:29
 To: lilypond-user@gnu.org
 Subject: how to color a repeat bar line?
 
 I would like to color the initial repeat bar line of a volta.  I tried the 
 following:
 
 \version 2.14.1
 \relative g' {
\repeat volta 2 { a b c d }
\break
\once \override Staff.BarLine #'color = #red
\repeat volta 2 { d c b a }
 }
 
 but this colors not only the initial bar line of the 2nd repeat, but also the 
 final bar line of the 1st repeat (which is an interesting interpretation of 
 \once).  Is there a way to only color the initial bar line of the 2nd 
 repeat?
 
 --- 
 
 Manual repeats?

 
 \bar |:

An interesting suggestion.  Would \unfoldRepeats work pretty well with that?

 
 I am guessing that the \once in the context of a volta 2 is correct. The 
 volta is a single 'entity' comprising of *both* repeat bars. So \once refers 
 to the volta 'set' not just the single bar instance. I could be wrong though 
 :)

You do understand that it's not the trailing or terminal repeat bar line of the 
current volta that's being, IMHO, erroneously colored.  It's the terminal bar 
line of the preceding volta.  If it were the trailing repeat bar line of the 
current volta that were repeated, I could live with that.
 
 James


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


Re: Regarding \break and multimeasure rests

2011-07-06 Thread Patrick Karl

 
 Message: 4
 Date: Wed, 6 Jul 2011 05:13:57 -0400
 From: Hwaen Ch'uqi hwaench...@gmail.com
 To: lilypond-user@gnu.org
 Subject: Regarding \break and multimeasure rests.
 Message-ID:
   CAFRM3_2Ly4Ag-B11xCF18xY1pJkv-Eb_=h6g2ckcvdy-eb7...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1
 
 Greetings All,
 I am currently working on a composition for piano, four hands, and
 I have run into a bit of difficulty in terms of aligning Secondo and
 Primo parts. At a certain point in the score, Lily simply refuses to
 break at the command, even after instantiating `\\once \override
 Score.NonMusicalPaperColumn #'line-break-permission = ##f' directly
 within the music and after trying the more general direction in the
 layout block as shown below and in the Notation Reference itself. When
 compiling, I continually get the error, `warning: forced break was
 overridden by some other event, should you be using bar checks?' I
 should state that, earlier in the piece, there occur successful \break
 commands during a passage of multimeasure rests in both hands; the
 only difference there is that that passage takes place in the middle
 of the page, not at the beginning. I give what I believe to be the
 relevant code, the entire part being quite large; but I can supply the
 entire code if requested. Many thanks for any guidance!
 Hwaen Ch'uqi
 
 P.S. To be extra clear, I am using version 2.14.1. After upgrading
 with `convert-ly -e', the final version number given is 2.14.0.
 
 \version 2.14.0
 
 #(define-markup-command (four-hand-page layout props offset) (number?)
 (let* (
   (two-hand (chain-assoc-get 'page:page-number-string props))
   (four-hand (number-string (+ offset (* 2 (string-number two-hand))
   (interpret-markup layout props four-hand)))
 
 \paper{
  #(set-paper-size letter)
  oddHeaderMarkup = \markup \fill-line {
\four-hand-page #0

  }
  evenHeaderMarkup = ##f
  tagline = ##f
 }
 
 \header{
  instrument = Secondo
 }
 
 \score{
  \new PianoStaff
\set PianoStaff.connectArpeggios = ##t
\new Staff = up{
  \set Staff.extraNatural = ##f
  \key c \major \time 4/4 \clef bass \relative{
   R1*2
   \break
   \acciaccatura s8 R1*2
   \break
   R1*3
  }
}
\new Staff = down{
  \set Staff.extraNatural = ##f
  \key c \major \time 4/4 \clef bass \relative{
   R1
   c,, g'8 r c g' r c g' r c g' r
   \acciaccatura a'8 c, g'8 r c g' r c g' r c g' r
   \acciaccatura aes'8 c, g'8 r c g' r c g' r c aes' r
   c g'8 r c g' r c g' r c aes' r
   c g' r c aes' r c g' r c aes' r
   c g' r r2 ges ges'8 r
  }
}
 
  \layout{
\context{
  \Score
  \override NonMusicalPaperColumn #'line-break-permission = ##f
}
  }
 }

This is covered in the Known Issues and warnings at the end of Section 1.2.6: 
 Special rhythmic concerns in the Notation Manual.  The cure is to include 
\acciaccatura s8 before the 2nd R1*2 in the upper staff, as shown above.


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


Request help with cueDuring

2011-06-27 Thread Patrick Karl
The snippet below is extracted from the 1st 6 measures of Pachelbel's Kanon.  I 
am trying to insert cue notes into the parts for the soprano and the alto.  The 
soprano cue notes are taken from the bass line, while the alto cue notes are 
taken from the soprano line.  However, the alto cue notes are not what I 
expected, namely, a full measure rest rather than the soprano notes from 
measure 2.

I have read about this in the Notation Manual and looked at the snippets in the 
Snippet Repository, but have not succeeded in figuring it out.  Could someone 
please give me a clue?  (Note that even in the Soprano part the full measure 
rest looks like it is a cued rest rather than a standard full measure rest on 
the 4th line of the staff.  I don't understand that either, but I can live with 
it.)

\version 2.14.0

B = \new Voice \relative c' {
\set Staff.instrumentName = #Bass 
\clef bass

d4 a b fis  % 1
g d g a % 2
d4 a b fis  % 3
\bar |.
}

S = \new Voice \relative c''' {
\set Staff.instrumentName = #Sopr 
\clef bass

\addQuote B { \B }
\new CueVoice \with { instrumentCueName = Bass }
\cueDuring #B #DOWN { R1 }% 1
\clef treble^8
fis4 e d cis% 2
d a b fis   % 3

\bar |.
}
 
A = \new Voice \relative c'' {
\set Staff.instrumentName = #Alto 
\clef treble

\addQuote S { \S }
R1  
% 1
\new CueVoice \with { instrumentCueName = Soprano }
\cueDuring #S #DOWN { R1 }% 2
b4 a b cis  
% 3
\bar |.
}

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

\score {
\new ChoirStaff  
\new Staff { \global \S }
\new Staff { \global \A }
\new Staff { \global \B }

\layout { }
}


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


Re: list of changes in minor versions

2011-06-22 Thread Patrick Karl


Date: Wed, 22 Jun 2011 10:20:57 +0100

From: Graham Percivalgra...@percival-music.ca
To: Marc Mouriesm...@mouries.net
Cc: lilypond-userlilypond-user@gnu.org
Subject: Re: list of changes in minor versions
Message-ID:20110622092057.GA26249@futoi
Content-Type: text/plain; charset=us-ascii

On Tue, Jun 21, 2011 at 10:27:40PM -0400, Marc Mouries wrote:

I just saw that version 2.15.2 was released. Is there a page somewhere
listing the list of bug fixed?

Yes, the git changelog.  Nobody has offered to write a
less-detailed summary of changes for releases.


What is the git changelog?  Where would I find it?  Why does it have to 
be summarized?



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


Still puzzled by the format of so-called URLs in lilypond-user Digest

2011-06-21 Thread Patrick Karl
On 6/21/2011 8:44 AM, in lilypond-user Digest, Vol 103, Issue 73, 
lilypond-user-requ...@gnu.org wrote:

A non-text attachment was scrubbed...
Name: ChordSlur.pdf
Type: application/force-download
Size: 22869 bytes
Desc: not available
URL:/archive/html/lilypond-user/attachments/20110621/5c17dd6b/attachment-0001.bin
I am still extremely puzzled by the inclusion of information such as 
this in the lilypond-user Digest.  Clearly, the so-called URL above is 
not at all a URL, although it might be the tail of some legitimate URL.  
If I click on the URL, I get no joy.


In this case, I would really like to see the ChordSlur.pdf file so as to 
better understand the issues involved in the user report.  How exactly 
would I go about this?  Is there some fixed prefix I can prepend to the 
URL which will result in a valid URL?


Another problem with the above URL is the last segment, 
attachment-0001.bin.  That's not a legitimate name for a pdf file.  Even 
if the URL were legitimate, I'm pretty sure that my Firefox on Windows 
Vista and my Firefox on Mac OSX would not know what to do with the 
file.  And I don't know either.  Does the .bin extension indicate some 
sort of compression has been applied to the pdf?  If so, what 
decompressor would I use under Vista or OSX to decompress 
attachment-0001.bin?


How do list members deal with these issues?

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


What do these warnings mean and why are they occurring?

2011-06-17 Thread Patrick Karl
I have a LilyPond file, Sonata_Op6No10_atb_TB_100.ly-preprocessed.ly, which 
emits the following log file when compiled:

 Pats-Mac-Pro:test_articulate pat$ lilypond $f
 GNU LilyPond 2.14.0
 Processing `Sonata_Op6No10_atb_TB_100.ly-preprocessed.ly'
 Parsing...
 Interpreting music... 
 Interpreting music... 
 Interpreting music... 
 Interpreting music... 
 Interpreting music... 
 Interpreting music... 
 warning: MIDI channel wrapped around
 warning: remapping modulo 16
 warning: MIDI channel wrapped around
 warning: remapping modulo 16
 warning: MIDI channel wrapped around
 warning: remapping modulo 16
 MIDI output to `Sonata_Op6No10_atb_TB_100.ly-preprocessed.midi'...
 MIDI output to `Sonata_Op6No10_atb_TB_100.ly-preprocessed-1.midi'...
 MIDI output to `Sonata_Op6No10_atb_TB_100.ly-preprocessed-2.midi'...
 MIDI output to `Sonata_Op6No10_atb_TB_100.ly-preprocessed-3.midi'...
 MIDI output to `Sonata_Op6No10_atb_TB_100.ly-preprocessed-4.midi'...
 MIDI output to `Sonata_Op6No10_atb_TB_100.ly-preprocessed-5.midi'...
 success: Compilation successfully completed

This is Corelli's trio sonata Opus 6 No 10.  It has six movements, each of 
which is in their own score block in this file.  I use Peter Chubb's articulate 
facility in order to generate better midi files.

As I read the log file, the problem is with the sixth movement.  If I comment 
the first five score blocks out, the above warnings do not occur.  I have 
compared the two resulting midi files for the sixth movement and they are 
identical.  However, I have several dozen similar files, and I don't want to 
have to do that kind of investigation each time one of them gets recompiled.

From what I noted in the previous paragraph, it would appear that there is 
some initialization with respect to midi file generation that needs to be done 
whenever a new score block is encountered.  Does anyone agree with this?

In general, what is the proper way to get more information about the various 
error messages and warnings that appear in the log file?  To my knowledge, 
there isn't any comprehensive documentation of these messages.  Or?

I was using a previous version of the articulate script under LilyPond 2.12.3.  
These warnings did not occur there.



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


Format of lilypond-user Digest change

2011-04-30 Thread Patrick Karl

Sometime between April 7 and April 12 the format of the user digest has been 
changed with respect to the Url's for scrubbed attachments.  The old format, 
found on April 7 and before, was:

 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20110406/a0c79695/attachment.html


and the new format is:

 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 /archive/html/lilypond-user/attachments/20110412/3a9efc10/attachment.html

Now, even the old format wasn't very helpful because the page pointed to by the 
Url never existed, but at least you could click on it and start exploring to 
find the actual page.  That can't be done with the new format.

Why was this change made?  Why were the old Url's always nonexistent?

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


Re: font use

2011-04-27 Thread Patrick Karl

 
 Message: 1
 Date: Tue, 26 Apr 2011 17:09:10 +0100
 From: Phil Holmes m...@philholmes.net
 To: Fr. Michael Gilmary, mma frmichaelgilm...@maronitemonks.org,
   lilypond-user@gnu.org, James Lowe james.l...@datacore.com
 Subject: Re: font use
 
 There have been a few reports of problems with fonts on Macs.  These seem all 
 to be related to a GhostScript upgrade - I think an upgrade to 8.70?  Perhaps 
 you're seeing a similar problem?

That font problem on Macs occurred when the OS was upgraded to OSX 10.6.7.  It 
appears to be a problem in ATS, the Apple Type Server.  The OP reports that he 
is using OSX 10.4.11, so I think it's unlikely that he has been affected by 
this problem.

A lot of potential solutions to the Mac font problem have been proposed, 
including:
  *  downgrading to OSX 10.6.6
  *  download a program called Onyx and using it to address the problem somehow
  *  clearing the font caches and restarting

I tried several of these solutions and didn't find that they solved the whole 
problem.  The best I did was to have everything look ok except for the notehead 
in a MM metronome marking.

A user has developed what looks like a good fix for the problem in OSX 10.6.7, 
namely to replace the new ATS modules with the old, 10.6.6 modules.  I have 
installed this fix on my MacPro, and find so far that it is effective and it 
doesn't seem to have any undesirable side effects.

A pointer to the file in question is given here:  
https://discussions.apple.com/thread/2792142?threadID=2792142start=304tstart=0
 (you'll apparently be allowed into this secure site as a guest).  The file is: 
 http://azlist.info/kj/support/fontfix10.6.7.zip.

Pat Karl
 
 --
 Phil Holmes
 
 
  - Original Message - 
  From: Fr. Michael Gilmary, mma 
  To: lilypond-user@gnu.org ; James Lowe 
  Sent: Tuesday, April 26, 2011 2:48 PM
  Subject: Re: font use
 
   On Apr 26 AD 2011, at 2:21 AM, James Lowe wrote:
 
I'm sure that those who know better will give you more detail but over the 
 last 6 months there have been similar type questions about ligatures, looking 
 back over these threads they are always led back to this thread
 
 http://lists.gnu.org/archive/html/lilypond-devel/2010-11/msg00128.html
 
  Thanks, James. 
 
  Yes, I saw that thread and it's certainly related to what I'm looking for 
 ... but the font I've been using almost exclusively for the last several 
 years has all the glyphs and tables needed. In fact, I've been using XeLaTeX 
 with Lilypond successfully for all that time (since about 2008). Only since 
 I've obtained 2.13 did I notice the change in font handling --- both a change 
 in ligature use and optical size selection. I'm also on the same OS since I 
 began using Lilypond and friends (Mac OS 10.4.11).
 
  While the source code has not changed from 3 years ago (in the example I 
 sent last time) the results definitely have changed. Even if I don't specify 
 the font, the default font used by Lilypond no longer renders the ligatures 
 either --- although that used to work, too.
 
   I've tried to go back to v. 2.12 and the problem is still there. I can't 
 get v. 2.11 to work since it complains about something in lilypond-book and 
 returns a Child 11 or something like that 
 
   So, IF the engine now needs some explicit call to use ligatures as before, 
 does anyone know what that is? 
 
   fr. michael gilmary, mma


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


Can't embed font for chord changes

2011-04-03 Thread Patrick Karl
I am unable to compile the following file:

 \version 2.12.3
 
 melody = \relative c' { s4 fis4 fis8 e4. }
 
 harmonies = \chordmode { a1:7 }
 
 \score {

   \new ChordNames {
   \set chordChanges = ##t
   \harmonies
   }
   \new Voice = one \melody
   
 }

The log file says:

 Processing 
 `/Users/pat/Documents/LilyPond/Examples_and_Tests/cant_embed_font.ly'
 Parsing...
 Interpreting music... 
 Preprocessing graphical objects...
 Finding the ideal number of pages...
 Fitting music on 1 page...
 Drawing systems...
 Layout output to `cant_embed_font.ps'...
 warning: do not know how to embed 
 BitstreamVeraSans-Roman=/Library/Fonts/Vera.tff
 Converting to `./cant_embed_font.pdf'...
 `gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 
 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
 -sOutputFile=./cant_embed_font.pdf -c .setpdfwrite -f cant_embed_font.ps' 
 failed (256)
 error: failed files: 
 /Users/pat/Documents/LilyPond/Examples_and_Tests/cant_embed_font.ly
 Processing time: 0 seconds

Thanks,
Pat Karl

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


Re: problem with OS X 10.6.7 and Lily-PDFs

2011-03-31 Thread Patrick Karl

 Message: 3
 Date: Thu, 31 Mar 2011 13:21:09 +0200
 From: Jan-Peter Voigt jp.vo...@gmx.de
 Subject: problem with OS X 10.6.7 and Lily-PDFs
 To: lilypond-user Mailinglist lilypond-user@gnu.org
 Message-ID: 4d9463a5.1000...@gmx.de
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Hello List,
 
 I installed Mac OSX 10.6.7 and now am unable to print my beautiful 
 sheets from my mac! It seems to be related to a font problem in the last 
 security update: http://www.tidbits.com/article/12078
 Luckily I work on Ubuntu and can print from there ...
 
 Sorry for this off topic message, but I know, there are a lot mac users 
 in this community ;-)
 
 Cheers,
 Jan-Peter

I also have this problem with Preview 5.0.3 under OSX 10.6.7.  Missing are 
noteheads, repeats, rests, accidentals, articulations.  All that's left is 
staves, stems, beams, and slurs, for the most part.

Regards,
Pat Karl


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


Re: Bug in LilyPondTool PDF preview after openjdk-6-jre update (Ubuntu)

2011-02-08 Thread Patrick Karl
 
 Date: Tue, 8 Feb 2011 09:30:26 +0100
 From: Francisco Vila paconet@gmail.com
 
 I always thought: LilyPondTool is for Windows users, and Linux people use
 Frescobaldi if they need something similar. Apparently I was wrong ?
 
 LPT runs on jEdit which runs on jre which runs on Windows and Linux.
 Frescobaldi is for Linux in a KDE environment.

jEdit also runs on mac OSX.  I use LPT with it there.

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


Re: irregular volta brackets (Akira)

2011-01-16 Thread Patrick Karl

O
 Message: 7
 Date: Sun, 16 Jan 2011 18:58:12 +0900
 From: Akira i.love.the.pika...@gmail.com
 Subject: irregular volta brackets
 To: lilypond-user@gnu.org
 Message-ID:
   AANLkTin+MCZbtVXQL_wT9A0FuBGJqMNZdKn8yAEs5=q...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1
 
 I can't finish the last volta brackets but I need to.
 how to do this?

It's standard for the last alternative's bracket to look like your image shows 
unless the alternative is the last thing in the piece.  Thus you can accomplish 
what you want if your 2nd alternative is the last thing in the piece by adding 
'\bar |.' after the rest in the 2nd alternative.


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


Re: ANN: New LilyPondTool version available for testing

2011-01-16 Thread Patrick Karl


 From: Bertalan Fodor (LilyPondTool) lilypondt...@organum.hu
 Date: January 14, 2011 10:52:04 AM CST
 To: lilypond-user@gnu.org
 Subject: ANN: New LilyPondTool version available for testing
 
 
 I deployed a new version (2.12.932) of LilyPondTool for testing.
 Just drop http://lilypondtool.organum.hu/LilyPondTool.jar to your
 .jedit/jars directory (inside your home folder like c:\Documents and
 Settings\John\.jedit\jars).

On a mac note that your jedit jars directory is at:  ~/Library/jEdit/jars
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 97, Issue 114

2010-12-23 Thread Patrick Karl



Message: 1
Date: Wed, 22 Dec 2010 19:39:19 -0800 (PST)
From: MING TSANGtsan...@rogers.com
Subject: Re: lilypond-user Digest, Vol 97, Issue 111
To: lilypond-user@gnu.org
Message-ID:842388.24231...@web88007.mail.re2.yahoo.com
Content-Type: text/plain; charset=us-ascii

I try all three links and I got the following error message:


Not Found
The requested URL
/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin was not
found on this server.

I am running firefox 3.6.13
That is a constant, ongoing problem with the Lilypond-user Digest.  I 
think it may be a function of the format of the Digest you signed up 
for.  Apparently, the format you and I have chosen is malformed, 
resulting in all the attachments pointing to nonexistent files on the 
Internet.  I have raised this issue before and got no satisfactory 
answer.  The way I deal with the problem is this:


* When I get the Not Found message, trim the URL in your address 
window in your browser to:


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

* This gives you a list of all the digests in the following format:

. 2010-12: [Date]  [Thread]
. 2010-11: [Date]  [Thread]
etc.

* Click on the [Date] link for the month the digest you're interested 
in, in this case the first one, which contains all the digests for the 
month of December, 2010.  You will get a list similar to:


   * *December 23, 2010*
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00625.html,
   /Michael Ellis/, 11:25
 o Re: Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00620.html,
   /Mike Solomon/, 04:49
 o Re: Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00619.html,
   /Mike Solomon/, 04:48
 o Re: Lily Dances -- lilypond-user Digest, Vol 97, Issue 111
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00618.html,
   /Mike Solomon/, 04:44
 o Re: lilypond-user Digest, Vol 97, Issue 111
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00617.html,
   /Valentin Villenave/, 03:12
   * *December 22, 2010*
 o Re: lilypond-user Digest, Vol 97, Issue 111
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00616.html,
   /MING TSANG/, 22:39
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00606.html,
   /Carl Sorensen/, 10:46
 o Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00605.html,
   /Mike Solomon/, 10:31
 o Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00604.html,
   /Mike Solomon/, 10:30
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00603.html,
   /Michael Ellis/, 10:08
 o Re: pb with 2.13 with doc example fret diagram
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00589.html,
   /David Kastrup/, 01:19
   * *December 21, 2010*
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00588.html,
   /Carl Sorensen/, 22:18
 o Re: pb with 2.13 with doc example fret diagram
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00587.html,
   /Carl Sorensen/, 21:43


  *  In this case we are interested in the entry by Mike Solomon with 
the Subject:  Lily dances which was digested on 22 Dec 2010.  I don't 
know why there are two such entries, but they seem to be identical.  
Click on either one and you will get the original entry with valid links 
that are clickable and will actually function correctly


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


Re: lilypond-user Digest, Vol 97, Issue 111

2010-12-23 Thread Patrick Karl

Message: 2

Date: Thu, 23 Dec 2010 09:12:43 +0100
From: Valentin Villenavevalen...@villenave.net
Subject: Re: lilypond-user Digest, Vol 97, Issue 111
To: MING TSANGtsan...@rogers.com
Cc: lilypond-user@gnu.org
Message-ID:
aanlktimtv6p=ea6keotxbk-i7dptsks+fvgno0ps0...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

On Thu, Dec 23, 2010 at 4:39 AM, MING TSANGtsan...@rogers.com  wrote:

I try all three links and I got the following error message:

The requested URL
/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin was
not found on this server.

Try here:
http://old.nabble.com/Lily-dances-p30515146.html

Yes, that works great!  But you answer only solves this one problem, 
which is constant and ongoing.  Almost every Digest I receive contains 
links that point to nonexistent files.  How, in general, can I find the 
intended file?  (And why wasn't that link in the Digest rather than the 
faulty one?)



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


Re: lilypond-user Digest, Vol 97, Issue 111

2010-12-23 Thread Patrick Karl

Message: 3

Date: Thu, 23 Dec 2010 10:44:38 +0100
From: Mike Solomonmike...@ufl.edu
Subject: Re: Lily Dances -- lilypond-user Digest, Vol 97, Issue 111
To: Father Gordon Gilbertfatherg...@gmail.com
Cc: lilypond-user@gnu.org
Message-ID:286acb8f-27bf-4429-8d37-35d26c403...@ufl.edu
Content-Type: text/plain; charset=us-ascii

Dear Gordon,

The links in this posting are in fact attached files that should be downloaded 
to your local machine, not websites on the Internet.  If you look in the folder 
in which attachments are saved on your machine, you should be able to find and 
open them.
I have this same problem whether I am reading the Digest with the Mac 
OSX Mail client or with Firefox on Windows Vista.  I have no idea what 
you're talking about when you refer to ...the folder in which 
attachments are saved on your machine.  Most normal emails that contain 
links to files on the Internet don't behave in the manner you indicate.


I have to say it:  what kind of cockamamie scheme is this?  The files we 
are talking about actually live in the Internet on the lists.gnu.org 
server.  And in some cases they might be so large that I wouldn't want 
them to be routinely downloaded onto my machine.  Why can't the actual, 
correct URLs be used in the Digest rather than these fictitious ones?


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


Re: bar number printed above the phrase (slur) curve

2010-12-16 Thread Patrick Karl

 
 Message: 1
 Date: Thu, 16 Dec 2010 09:34:54 +0100
 From: Jan Warcho? lemniskata.bernoulli...@gmail.com
 Subject: Re: bar number printed above the phrase (slur) curve
 To: MING TSANG tsan...@rogers.com
 Cc: lilypond-user lilypond-user@gnu.org
 Message-ID:
   aanlktinwhbcksuogosnjyskua3g4vpya8dgeog2si...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8
 
 2010/12/16 MING TSANG tsan...@rogers.com:
 
 Is it possible to line up all bar number just above the staff / bar line,
 especially bar 2, 4 and 5 which is on top of the phrase curve?
 
 Here is a simpler example.
 [65 lines of code]
 
 A proper tiny example for your question would
 be something like this (i wrote it in less than a minute):
 
 \version 2.13.40
 \relative c''{
  \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
  \stemUp \slurUp e e e( e | e e) e e
 }
 
 Now back to the problem. I hoped that adding this
 
 \override BarNumber #'avoid-slur = #'inside
 \override BarNumber #'outside-staff-priority = ##f
 
 would solve it (similarly to the example in Learning Manual 4.4.3),
 but it doesn't.
 I also tried adding some Y-offset, but it doesn't work at all - a bug?
 see this, the bar number doesn't move at all:
 
 \version 2.13.40
 \relative c''{
 \override BarNumber #'Y-offset = #5.0
 c c c c \break c c c c
 }
 
 My knowledge ends here. Can anyone wiser than me use my tiny example
 of Ming's problem and solve it?

I think I get satisfactory results with:

\version 2.12.3
\relative c''{
 \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
 \override Score.BarNumber #'outside-staff-priority = ##f
 \override Score.BarNumber #'Y-offset = #-2.4
 \stemUp \slurUp e e e( e | e e) e e
}


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


Re: vim

2010-12-03 Thread Patrick Karl

On Dec 3, 2010, at 11:01 AM, lilypond-user-requ...@gnu.org wrote:

 Message: 1
 Date: Fri, 03 Dec 2010 07:58:07 -0800
 From: michael webster semiqua...@mac.com
 Subject: Re:vim
 To: lilypond-user@gnu.org
 Message-ID: 7697ea0a-cba0-47c0-b978-b25c6ffd3...@mac.com
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
 
 in recent comments folks have discouraged vim - I have learned vim  
 (MacVim) specifically for Lilypond use and have found it terrific.
 
 I have mapped commands to send to lilypond and view pdf or open midi  
 output in Quicktime player.
 
 The syntax coloring is a pain to install but works. vims capabilities  
 (eg finding other instances of text the cursor is on, folding,  
 navigation) and plugins (snippets, alignment) are super useful in a  
 Lilypond context.

Could you say a few more words about the mapped commands and the syntax 
coloring?  Is there anything you could share?
 
 So I just wanted to encourage anyone who is serious about longer  
 projects to consider vim - like Lilypond it has a steep learning curve  
 but you can be very productive once you have it going.


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


Can LilyPond do incipits?

2010-11-21 Thread Patrick Karl
I'm trying to duplicate in LilyPond a very ugly photocopied piece of 
music, which was handed out in an Early Music workshop, which includes 
incipits.  Does LilyPond do incipits?  The only thing I find in the 
v2.12 NR is:


Incipits
TBC

See also

which doesn't seem very promising.  There is no entry in the index for 
incipit.


I looked at the v2.13 NR, and it doesn't include an entry in the index 
for incipit.


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


Re: Distance between systems/staves

2010-11-11 Thread Patrick Karl

 
 Message: 3
 Date: Thu, 11 Nov 2010 08:23:01 + (UTC)
 From: Christian Bos christian@gmail.com
 Subject: Distance between systems/staves
 To: lilypond-user@gnu.org
 Message-ID: loom.2010t092226-...@post.gmane.org
 Content-Type: text/plain; charset=us-ascii
 
 Hello,
 
 I am working on a piece containing multiple scores in one file, like this:
 
 
 \score {
 [music]
 }
 
 \score {
 [some more music]
 }
 
 
 How can I increase the distance between the staves of the different scores?

Insert one or more:  \markup {   }

commands at the point you want additional spacing.


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


Re: lilypond-user Digest, Vol 96, Issue 3

2010-11-01 Thread Patrick Karl
The following snippet:

 \version 2.12.3
 T = \relative b' { cis2. c4 }
 \score {
   \new Staff { \T  }
   \layout {
   \context { \Voice \consists Ambitus_engraver } 
   }
 }

generates the following in the log file:

 Preprocessing graphical objects...
 programming error: Infinity or NaN encountered
 Finding the ideal number of pages...

The programming error does not occur if either of the following steps are taken:

  *  comment out the Ambitus_engraver command

  *  leave the Ambitus_engraver command in, but change the c4 to cis4 in the 
definition of the variable T.

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


Ambitus_engraver engenders programming error

2010-11-01 Thread Patrick Karl

On Nov 1, 2010, at 6:17 PM, Patrick Karl wrote:

 The following snippet:
 
 \version 2.12.3
 T = \relative b' { cis2. c4 }
 \score {
  \new Staff { \T  }
  \layout {
  \context { \Voice \consists Ambitus_engraver } 
  }
 }
 
 generates the following in the log file:
 
 Preprocessing graphical objects...
 programming error: Infinity or NaN encountered
 Finding the ideal number of pages...
 
 The programming error does not occur if either of the following steps are 
 taken:
 
  *  comment out the Ambitus_engraver command
 
  *  leave the Ambitus_engraver command in, but change the c4 to cis4 in the 
 definition of the variable T.

(I promise to do my best to never submit another entry without fixing the 
subject line.  mea culpa...)


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


Re: lilypond-user Digest, Vol 95, Issue 119

2010-10-29 Thread Patrick Karl

 
 Message: 1
 Date: Thu, 28 Oct 2010 19:55:49 -0400
 From: Fr. Michael Gilmary frmichaelgilm...@maronitemonks.org
 Subject: Re: extra spacing between staves and verses
 To: lilypond-user@gnu.org
 Message-ID: 4cca0d85.7010...@maronitemonks.org
 Content-Type: text/plain; charset=utf-8
 
 Thanks to Xavier and Bill for the solutions offered. Now, at least, I've 
 got v. 2.13.37 working, but I couldn't get Bill's
 system-system-spacing
 to work, though. No change was produced. And Xavier's
 score-system-spacing
 worked ... but /globally/. I looked at the Notation Ref. 4.4.1 about 
 vertical spacing between staves since what I'm working with is a hymn 
 with verses where the music changes slightly from verse to verse and so 
 I'd like the verses set apart from each other a bit.
 
 Any suggestions?

It's pretty hacky and klunky, but why not simply insert one or more of the 
following lines at the point where your sample says, I'd like to have extra 
vertical space here:

\markup {   }

This works in version 2.12.3.
 
 Attached is a sample of the music.
 
 fr. michael gilmary, mma


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


Ties in alternative endings

2010-10-04 Thread Patrick Karl
The NR deals with certain problems with ties in alternative endings, but I 
haven't seen a solution to the following problem:

\version 2.12.3
\relative c' {
a' b c d~
\repeat volta 2 { d e f g }
\alternative {
{ a, b c d~ }
{ a1 }
}
}

The tie of the last note in the first alternative ending is not engraved, 
presumably because LilyPond sees that the next note, the a1 in the second 
alternative ending, is not the same and thus no tie is possible.  The only way 
I see to deal with this at the moment is to replace the tie with a 
\laissezVibrer.  Is that right?

There's actually another, related problem with this snippet.  If I change the 
note in the second alternative ending to a d1, then LilyPond happily engraves 
a tie between the last note of the first alternative ending and the note in the 
second alternative ending.
I don't see an easy way to get LilyPond to deal with this problem correctly.

Help! 

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


Re: Global Font Change?

2010-08-28 Thread Patrick Karl

 
 From: Bernardo Barros bernardobarr...@gmail.com
 Date: August 28, 2010 11:34:10 AM CDT
 To: Christopher Meredith chmered...@gmail.com
 Cc: lilypond-user@gnu.org
 Subject: Re: Global Font Change?
 
 
 sorry,
 
 but why this works:
 ls  trashme.txt
 
 and not this:
 lilypond -dshow-available-fonts x  trashme.txt
 

The difference is that ls makes its output to stdout while lilypond 
-dshow-available-fonts x makes its output to stderr.  You will get the result 
you want from the lilypond command if you write it so:

lilypond -dshow-available-fonts x 2trashme.txt
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


global-set-staff-size not equivalent to layout-set-staff-size?

2010-08-14 Thread Patrick Karl
The following snippet is engraved differently depending on whether the 

#(set-global-staff-size 9) 
   or
#(layout-set-staff-size 9)

is in effect.  The difference is that the set-global-staff-size command 
causes the piece to be engraved on a single page, while the layout-set-staff 
size command causes the piece to be engraved on two pages.  The reason appears 
to be that the layout-set-staff-size command doesn't appear to actually change 
the staff sizes.

It was my understanding from reading the Notation Manual that the only 
difference between these two commands was scope, the global version affecting 
the entire document while the layout version only affects the score it is 
contained in.

(This problem arose when I wanted to combine several pieces into a single 
file but retain the earlier pagination, which depended upon different values of 
the set-global-staff-size parameter value.  I have not yet been able to 
discover how to do the combination and retain the original pagination due to 
this difference in behavior.)

Can anyone clarify?  Thanks.

\version 2.12.3
%#(set-global-staff-size 9)

S  =   \relative g'{
 \repeat unfold 10 {
a4. gis8 a4 a8 gis a b
c1~ c4
e4. dis8 e4 a8 gis a b
gis1~ gis4
a4. gis8 a4 c8 b c a \break
  }
}

A =   \relative b' {
  \repeat unfold 10 {
R1*5/4
a4. gis8 a4 a8 gis a b
c1 r4
e4. dis8 e4 fis8 gis a b
c4. b8 c4 e8 d e c \break
  }
}

T = \relative b' {
  \repeat unfold 10 {
a4 c e d b
a4 c e d b
c4 e g f d
e4 gis b a gis!
a4 e c a c \break
  }
}

global= { \tempo Allegro \time 5/4 }
\score {
\new ChoirStaff 
\new Staff { \global \S  }
\new Staff { \global \A  }
\new Staff { \global \T  }

\layout {
#(layout-set-staff-size 9)
} 
}


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


Accidental not properly notated in score

2010-05-04 Thread Patrick Karl
Can anyone explain why the 2nd d-sharp is not notated in the music in  
the following snippet:


\version 2.12.2

\relative g'' {
\partial 4 r4
r2. dis4
e2.

\repeat volta 2 {
\partial 4 c8 dis
e2.
}
}

I understand that I could get it notated properly by writing it as  
dis!, but that would require that I notice the need.


Thanks.


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


Re: Problem with initial grace note

2010-03-08 Thread Patrick Karl

On 8 Mar 2010 22:44:02 Graham Percival wrote:




Yes, read the warning at the bottom of the doc page about grace
notes.


I suppose you're referring to:

Grace note synchronization can also lead to surprises. Staff  
notation, such as key signatures, bar lines, etc., are also  
synchronized. Take care when you mix staves with grace notes and  
staves without, for example,


(example omitted).

This can be remedied by inserting grace skips of the corresponding  
durations in the other staves.


Since I don't have any other staves, how does this note apply to my  
case?


And doesn't the above sentence, Grace note synchronization can also  
lead to surprises, really mean that grace note implementation is  
buggy?  It looks to me that people have been bitten by these bugs  
since at least 2004 or so.


I guess I'll have to concentrate on engraving music for composers who  
avoid initial grace notes.



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


Re: placing fermata over

2010-02-05 Thread Patrick Karl

On 5 Feb 2010 at 14:50 Paul Scott wrote:


Should the following work?  I'm looking for a way to put a centered
fermata over a bar of music.
(In the actual case I want a tremolo under the fermata.)

\version 2.13.12

\new Staff  { s1^\fermataMarkup } { a1 } 


At version 2.12.2 the right way to do that is apparently:

\version 2.12.2

\new Staff {  a'1 \mark \markup { \musicglyph #scripts.ufermata } }

However, that apparently doesn't work for the very last bar line;  
even in the documentation in Section 1.2.5 of the Notation Reference  
an apparently irrelevant measure is placed after the bar line with  
the centered fermata.


Anyone know why it doesn't work for the last bar line?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Where are error messages explained?

2010-02-04 Thread Patrick Karl


Message: 5
Date: Wed, 3 Feb 2010 21:42:55 -0700
From: Carl Sorensen c_soren...@byu.edu
Subject: Re: Editing notes in a separate file
To: michael_odonn...@acm.org michael_odonn...@acm.org,
lilypond-user   lilypond-user@gnu.org
Message-ID: c78f9e5f.fc36%c_soren...@byu.edu
Content-Type: text/plain; charset=iso-8859-1


On 3/2/10 21:42 Carl Sorensen c_soren...@byu.edu wrote:


On 1/2/10 10:06 AM, Michael J. O'Donnell addr...@hidden wrote:


In the hope that I had overlooked
something (I've read the whole notation manual, but there are clearly
things that haven't made it in yet---I've found some of them in the
*.scm and *.ly sources but there are bound to be others that I've
missed) I posted the query.



Please let us know the things you've found that haven't made it  
into the
Notation Reference yet; the Notation Reference is intended to be  
exhaustive.


Thanks,

Carl


Where are the various error messages and warnings explicated?  Here  
are two examples:


* programming error: Adding reverse rod
  continuing, cross fingers

* warning: cannot find property type-check for `no-spacing- 
rods' (backend-type?).

 perhaps a typing error?
  warning: doing assignment anyway

Ideally, I would like to produce LilyPond source that generates no  
warnings or errors when compiled.


How do I find out what those (and other) messages really mean?   
What's a reverse rod?  Why would one be needed?  What's a no-spacing- 
rod?


There doesn't seem to be any information in those two error messages  
that would allow me to find where in my source the problem is.


What is a programming error?  A problem in my source code or a bug  
in LilyPond?


Thanks,
Pat



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


Re: lilypond-user Digest, Vol 87, Issue 11

2010-02-02 Thread Patrick Karl

Hi James,



Message: 1
Date: Tue, 02 Feb 2010 10:52:26 +
From: James Lowe james.l...@datacore.com
Subject: Re: pid leakage in LilyPond

You also don't have to keep closing the PDF file (like you do in
windows) as preview (in built for the mac os) just re-displays the new
changes rather than what windows does, which requires me to always  
close

the PDF. Unless that's just my PDF viewer (I use foxit on Windows).


That's not the way it works on my mac.  I use preview also, but I  
find that if I don't close the PDF file, then the next cmd-r doesn't  
generate a new one.  So if I forget to close the PDF file, I have to  
close it and repeat the cmd-r.  What a pain!


I guess this could be a version difference, either in Mac OSX or in  
LilyPond (or should I say LilyPad?).


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


git, webgit

2010-02-01 Thread Patrick Karl




Thanks for the report.  I've fixed this in git.

 Look at the docs in webgit first, and glance at the contributor's  
guide.


What are git and webgit?  Where should I have learned that?

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


pid leakage in LilyPond

2010-02-01 Thread Patrick Karl
I have noticed a resource problem in LilyPond, namely invocation of  
the Compile/Typeset file command in interactive mode always  
consumes one more pid.  When I enter music, I incrementally compile  
it as I go.  I do my work on a Mac running OS 10.4.  There are a  
fixed number of pids available for all the programs running on the  
Mac.  This means that as I continue to incrementally compile in  
LilyPond, the number of available pids grows less, eventually running  
out.


If LilyPond were a C program, this behavior could be caused by  
executing an exec call to generate a child process but not later  
waiting for the child to complete.  This means that when the child  
process does complete, it becomes what is called a zombie or defunct  
pid.  I suspect something similar is happening in LilyPond.



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


Fwd: pid leakage in LilyPond

2010-02-01 Thread Patrick Karl
I sent this response earlier to James Lowe privately for unknown  
reasons.  It illustrates more completely what I'm talking about.


A little more looking around on my Mac shows:


sully:/etc pat$ sysctl -a | grep proc
kern.maxproc = 532
kern.maxfilesperproc = 10240
kern.maxprocperuid = 100
kern.aioprocmax = 16
kern.proc_low_pri_io = 0


kern.maxproc sizes a kernel table which has an entry for each process  
in the system.  So on my system, there can never be more than 532  
processes at any one time.  Sure, the pid's can increase as process  
come and go (probably to an upper limit of 32767), but this process  
table doesn't grow.


It looks like a more restrictive limit is kern.maxprocperuid, which  
is 100 on my system.  That means that no user can ever have more  
than 100 processes at any one time.


Other systems can have different values for these parameters.

Note that running lilypond from the command line in a terminal does  
not incur this problem, as I suspect there is ordinarily only one  
Compile/Typeset activity per execution, so only one zombie process  
per execution.  And zombies are released when the parent exits.


Also note, therefore, that periodically exiting out of LilyPond is a  
workaround, as all zombie children of an exiting process are killed.


Begin forwarded message:

On Feb 1, 2010, at 2:35 PM, James Lowe wrote:



Patrick,

Excuse my ignorance but what is 'interactive mode' in this context?



I mean what you do, as opposed to running in batch mode by entering  
a lilypond command in a terminal window.




I use Mac OS X 10.5.8 with Lilypond 2.13.10 and the inbuilt  
Lilypond editor, and I cmd-s, cmd-r my way through a piece from  
scratch so that can be hundreds of these commands run concurrently  
in one session. I checked in Activity Monitor and I only ever get 2  
PIDs as far as I can tell, one for the app itself and one when I  
hit cmd-r and while it is compiling. I don't see any state PIDs in  
Activity monitor nor in terminal running ps.




I use Mac OS X 10.4.11 with Lilypond 2.12.2.  I'm pretty sure that  
Activity Monitor doesn't show all processes, even when All  
Processes is selected.  So I'll demonstrate what I'm talking about  
with the output of the ps command executed in a terminal window.


* I click on the LilyPond icon in dock and rename the starter file as  
scale_in_lilypond using File/Save As.


* Now I want to find the pid of LilyPond:


sully:/ pat$ ps -alx | head -1; ps -alx | grep LilyPond
  UID   PID  PPID CPU PRI NI  VSZRSS WCHAN  STAT  TT
TIME COMMAND
  501  980075   0  46  0   160364  12468 -  S ?? 
0:01.91 /Applications/LilyPond.app/Contents
  501  9805  9292   0  31  027812360 -  U+p1 
0:00.00 grep LilyPond




So its pid is 9800.  Now I want so see its subordinate processes:



sully:/ pat$ ps -alx | grep 9800
  501  980075   0  46  0   160364  12468 -  S ?? 
0:01.91 /Applications/LilyPond.app/Contents
  501  9807  9292   0  31  018052244 -  S+p1 
0:00.01 grep 9800




So it has no subordinate processes initially; note that the presence  
of the grep pid is a red herring here and should be ignored.


Now I go to the LilyPond window and do cmd-s followed by cmd-r.   
After the typesetting is complete (as shown by the busy indicator in  
the LilyPond log window quitting its activity), I repeat the above ps/ 
grep to see LilyPond's subordinate processes:




sully:/ pat$ ps -alx | grep 9800
  501  980075   0  46  0   186344  17164 -  S ?? 
0:03.87 /Applications/LilyPond.app/Contents
  501  9813  9800   0   0  00  0 -  Z ?? 
0:00.00 (open)
  501  9816  9292   0  31  018052244 -  S+p1 
0:00.01 grep 9800




Note the new process, pid 9813 owned by pid 9800.  Also note that the  
10th field of that line is a Z, which indicates a zombie process  
(this info is available in the man page for ps).  This process is not  
shown in the Activity Monitor window, even though the Show value is  
All Processes.


Now I go back to LilyPond and do cmd-r three more times:

sully:/ pat$ ps -alx | grep 9800
  501  980075   0  46  0   186332  17208 -  S ?? 
0:04.57 /Applications/LilyPond.app/Contents
  501  9813  9800   0   0  00  0 -  Z ?? 
0:00.00 (open)
  501  9828  9800   0   0  00  0 -  Z ?? 
0:00.00 (open)
  501  9832  9800   0   0  00  0 -  Z ?? 
0:00.00 (open)
  501  9836  9800   0   0  00  0 -  Z ?? 
0:00.00 (open)
  501  9838  9292   0  31  018052244 -  S+p1 
0:00.01 grep 9800


So there you have it, a zombie pid for each cmd-r.

Of course this problem might have been fixed in LilyPond 2.13.

Regards,
Pat










James


-Original Message-
From: lilypond-user-bounces+james.lowe=datacore@gnu.org on  
behalf of Patrick Karl

Sent: Mon 01/02/2010 20:27
To: lilypond

Leading grace note in alternative ending

2010-01-24 Thread Patrick Karl

The following input results in two problems:

  *  The following message appears in the log file:

warning: already have a volta spanner, ending that one prematurely

I have no idea what that means, nor where to go to find out.

  *  The output pdf file is flawed.  Each alternative ending is  
duplicated, with the grace note being placed into the first of the  
duplications.


Note:  The problem disappears if I eliminate the T music and staff,  
or if I add a corresponding grace note to the rests in the  
alternative endings for the T music, or if the grace note is not  
the initial note in the alternative endings.


\version 2.12.2

A = \relative c'' {
\repeat volta 2 {
f1
}
\alternative {
{ \grace f8  g1 }
{ \grace f,8 g1 }
}
}

T = \relative c'' {
\repeat volta 2 {
R1
}
\alternative {
{ R1 }
{ R1 }
}
}

\score {
\new ChoirStaff 
\new Staff { \A }
\new Staff { \T }

\layout{ }
}

I am attaching the pdf output.


Variatio_25R_dbg6.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Missing graphic files

2010-01-20 Thread Patrick Karl
Sorry for the top posting.  I managed to trick myself into submitting  
this item to lilypond-user@gnu.org, and it already had a Subject  
beginning with Re:.  Perhaps that explains the complete lack of  
response to my submission.  Perhaps not.


In any case, I would like to suggest that there are only two  
reasonable responses to my request:


  *  resurrect the missing graphic files
  *  delete the Guide for the Absolute Beginner

As noted in my original submission, I am willing to regenerate the  
missing graphic files, but someone else with the proper knowledge and  
authority would have to place them in the proper place.


I am curious how the missing graphic files came to be missing without  
the concomitant deletion of the Guide.




On Jan 17, 2010, at 8:57 PM, Patrick Karl wrote:



On Jan 16, 2010, at 5:18 PM, John Mandereau wrote:


Hi Patrick,
Le samedi 16 janvier 2010 à 16:47 -0600, Patrick Karl a écrit :
I am a relative newcomer to LilyPond.  I happened upon the Guide  
for

the Absolute Beginner at http://wiki.lilynet.net/index.php/
Guide_for_the_Absolute_Beginner.  While it appears to be quite a  
nice
introduction to LilyPond, it turns out that all of the graphic  
images

(I haven't actually verified that they are _all_ missing, but I
haven't found any that are present) are missing.

Is it possible to resurrect these graphics?  Without them, the Guide
is mainly just frustrating.


It's possible to resurrect these graphics by calling LilyPond on the
source snippets that should still be present in that Guide, but  
I'm so
buried under a ton of other LilyPond-related work that I can't do  
this

myself.  If you think that Guide is worthwhile besides what already
exists -- especially check out the section Introduction of  
lilypond.org

future website and the tutorial this Introduction guides to (the
tutorial are two first chapters of the Leraning Manual), then please
send your request for resurrecting graphics on that wiki page to
LilyPond users list lilypond-u...@gnu.org.


I would be willing to regenerate all of the missing graphics if  
someone would be able to put them in the proper place.


Why do you think they disappeared?

Regards,
Patrick




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


Re: Missing graphic files

2010-01-17 Thread Patrick Karl


On Jan 16, 2010, at 5:18 PM, John Mandereau wrote:


Hi Patrick,
Le samedi 16 janvier 2010 à 16:47 -0600, Patrick Karl a écrit :

I am a relative newcomer to LilyPond.  I happened upon the Guide for
the Absolute Beginner at http://wiki.lilynet.net/index.php/
Guide_for_the_Absolute_Beginner.  While it appears to be quite a nice
introduction to LilyPond, it turns out that all of the graphic images
(I haven't actually verified that they are _all_ missing, but I
haven't found any that are present) are missing.

Is it possible to resurrect these graphics?  Without them, the Guide
is mainly just frustrating.


It's possible to resurrect these graphics by calling LilyPond on the
source snippets that should still be present in that Guide, but I'm so
buried under a ton of other LilyPond-related work that I can't do this
myself.  If you think that Guide is worthwhile besides what already
exists -- especially check out the section Introduction of  
lilypond.org

future website and the tutorial this Introduction guides to (the
tutorial are two first chapters of the Leraning Manual), then please
send your request for resurrecting graphics on that wiki page to
LilyPond users list lilypond-u...@gnu.org.


I would be willing to regenerate all of the missing graphics if  
someone would be able to put them in the proper place.


Why do you think they disappeared?

Regards,
Patrick

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