Re: two voices system - one "Pause" R1 on the b line?

2018-09-09 Thread Engraver




Op 9 september 2018 14:08:29 schreef Bernhard Kleine :

Thank you Phil

I now managed this with

\override MultiMeasureRest.staff-position = #0 from the Documentation
for one voice. The other voice gets s1.

Bernhard

An alternative would be to use the merge-rests-engraver. That way you can 
type rests per voice as they are, and the engraver merges them if they 
happen to be the same length. Very neat.


Regards,
Auke



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


How to display a rim shot

2018-09-09 Thread OTIS DOSS III
Hi


I'm a newbie to the lilypond-user list (so please go easy on me :) .  I've been 
using LilyPond for several years now to create drum transcriptions.  I 
absolutely love it!!  (A job well done to all of the developers.)  


As my subject indicates, I want to display a rim shot, which is typically 
indicated by a note with a diagonal slash:



I've searched the documentation, but I can't find out how to do this.  Can this 
been done?  And how?  Thanks times infinity in advance for any help.


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


Re: Keeping text with a score in a \book

2018-09-09 Thread David Wright
On Sun 09 Sep 2018 at 09:13:17 (-0400), Ralph Palmer wrote:

> I have lines of text (copyright and source information) that I'm putting
> below the tune (on the paper). The most reliable way I found to keep the
> text centered was to put it after the \score as a \markup. I'm putting one
> to four tunes on a page. The problem is that LilyPond sometimes wants to
> put the text for the last tune on one page at the top of the following
> page. The only way I've found to prevent that is to incllude \noPageBreak
> after each line of text. Is there a simpler and/or more reliable way to
> keep the text (\markup) with the tune?

My own method for dealing with this (Anglican chants with information
lines beneath) is to set each chant separately and crop the PDFs as
they are generated, building up a battery of PDF files.

Then I use lualatex to set the document which consists mainly of
\includegraphics{name-of-chant} commands interspersed with any
cross-reference/index/toc material you require.

I think it scales better than using LP to do all the page layout work
for a book, and it makes it easy to produce selections of chants for
particular occasions.

s/chant/tune/ in your case.

Cheers,
David.

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


Re: Keeping text with a score in a \book

2018-09-09 Thread Ralph Palmer
On Sun, Sep 9, 2018 at 9:24 AM Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Ralph,
>
>
> That being said, when I’m building a multi-score book in which some scores
> may end/begin mid-page, I explicitly use \bookpart to wrap chunks of scores
> that *do* begin and end at page breaks. Within the bookpart, I can then
> have finer control over inter-markup and inter-score spacing, page and
> system counts, etc. If you don’t mind adding \bookpart {} wrappers to your
> book, I highly recommend going that direction.
>
> Cheers,
> Kieren.


Thanks, Kieren. I have used \bookpart in the past. I'm not sure why I
decided not to this time. I seem to recall that when I tried it, it was
forcing a new page, and I never considered using multiple scores in a
\bookpart to keep the scores on a single page. I'll take another look.

All the best,

Ralph
-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: two voices system - one "Pause" R1 on the b line?

2018-09-09 Thread Craig Dabelstein
Thanks Bernhard and Phil, that helped me out too. Geez percussion parts are
a pain to write!

All the best,

Craig


On Sun, 9 Sep 2018 at 22:08, Bernhard Kleine 
wrote:

> Thank you Phil
>
> I now managed this with
>
> \override MultiMeasureRest.staff-position = #0 from the Documentation
> for one voice. The other voice gets s1.
>
> Bernhard
>
>
> Am 09.09.2018 um 13:39 schrieb Phil Holmes:
> > Two options.  Either use \oneVoice R1 \voiceOne or see Positioning
> > multi-measure rests at
> >
> http://lilypond.org/doc/v2.19/Documentation/notation/writing-rests#full-measure-rests
> >
> > --
> > Phil Holmes
> >
> >
> > - Original Message - From: "Bernhard Kleine"
> > 
> > To: "Lilypond-User Mailing List" 
> > Sent: Sunday, September 09, 2018 12:24 PM
> > Subject: two voices system - one "Pause" R1 on the b line?
> >
> >
> > Hi,
> >
> > when I write two different voices and have a "Pause" to both voices I
> > can use h4\rest (\language = deutsch) for one and s4 for the other.
> > However I do not know how to substitute an R1 i.e. a measure long pause.
> > Using R1 in one voice gives not a "Pause" on the h line but above for
> > the first voice and a second Pause way below using R1 in the second
> > voice. How does one write this that there is one pause R1 on the h line?
> >
> > Regards
> >
> > Bernhard
> >
>
> --
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kle...@gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schlüssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com *
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: landscape printing and viewing

