Re: Producing Lilypond output from keyboard input

2019-12-30 Thread ptoye
Vaughan McAlley wrote
> Hi Peter,
> 
> A couple of years ago I wrote LilyQuick:
> https://github.com/palestrina/lily-q
> https://youtu.be/eh8mgF1CNAo
> 
> Something broke (everything freezes) when I upgraded to Debian 10, which
> was quite annoying. Whatever I did to fix it on my current machine works
> OK
> now. I need to push the update, if it's not going to ruin it for everyone
> else. But it's good, and my Lilypond music entry is accurate and quick.
> 
> Vaughan
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user

Sorry for the overlong delay - got sidetracked. Unfortunately I am Windows
based, so LilyQuick probably isn't the answer.




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



Re: Piano duet with facing pages

2018-08-30 Thread ptoye
I've tried Hwaen's solution and it works. I don't really need all to use PDF
tools as it's only a small score and I don't have a duplex printer anyway,
so can sort the pages by hand.

Thanks all for the help.



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

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


Re: Vertical alignent in dynamics staff

2018-08-30 Thread ptoye
I seem to have solved it by tweaking the Y-offset. But it's a bit odd: if I
change the offset by 0.0 it moves the text position up - I'd have thought it
should be unchanged. Also, it doesn't matter if I use ^ or _ to position the
text if I tweak the offset.

Now, if only the internals manual gave the unit used by Y-offset it would
save experimentation.

\version "2.19.52"

\language "english"

\score {
 \new PianoStaff <<
   \new Staff {
\clef "treble"
c''2 2
   }
   \new Dynamics {
s2\p  \override TextScript.Y-offset = #-0.6  s2_\markup {\italic "meno "
\dynamic p}
   }
   \new Staff {
 \clef "bass"
 c2 2
   }
 >>
}



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

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


Re: Pages numbering for piano 4 hands

2018-08-30 Thread ptoye
There's a thread at
http://lilypond.1069038.n5.nabble.com/4-hands-piano-pieces-book-td190450.html#a190482
which might help.



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

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


Re: Vertical alignent in dynamics staff

2018-08-30 Thread ptoye
As well as dynamics the dynamics staff also contains other indications such
as "marcato" "staccato" etc. I suppose I could define them as dynamics, but
it seems a bit silly!

Is there a reason that the vertical alignment of text isn't the same as that
for dynamics?



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

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


Re: tremolo

2018-05-17 Thread ptoye
You might also be interested in the thread at
http://lilypond.1069038.n5.nabble.com/Fermatas-with-tremolos-td210054.html

I see that your example had fermata signs over both notes. I personally
prefer having a single fermata sign over the centre of the tremolo.

All the best,

Peter



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

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


Re: Merging half-note chord into a quarter-note chord

2018-04-12 Thread ptoye
Hi Knute, 

Ah well, another variant! I'm not a Chopin scholar but the different
editions can be a nightmare. It's interesting that yours and mine both claim
to be "first". Good luck in sorting them out.

But my comment to Andrew still holds - use the pedal to hold onto the low C
for the first crotchet, and then change it to play the E and lose the C.

Peter


Knute Snortum wrote
> I'm using CFEO (Chopin's First Editions Online)
> 
> http://www.chopinonline.ac.uk/cfeo/browse/pageview/73671/
> 
> This matches (nearly) my Schirmer's Edition.
> 
> ---
> Knute Snortum
> (via Gmail)





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

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


Re: Merging half-note chord into a quarter-note chord

2018-04-12 Thread ptoye
Hi Andrew, 

I don't think it's odd notation as the G and B flat would be held by the
fingers while the C and F are lost by the pedal change after the first
crotchet. The A is a quaver to get your hand out of the way of the right
hand figurations.

But I'm not sure that this is what Chopin actually wrote. The 1st edition on
petrucci.mus.auth.gr/imglnks/usimg/9/95/IMSLP85374-PMLP02344-Chopin_Op_28_Breitkopf_6088_first.pdf
doesn't have the F in that stave (see screenshot below). This comment
doesn't help for the C of course. What edition are you using, Knute?


 

Peter

Andrew Bernard wrote
> Odd music. Looks like the pedal is held down, which means the crotchets
> are
> going to sound as long as the minims, unless I am missing something. What
> is the work in question? Do you need to preserve this odd notation?
> 
> Andrew





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

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


Re: Fermatas with tremolos

2018-02-21 Thread ptoye
Harm, that's great. How about adding it to the snippets repository?



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

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