2018-09-09 Thread Simon Albrecht

On 09.09.2018 23:13, David Kastrup wrote:

Kieren MacMillan  writes:

Hi Martin,

\paper {
  #(set-paper-size "a4" 'landscape)
}

If I’m not mistaken, the correct incantation is

\paper {
  #(set-paper-size "a4landscape")
}

That sets_only_  the papersize, not the orientation.  For the screen it
might be what you want.  Whether your printer driver is smart enough to
figure out what you want is a different question then.


It has to be, doesn’t it? #(set-paper-size "a4landscape" 'landscape) 
doesn’t help, because then it’s displayed wrong by both evince and 
PyQtPdfViewer (I don’t know its exact name, the one in Frescobaldi…). 
Can’t test printing right now.
Although: I get furious every time I feed an A4 page into a normal copy 
machine (at my university) the wrong way and the damn thing isn’t able 
to figure it out, but goes exactly with the orthogonal relation and 
creates a cropped print. This is 2018, man… and that’s still happening.


Best, Simon

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


Re: Spacing of titles and text in a \book

2018-09-09 Thread foxfanfare
Ralph Palmer wrote
> Greetings -
> 
> I've been using LilyPond for a long time now, and *really* like it. I
> transcribe and transpose classical music and fiddle tunes for myself and
> friends.
> 
> I'm running LilyPond 2.19.81 with Frescobaldi 3.0.0 under Linux/Ubuntu
> 18.04.1.
> 
> I'm putting together a collection of fiddle tunes, and I've run into a
> spacing problem. I've tried to make a MWE, but it's still sort of long.
> 
> I'm having difficulties with the spacing. The title of the Collection and
> the title of the first tune are closer than I like, and the distance
> between a line of text after a tune and the title of the next tune is
> close
> enough that it sometimes looks like the text goes with the following tune.
> Any suggestions for an easy, preferably \book -wide solution?
> 
> Thanks in advance for your help,
> 
> Ralph
> 
> -- 
> Ralph Palmer
> Brattleboro, VT
> USA

> palmer.r.violin@

> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Hi Ralph,

For your first problem, I'd suggest to play with (in the \paper block):
markup-system-spacing = #'((basic-distance . 20)
 (padding . 2)
 (stretchability . 10))



--
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: SustainPedal and outside-staff-priority

2018-09-09 Thread foxfanfare
Mark Stephen Mrotek wrote
> FoxFanFare,
> 
> Why not place the slut above the notes?
> To me that would be more conventional.
> 
> Mark

Actually, the exemple above was just for demonstration. The problem is in
another context:  pedal.JPG
  

You can look at the second pedal mark which look better inside the slur. I
did manage this by using the extra-offset property but I try to not use this
very often as it doesn't prevent for collusion. I wondered why in this case
my code wasn't working!




--
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: landscape printing and viewing

2018-09-09 Thread Martin Tarenskeen



On Sun, 9 Sep 2018, Kieren MacMillan wrote:


Hi Martin,


\paper {
 #(set-paper-size "a4" 'landscape)
}


If I’m not mistaken, the correct incantation is

\paper {
#(set-paper-size "a4landscape")
}

Hope that helps!


Thanks :-)

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


Re: Stem between note and rest?

2018-09-09 Thread David Kastrup
Noeck  writes:

> What happens here? What is this stem between the note and the rest?
>
> \new Staff <<
>   \relative { \voiceOne c'' d e f }
>   \relative { \voiceTwo e' f r2 }
>>>

Because LilyPond sees no reason why it should start a second Voice so
all of this happens in a single voice and \voiceTwo overrides \voiceOne
.

-- 
David Kastrup

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


Re: landscape printing and viewing

2018-09-09 Thread Martin Tarenskeen



On Sun, 9 Sep 2018, David Kastrup wrote:


Kieren MacMillan  writes:


Hi Martin,


\paper {
 #(set-paper-size "a4" 'landscape)
}


If I’m not mistaken, the correct incantation is

\paper {
 #(set-paper-size "a4landscape")
}


That sets _only_ the papersize, not the orientation.  For the screen it
might be what you want.  Whether your printer driver is smart enough to
figure out what you want is a different question then.


It seems my printerdriver is smart enough :-)

--

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


Re: landscape printing and viewing

2018-09-09 Thread Urs Liska



Am 09.09.2018 um 19:42 schrieb Kieren MacMillan:

Hi Martin,


\paper {
  #(set-paper-size "a4" 'landscape)
}

If I’m not mistaken, the correct incantation is

\paper {
  #(set-paper-size "a4landscape")
}


This has changed in 2.19.60, see 
https://github.com/wbsoft/frescobaldi/issues/768 (for some discussion 
and the support for it in Frescobaldi.


IIUC the point is that
  "a4" 'landscape
expresses: "paper format: a4", option: landscape (meaning: rotate the 
score to print a landscape format on a "regular" paper), while

  "a4landscape"
refers to "landscape" as a property of the paper itself.

When you print I don't think there's any difference, this surfaces only 
when displayed on screen.


HTH
Urs



Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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



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


Re: landscape printing and viewing

2018-09-09 Thread David Kastrup
Kieren MacMillan  writes:

> Hi Martin,
>
>> \paper {
>>  #(set-paper-size "a4" 'landscape)
>> }
>
> If I’m not mistaken, the correct incantation is
>
> \paper {
>  #(set-paper-size "a4landscape")
> }

That sets _only_ the papersize, not the orientation.  For the screen it
might be what you want.  Whether your printer driver is smart enough to
figure out what you want is a different question then.

-- 
David Kastrup

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


Re: SustainPedal and outside-staff-priority

2018-09-09 Thread David Kastrup
"Mark Stephen Mrotek"  writes:

>> Mark Stephen Mrotek
>> Sent: Sunday, September 09, 2018 7:45 AM
>> To: 'foxfanfare' ; lilypond-user@gnu.org
>> Subject: RE: SustainPedal and outside-staff-priority
>>
>> FoxFanFare,
>>
>> Why not place the slut above the notes?
>> To me that would be more conventional.
>
> Ooops,
> It should be "slur."

It didn't fail to be one.

-- 
David Kastrup

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


Re: Position of rests

2018-09-09 Thread Thomas Morley
2018-09-09 19:47 GMT+02:00 Kieren MacMillan :
> Hi Joram,
>
> How is your Scheme-fu?
> Maybe you can adapt one of the snippets that applies different tweaks (e.g., 
> color, shape) to notes of different duration.

Hi Joram,

a walk-through:

(1) Create code example:

{ r2 r1 }

(2) Initiate a most simple override

a) Try to go for the desired property directly, i.e. \override
Rest.staff-position = ...
b) Set it to a procedure, i.e. \override Rest.staff-position =
#(lambda (grob) ...)
Probably let the grob be displayed in terminal to ensure adressing the
correct one, i.e.:
{
  \override Rest.staff-position = #(lambda (grob) (display grob))
  r2 r1
}

(3) Get the duration
Here the 'duration-log will be enough, let it display to ensure corrrect coding