Re: More than one tempo mark in a score

2018-02-14 Thread ptoye
Simon Albrecht-2 wrote
> Of course it’s possible, and a very common thing to do e.g. in 
> orchestral scores. See ;.

I've compared your solution with Hwaen Ch'uqi's and they give slightly
different results on the page. As you sent it, the tempo and mark
indications are raised too far above the stave  - by adjusting the
staff-staff spacing I've mended that. But the Largo metronome mark is too
far to the right as it seems to be aligned to the first silent note rather
than the clef or time signature. When the music changes tempo without
anything else, as in the Presto it's in the right place. So you now have to
override the X-offset by a variable amount depending on exactly what is in
the lower stave at that point, which will give difficulties if there's a
line break as well. Compare these, where the vertical placement of your
extra staff has been adjusted.

 

 

And here I've done a global override of the X-offset, and now the Presto is
too far to the left.
 

So there doesn't seem to be a simple solution to the issue which is
aesthetically pleasing.

All the best,

Peter



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

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


Re: More than one tempo mark in a score

2018-02-14 Thread ptoye
Martin Neubauer wrote
> On 12/02/2018 16:42, Peter Toye wrote:
> 
> Although developing lilypond itself on a windows machine might indeed be
> challenging, all the programming capabilities you'd need in your scores
> should just work anywhere lp runs. And even if you don't intend to write
> engravers or other somewhat complex functions from scratch yourself, a
> basic understanding of Scheme will certainly be helpful in the long run.
> You most certainly will come across solutions (in the LSR or elsewhere)
> that are almost right for the challenges you are faced with, but can be
> easily adapted to fit your needs. As these adjustments often don't
> require lots of skill, even a small learning effort can go a long way.
> And maybe curiosity will get the better of you...
> 
> All the best,
> Martin

Fair enough, but my brain takes things up rather slower than it did when I
was learning computing (which included LISP) in the 1960s. Curiosity, yes,
but I find the Internals Reference manual rather heavy going. With all the
cross-references, you really need either a book (expensive to print it out!)
which you can mark up or a way of displaying 3 or 4 pages at once on a
terminal.




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

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


Re: Placement of clefs at repeat bars

2018-02-03 Thread ptoye
I've found that this is was reported as an "ugly" in 2011. I think it's a bug
as the output is definitely incorrect.

The reverse happens with the snippet below, where the change of clef is
missing.

\version "2.19.52"
\language "english"
\score {
 \new Staff {
  \time 4/4
  \clef "treble"
  c''2 c''

  \repeat volta 2 {
   c'' c'' | \clef "bass" c  c
  }
   c c
 }

}





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

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


Re: Slow compilation

2018-02-01 Thread ptoye
I get security upgrades still. At least I did last month. Security support
ends 2020. (April I think).

Why not the latest Lilypond? Because I'm doing a quick job and that was the
latest version when I had time to upgrade.



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

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


Re: Slow compilation

2018-02-01 Thread ptoye
Thanks Ben, that did the trick!



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

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


Re: Laisser vibrer over silent bar

2017-10-09 Thread ptoye
OK Ben, here's very hurriedly scan of the offending bar. You'll probably have
to view it at a distance as the pixels are a bit too visible. Score1.pdf
  



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

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


Laisser vibrer over silent bar