{
  \override Rest.staff-position =
  #(lambda (grob)
(let ((dur (ly:grob-property grob 'duration-log)))
(newline)
(display dur)))
  r2 r1
}

(4) Add a condition relying on the value of duration-log and provide
appropriate values for 'staff-position

{
\override Rest.staff-position =
#(lambda (grob)
  (let ((dur (ly:grob-property grob 'duration-log)))
(if (= 0 dur)
6
-6)))
r2 r1
}

Ofcours 6, -6 are not really appropriate values ...



HTH,
  Harm

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


Re: Stem between note and rest?

2018-09-09 Thread David Wright
On Sun 09 Sep 2018 at 19:23:29 (+0200), Noeck wrote:
> What happens here? What is this stem between the note and the rest?
> 
> \new Staff <<
>   \relative { \voiceOne c'' d e f }
>   \relative { \voiceTwo e' f r2 }
> >>

I thought Question One would be what is \voiceOne doing?

> It can be solved by initializing the voices explicitly.
> 
> \new Staff <<
>   \new Voice \relative { \voiceOne c'' d e f }
>   \new Voice \relative { \voiceTwo e' f r2 }
> >>

So now you're no longer trying to make a chord out of a note and a rest.
(li.ly:2:31: warning: cannot have note heads and rests together on a stem)

Cheers,
David.

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


RE: Position of rests

2018-09-09 Thread Mark Stephen Mrotek
Kieren,

Thank you for the caveat.
Since I set piano scores, I rarely transpose (well maybe when I type!)

Mark

-Original Message-
From: Kieren MacMillan [mailto:kieren_macmil...@sympatico.ca] 
Sent: Sunday, September 09, 2018 10:45 AM
To: Mark Stephen Mrotek 
Cc: Noeck ; Lilypond-User Mailing List 

Subject: Re: Position of rests

Hi Mark (and Joram),

> Consider using
> pitch duration\rest, e.g.
> b4\rest would place a quarter rest on "b."

If you do, remember that this doesn’t "survive" transposition:

\version "2.19.80"

restmusic = { g'4\rest }

{
  \restmusic
  \transpose c d \restmusic
  \transpose c e \restmusic
  \transpose c f  \restmusic
}

Cheers,
Kieren.



Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: landscape printing and viewing

2018-09-09 Thread David Wright
On Sun 09 Sep 2018 at 19:17:54 (+0200), Martin Tarenskeen wrote:
> I used someting like
> 
> \paper {
>   #(set-paper-size "a4" 'landscape)
> }
> 
> My score is turned 90 degrees and formatted for landscape printing.
> This is ok for printing but my viewer (Evince) doesn't turn the page
> for viewing on my laptop's screen . I have a nice tool named "pdfmod"
> that allows me to fix this and now the file looks good on paper and on
> on screen.
> 
> But shouldn't lilypond do this for me?
> 
> I'm using lilypond 2.19.82 on Linux Fedora 28.

AIUI:

LilyLib/Letter-landscape.ily :
\version "2.19.49" % 2017-06-14

%% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html
%% The paper itself is rotated to landscape.

\paper {
  #(set-paper-size "letterlandscape")
}

LilyLib/Letter-rotated.ily :
\version "2.19.49" % 2017-06-14

%% See http://lists.gnu.org/archive/html/lilypond-devel/2017-05/msg00017.html
%% The music is rotated to landscape, but the paper itself is still portrait.

\paper {
  #(set-paper-size "letter" 'landscape)
}

Cheers,
David.

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


Re: Position of rests

2018-09-09 Thread Kieren MacMillan
Hi Joram,

How is your Scheme-fu?
Maybe you can adapt one of the snippets that applies different tweaks (e.g., 
color, shape) to notes of different duration.

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


RE: Position of rests

2018-09-09 Thread Mark Stephen Mrotek
Joran,

Perhaps

\version "2.19.81"

\new Staff <<
  \new Voice \relative {
\voiceOne c''4 d
b'2\rest
r4 r
b2\rest
   
  }
  \new Voice \relative {
\voiceTwo e'4 f
\override Rest.staff-position = -6
r2
\revert Rest.staff-position
r4 r
\override Rest.staff-position = -6
r2
  }
>>

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Noeck
Sent: Sunday, September 09, 2018 10:28 AM
To: lilypond-user@gnu.org
Subject: Re: Position of rests

A MWE would be:

\new Staff <<
  \new Voice \relative {
\voiceOne c''4 d
\override Rest.staff-position = 6
r2
\revert Rest.staff-position
r4 r
\override Rest.staff-position = 6
r2
  }
  \new Voice \relative {
\voiceTwo e'4 f
\override Rest.staff-position = -6
r2
\revert Rest.staff-position
r4 r
\override Rest.staff-position = -6
r2
  }
>>

That's what I can do with overrides (or I could use \once) but if I want to
do the same thing again depending on the note value, I am stuck.

Best,
Joram

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


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


Re: Position of rests

2018-09-09 Thread Kieren MacMillan
Hi Mark (and Joram),

> Consider using
> pitch duration\rest, e.g.
> b4\rest would place a quarter rest on "b."

If you do, remember that this doesn’t "survive" transposition:

\version "2.19.80"

restmusic = { g'4\rest }

{
  \restmusic
  \transpose c d \restmusic
  \transpose c e \restmusic
  \transpose c f  \restmusic
}

Cheers,
Kieren.



Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: landscape printing and viewing

2018-09-09 Thread Kieren MacMillan
Hi Martin,

> \paper {
>  #(set-paper-size "a4" 'landscape)
> }

If I’m not mistaken, the correct incantation is

\paper {
 #(set-paper-size "a4landscape")
}

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


RE: Position of rests

2018-09-09 Thread Mark Stephen Mrotek
Joram

Consider using
pitch duration\rest, e.g.
b4\rest would place a quarter rest on "b."

Mark

-Original Message-
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Noeck
Sent: Sunday, September 09, 2018 9:30 AM
To: lilypond-user 
Subject: Position of rests

Hi,

I know I can set the position of individual rests by

\override Rest.staff-position = …

In a two-voice part, I want to change the staff-position of rests, but 
differently for half-note rests and full-note rests.

Is there a way to do that besides adding \overrides for each rest?

Cheers,
Joram


___
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


Stem between note and rest?

2018-09-09 Thread Noeck
What happens here? What is this stem between the note and the rest?

\new Staff <<
  \relative { \voiceOne c'' d e f }
  \relative { \voiceTwo e' f r2 }
>>

It can be solved by initializing the voices explicitly.

\new Staff <<
  \new Voice \relative { \voiceOne c'' d e f }
  \new Voice \relative { \voiceTwo e' f r2 }
>>

Cheers,
Joram

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


Re: Position of rests

2018-09-09 Thread Noeck
A MWE would be:

\new Staff <<
  \new Voice \relative {
\voiceOne c''4 d
\override Rest.staff-position = 6
r2
\revert Rest.staff-position
r4 r
\override Rest.staff-position = 6
r2
  }
  \new Voice \relative {
\voiceTwo e'4 f
\override Rest.staff-position = -6
r2
\revert Rest.staff-position
r4 r
\override Rest.staff-position = -6
r2
  }
>>

That's what I can do with overrides (or I could use \once) but if I want
to do the same thing again depending on the note value, I am stuck.

Best,
Joram

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


landscape printing and viewing

2018-09-09 Thread Martin Tarenskeen



Hi,

I used someting like

\paper {
  #(set-paper-size "a4" 'landscape)
}

My score is turned 90 degrees and formatted for landscape printing. This 
is ok for printing but my viewer (Evince) doesn't turn the page for 
viewing on my laptop's screen . I have a nice tool named "pdfmod" that 
allows me to fix this and now the file looks good on paper and on on 
screen.


But shouldn't lilypond do this for me?

I'm using lilypond 2.19.82 on Linux Fedora 28.

--

MT



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


Position of rests

2018-09-09 Thread Noeck
Hi,

I know I can set the position of individual rests by

\override Rest.staff-position = …

In a two-voice part, I want to change the staff-position of rests, but
differently for half-note rests and full-note rests.

Is there a way to do that besides adding \overrides for each rest?

Cheers,
Joram


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


RE: SustainPedal and outside-staff-priority

2018-09-09 Thread Mark Stephen Mrotek
Ooops,  
It should be "slur."
Sorry.

-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Mark Stephen Mrotek
Sent: Sunday, September 09, 2018 7:45 AM
To: 'foxfanfare' ; lilypond-user@gnu.org
Subject: RE: SustainPedal and outside-staff-priority

FoxFanFare,

Why not place the slut above the notes?
To me that would be more conventional.

Mark


-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
foxfanfare
Sent: Sunday, September 09, 2018 3:12 AM
To: lilypond-user@gnu.org
Subject: SustainPedal and outside-staff-priority

Hi all,

Could someone please tell me what's wrong in my code?

\version "2.19.81"

\new Staff
\relative c' {
 \override Staff.SustainPedal.outside-staff-priority = #5
  \shape #'((0 . 0)(0 . -5)(0 . -5)(0 . 0))Slur
  c_( d e f
  g\sustainOn a b c d e f g)\sustainOff
}

pedal1.JPG   

I want to place the first Pedal sign inside the slur but for some reason, I
can't achieve it. I tried also with SustainPedalLineSpanner and
avoid-slur...
The only thing working is when I change the staff-priority of the slur, but
then the sustainOff doesn't show properly, see:

\version "2.19.81"

\new Staff
\relative c' {
 \override Slur.outside-staff-priority = #3000
  \shape #'((0 . 0)(0 . -5)(0 . -5)(0 . 0))Slur
  c_( d e f
  g\sustainOn a b c d e f g)\sustainOff
}

pedal2.JPG   



--
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


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


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


RE: SustainPedal and outside-staff-priority

2018-09-09 Thread Mark Stephen Mrotek
FoxFanFare,

Why not place the slut above the notes?
To me that would be more conventional.

Mark


-Original Message-
From: lilypond-user
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
foxfanfare
Sent: Sunday, September 09, 2018 3:12 AM
To: lilypond-user@gnu.org
Subject: SustainPedal and outside-staff-priority

Hi all,

Could someone please tell me what's wrong in my code?

\version "2.19.81"

\new Staff
\relative c' {
 \override Staff.SustainPedal.outside-staff-priority = #5
  \shape #'((0 . 0)(0 . -5)(0 . -5)(0 . 0))Slur
  c_( d e f
  g\sustainOn a b c d e f g)\sustainOff
}

pedal1.JPG   

I want to place the first Pedal sign inside the slur but for some reason, I
can't achieve it. I tried also with SustainPedalLineSpanner and
avoid-slur...
The only thing working is when I change the staff-priority of the slur, but
then the sustainOff doesn't show properly, see:

\version "2.19.81"

\new Staff
\relative c' {
 \override Slur.outside-staff-priority = #3000
  \shape #'((0 . 0)(0 . -5)(0 . -5)(0 . 0))Slur
  c_( d e f
  g\sustainOn a b c d e f g)\sustainOff
}

pedal2.JPG   



--
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


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


Re: Keeping text with a score in a \book

2018-09-09 Thread Kieren MacMillan
Hi Ralph,

> I have lines of text (copyright and source information) that I'm putting 
> below the tune (on the paper). The most reliable way I found to keep the text 
> centered was to put it after the \score as a \markup.

I think that’s likely the best way.

> I'm putting one to four tunes on a page. The problem is that LilyPond 
> sometimes wants to put the text for the last tune on one page at the top of 
> the following page. The only way I've found to prevent that is to incllude 
> \noPageBreak after each line of text.

After every single line (as opposed to the entire markup)? I believe if you use 
the markup functions (e.g., justify, column, and their kin), Lilypond won’t 
split the chunk across a page break.

> Is there a simpler and/or more reliable way to keep the text (\markup) with 
> the tune?

I don’t know of one.

That being said, when I’m building a multi-score book in which some scores may 
end/begin mid-page, I explicitly use \bookpart to wrap chunks of scores that 
*do* begin and end at page breaks. Within the bookpart, I can then have finer 
control over inter-markup and inter-score spacing, page and system counts, etc. 
If you don’t mind adding \bookpart {} wrappers to your book, I highly recommend 
going that direction.

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Keeping text with a score in a \book

2018-09-09 Thread Ralph Palmer
Hi -

Ralph again. I have another difficulty with my collection. I don't think
they're related, so I'm using separate queries.

I'm running LilyPond 2.19.81 with Frescobaldi 3.0.0 under Linux/Ubuntu
18.04.1.

I have lines of text (copyright and source information) that I'm putting
below the tune (on the paper). The most reliable way I found to keep the
text centered was to put it after the \score as a \markup. I'm putting one
to four tunes on a page. The problem is that LilyPond sometimes wants to
put the text for the last tune on one page at the top of the following
page. The only way I've found to prevent that is to incllude \noPageBreak
after each line of text. Is there a simpler and/or more reliable way to
keep the text (\markup) with the tune?

I appreciate your time and help,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: changing the length (height? positions? endpoints?) of an arpeggio

2018-09-09 Thread Kieren MacMillan
Hi,

> this is for moving systems through a page.
> I was talking about moving the staves within a system.

Ah! Well maybe David N. (who generously added the extra-offsets option, at my 
request) might be able to do the same for alignment-distances. I’ve copied him 
on this response, just in case.

Cheers,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Spacing of titles and text in a \book

2018-09-09 Thread Kieren MacMillan
Hi Ralph,

> I'm having difficulties with the spacing. The title of the Collection and the 
> title of the first tune are closer than I like, and the distance between a 
> line of text after a tune and the title of the next tune is close enough that 
> it sometimes looks like the text goes with the following tune. Any 
> suggestions for an easy, preferably \book -wide solution?

Have you adjusted the markup-markup-spacing parameters?

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Spacing of titles and text in a \book

2018-09-09 Thread Ralph Palmer
Greetings -

I've been using LilyPond for a long time now, and *really* like it. I
transcribe and transpose classical music and fiddle tunes for myself and
friends.

I'm running LilyPond 2.19.81 with Frescobaldi 3.0.0 under Linux/Ubuntu
18.04.1.

I'm putting together a collection of fiddle tunes, and I've run into a
spacing problem. I've tried to make a MWE, but it's still sort of long.

I'm having difficulties with the spacing. The title of the Collection and
the title of the first tune are closer than I like, and the distance
between a line of text after a tune and the title of the next tune is close
enough that it sometimes looks like the text goes with the following tune.
Any suggestions for an easy, preferably \book -wide solution?

Thanks in advance for your help,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: changing the length (height? positions? endpoints?) of an arpeggio

2018-09-09 Thread foxfanfare
Kieren MacMillan wrote
> Do you know about extra-offsets in this context?

Yes, but this is for moving systems through a page. I was talking about
moving the staves within a system.
For instance:

<<
  \new PianoStaff 
  << 
\new Staff {
  \overrideProperty
Score.NonMusicalPaperColumn.line-break-system-details
  #'((alignment-distances . (12 26)))
  c1
}
\new Staff {
  c1
}
  >>
  \new Staff {
c1
  }
>>

In this context, if I only want to have more space for the last system (26),
I also have to tell LP the first value for the pianostaff (12). Also, those
are absolute values and not relative to their original points...



--
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: two voices system - one "Pause" R1 on the b line?

2018-09-09 Thread Bernhard Kleine
Thank you Phil

I now managed this with

\override MultiMeasureRest.staff-position = #0 from the Documentation
for one voice. The other voice gets s1.

Bernhard


Am 09.09.2018 um 13:39 schrieb Phil Holmes:
> Two options.  Either use \oneVoice R1 \voiceOne or see Positioning
> multi-measure rests at
> http://lilypond.org/doc/v2.19/Documentation/notation/writing-rests#full-measure-rests
>
> -- 
> Phil Holmes
>
>
> - Original Message - From: "Bernhard Kleine"
> 
> To: "Lilypond-User Mailing List" 
> Sent: Sunday, September 09, 2018 12:24 PM
> Subject: two voices system - one "Pause" R1 on the b line?
>
>
> Hi,
>
> when I write two different voices and have a "Pause" to both voices I
> can use h4\rest (\language = deutsch) for one and s4 for the other.
> However I do not know how to substitute an R1 i.e. a measure long pause.
> Using R1 in one voice gives not a "Pause" on the h line but above for
> the first voice and a second Pause way below using R1 in the second
> voice. How does one write this that there is one pause R1 on the h line?
>
> Regards
>
> Bernhard
>

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: changing the length (height? positions? endpoints?) of an arpeggio

2018-09-09 Thread Kieren MacMillan
Hi,

> Not totally related, but much the same problem for me with the
> alignment-distances from "\overrideProperty
> Score.NonMusicalPaperColumn.line-break-system-details". 
> We can only set an absolute number here, would it be possible to make it
> relative to the original number choosen by LP?

Do you know about extra-offsets in this context?

\version "2.19.80"

{
  c'1
  \break
  \once \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details
  #'((extra-offset . (12 . -2)))
  c'
  \break
  c'
}

NOTE: Negative Y values move the system UP, which is the opposite of the 
regular extra-offset behaviour.

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: two voices system - one "Pause" R1 on the b line?

2018-09-09 Thread Phil Holmes
Two options.  Either use \oneVoice R1 \voiceOne or see Positioning 
multi-measure rests at 
http://lilypond.org/doc/v2.19/Documentation/notation/writing-rests#full-measure-rests


--
Phil Holmes


- Original Message - 
From: "Bernhard Kleine" 

To: "Lilypond-User Mailing List" 
Sent: Sunday, September 09, 2018 12:24 PM
Subject: two voices system - one "Pause" R1 on the b line?


Hi,

when I write two different voices and have a "Pause" to both voices I
can use h4\rest (\language = deutsch) for one and s4 for the other.
However I do not know how to substitute an R1 i.e. a measure long pause.
Using R1 in one voice gives not a "Pause" on the h line but above for
the first voice and a second Pause way below using R1 in the second
voice. How does one write this that there is one pause R1 on the h line?

Regards

Bernhard

--
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09









___
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


two voices system - one "Pause" R1 on the b line?

2018-09-09 Thread Bernhard Kleine
Hi,

when I write two different voices and have a "Pause" to both voices I
can use h4\rest (\language = deutsch) for one and s4 for the other.
However I do not know how to substitute an R1 i.e. a measure long pause.
Using R1 in one voice gives not a "Pause" on the h line but above for
the first voice and a second Pause way below using R1 in the second
voice. How does one write this that there is one pause R1 on the h line?

Regards

Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


SustainPedal and outside-staff-priority

2018-09-09 Thread foxfanfare
Hi all,

Could someone please tell me what's wrong in my code?

\version "2.19.81"

\new Staff
\relative c' {
 \override Staff.SustainPedal.outside-staff-priority = #5
  \shape #'((0 . 0)(0 . -5)(0 . -5)(0 . 0))Slur
  c_( d e f 
  g\sustainOn a b c d e f g)\sustainOff
}

pedal1.JPG   

I want to place the first Pedal sign inside the slur but for some reason, I
can't achieve it. I tried also with SustainPedalLineSpanner and
avoid-slur...
The only thing working is when I change the staff-priority of the slur, but
then the sustainOff doesn't show properly, see:

\version "2.19.81"

\new Staff
\relative c' {
 \override Slur.outside-staff-priority = #3000
  \shape #'((0 . 0)(0 . -5)(0 . -5)(0 . 0))Slur
  c_( d e f 
  g\sustainOn a b c d e f g)\sustainOff
}

pedal2.JPG   



--
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


changing the length (height? positions? endpoints?) of an arpeggio

2018-09-09 Thread Noeck



Am 08.09.2018 um 22:36 schrieb Kieren MacMillan:
> \once \offset positions #'(0 . 1) PianoStaff.Arpeggio

Thanks Harm, that's what I wanted to suggest, but I couldn't find the
right syntax ("bad grob property path").

Cheers,
Joram

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


Re: changing the length (height? positions? endpoints?) of an arpeggio

2018-09-09 Thread foxfanfare
Torsten Hämmerle wrote
> Kieren MacMillan wrote
>> I’m trying to tweak the "length" of an arpeggio (by 1 staff space at the
>> top), and can’t seem to find the correct incantation or doc reference.
> 
> 
> Hi Kieren,
> 
> You can explicitly set an arpeggio's start/end positions by overriding the
> positions property.
> The internals reference is a bit misleading, as the standard property
> descriptions mentions left/right only.
> For an arpeggio, however, positions holds a pair of lower/upper position
> values.
> 
> It is calculated by the ly:arpeggio::calc_positions function, and this
> function can be used in a custom scheme function just subtracting a given
> amount from the lower value and adding the same amount to the upper value.
> A simple example, manipulating the "standard" positions by
> subtracting/adding correctional values (0 at the lower end, 1 at the upper
> end, as requested by you):
> 
> 
> %%%  MWE begins
> \version "2.19.80"
> 
> #(define (widen-arp grob)
>(let* ((pos (ly:arpeggio::calc-positions grob))
>   (lower-corr 0.0)
>   (upper-corr 1.0))
> (cons (- (car pos) lower-corr) (+ (cdr pos) upper-corr
> 
> {
>   \override Arpeggio.positions = #widen-arp
>   1\arpeggio
> }
> %%%  MWE ends
> 
> HTH,
> Torsten
> 
> 
> 
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Thanks Torsten!
I was looking for something like this but thought it was impossible to
extend the arpeggio size.
So I was using the staff-positions everywere as I find the LP arpeggio
default too close to the notehead.
Your solution will spare me a lot of time!

Not totally related, but much the same problem for me with the
alignment-distances from "\overrideProperty
Score.NonMusicalPaperColumn.line-break-system-details". 
We can only set an absolute number here, would it be possible to make it
relative to the original number choosen by LP?



--
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: Frescobaldi testing requested

2018-09-09 Thread Partitura Organum




On 9-9-2018 08:58, Urs Liska wrote:


I found the problem, a pretty stupid programming error. It *had* 
worked at some point so I didn't always check again all options ...


It should be fixed now on the main dev/urs/refactor-job branch.


Indeed, works as expected now.



If you find further issues please report them at 
https://github.com/wbsoft/frescobaldi/pull/1100 instead of this list, 
it's more reliable when all the discussion takes place in one place.




Will do.



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


Re: Frescobaldi testing requested

2018-09-09 Thread Urs Liska




Am 08.09.2018 um 09:59 schrieb Partitura Organum:




On 7-9-2018 09:48, Urs Liska wrote:


Please pull and checkout the branch 
dev/urs/refactor-job-test-windows. This includes two test prints on 
the command line to check what code is actually reached and the 
value(s) of some variables.

Is anything printed with that when you use Engrave (custom)?

Urs


Before I could test the new branche, somehow Ctrl-Shift-M suddenly did 
work. Seemingly.

I then noticed Frescobaldi produces a PDF, irrespective of what is asked.

...



I found the problem, a pretty stupid programming error. It *had* worked 
at some point so I didn't always check again all options ...


It should be fixed now on the main dev/urs/refactor-job branch.

If you find further issues please report them at 
https://github.com/wbsoft/frescobaldi/pull/1100 instead of this list, 
it's more reliable when all the discussion takes place in one place.


Urs



Auke




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