2017-10-09 Thread ptoye
I'm trying to engrave a piece whose penultimate bar has a l.v. note at the
end, and a slur which extends over the last, otherwise silent, bar. I can't
see any way of getting LP to extend the slur - it finishes at the end of its
bar. I've got round it by putting invisible notes in the last bar and
slurring over them, but this puts the beginning of the slur above the
articulation mark rather than attached to the note. (I don't understand how
the composer wants l.v. with a staccato, but that's what he wrote!)

Anyone got any ideas how to get what I want?


\version "2.19.52"

\language "english"

\score
{
 {
   r2  e''4-.\>(  gs''-.)(  |
   \hide NoteHead \hide Stem \hide Accidental gs'' gs'' gs'' gs'')\! \bar
"|."
 }
}


Regards,

Peter




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

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


Re: Bar counts and repeats in repetitive music

2017-02-16 Thread ptoye
Thanks for your comments Jeffery.

Here's some of the music I'm trying to set. I'm not worried about the full
score aspect, just the piano part. As you can see, it doesn't indicate how
many repetitions there should be, and the bar numbers don't increment
correctly. 

This is just a one-bar repetition, so my third comment isn't relevant. 

I've been using currentBarNumber so your typo wasn't a problem.

\version "2.19.52"

\language "english"

rhPatternA =
{
  \relative
  {
f,16 f r af af r ef ef r c ef c ef bf' af ef |
  }
}

rhPatternB =
{
  \relative {
bf,16-> bf af bf-> r4 r2 |
  }
}
lhPatternA =
{ \relative
  {
f,,16 f r af af r ef ef r c ef c ef bf' af ef |
  }

}
lhPatternB =
{
  \relative {
bf,,16-> bf af bf-> r4 r2 |
  }

}
\score {
  
  \new Staff {
\tempo 4 = 108
\clef "bass"
\time 4/4
\key f \minor
\repeat volta 4 {\rhPatternA } |
\repeat volta 16 { \rhPatternA }
\repeat volta 4 {\rhPatternB }
\repeat volta 2 {\rhPatternA }
  }
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bar-counts-and-repeats-in-repetitive-music-tp199814p200204.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Bar counts and repeats in repetitive music

2017-02-16 Thread ptoye
What - no-one? Am I the only one playing minimalist music round here?


ptoye wrote
> I'm trying to engrave a highly repetitive piano part using repeats as much
> as possible to save page-turns, but I need to display the bar numbers as
> if the repeats were written out (other parts don't repeat). It seems to me
> that this raises three issues, to none of which have I found a solution in
> the manuals.
> 
> 1) Notating the number of repeats automatically . One can do a markup of
> "3×" on the repeat bar, so it's not a major problem, but Lilypond doesn't
> seem to do this automatically, which is a bit of a shame.
> 
> 2) Adjusting the bar count to take the repeated bars into account. For
> example, if an 8-bar phrase is repeated 4 times, the bar count after the
> end of the section is 33, rather than 9. Again, this can be done by
> setting the bar number, but it would be useful to have a computer do the
> arithmetic.
> 
> 3) Displaying the multiple bar numbers. In the above example, displaying
> something like "1-9-17-25". Without this, rehearsals will be a bit
> fraught!
>  
> Any help gratefully received,
> 
> Peter
> mailto:

> lilypond@

> www.ptoye.com
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bar-counts-and-repeats-in-repetitive-music-tp199814p200190.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Cannot use \layout in a variable

2017-01-11 Thread ptoye
Thanks all for putting me right. I have to say that the documentation is very
confusing as to the syntax. From the Learning manual:

which implies that the brackets are needed, but it's followed by:

and later by:

which don't have the brackets. 

How does the parser know when the variable definition has finished if it can
be on multiple lines?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Cannot-use-layout-in-a-variable-tp199054p199076.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Cannot use \layout in a variable

2017-01-11 Thread ptoye
Thanks, but in this case I'm more interested in why what I wrote doesn't
work.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Cannot-use-layout-in-a-variable-tp199054p199073.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Is there a short way of forcing a particular octave?

2016-12-23 Thread ptoye
David Wright wrote
> The whole point about the way that chords work is that:
> Within the chord, \relative is local to the chord,
> Between chords (and solitary notes), \relative controls the top notes.

Not exactly, I think. In a chord \relative controls the first note as typed.
That's only the top note if you enter chords from the top down. I usually do
it the other way - bottom up.

I really didn't mean to start a theological discussion about how one should
type in music, but obviously some people feel much stronger about it than I
do. There are three ways of telling LilyPond what the pitch of a particular
note should be, and it/'s up to the user to try them out and decide which
one suits him and the particular piece best. For me, it's mostly \relative,
but the melodies usually don't move by much. If I were Webern, it would
be\absolute.

Peter



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Is-there-a-short-way-of-forcing-a-particular-octave-tp198225p198397.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Any idea what this error message means?

2016-12-20 Thread ptoye
David Wright wrote
> At first glance, it looks as if the problem might be caused by the
> last line of lilypond/usr/bin/ps2pdfwr which looks like:
> 
> exec "$GS_EXECUTABLE" $OPTIONS -q -P- -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
> -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f
> "$infile"
> 
> What does the Windows version have here?

David, it's the same. This is from my Windows installation.

exec "$GS_EXECUTABLE" $OPTIONS -q -P- -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f
"$infile"

It's no longer an issue as I won't use spaces in file names again.

Peter




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Any-idea-what-this-error-message-means-tp198048p198213.html
Sent from the User mailing list archive at Nabble.com.

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