Ugly slur with large leap - help?

2016-12-23 Thread Shevek
I have a passage similar to the following:

\version "2.18"
\language "english"

\relative c''' {
  \grace { f8( } c,8 b c2.)
}

In context, the automatic slur ends up looking very disconnected from the
grace note, and in some instances colliding with a downward stem. Is this a
bug? Is there a way to improve how it looks without manually tweaking each
slur? This figure appears a lot throughout the piece.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ugly-slur-with-large-leap-help-tp198395.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 Shevek
I compose in \relative mode, and my practice is to use \resetRelativeOctave
at the beginning of every new phrase. It is a lot of characters to type, but
I've found that creating unnecessary aliases makes code harder to read and
libraries harder to maintain.

I even use \resetRelativeOctave at the beginning of a \relative block, just
for consistency. It is much easier to deal with \relative mode when you only
have to look to the line directly above the music to see the octave setting,
rather than the beginning of a code block.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Is-there-a-short-way-of-forcing-a-particular-octave-tp198225p198396.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: Is there a short way of forcing a particular octave?

2016-12-23 Thread Gianmaria Lari
On 23 December 2016 at 09:59, Shevek  wrote:

> I compose in \relative mode, and my practice is to use \resetRelativeOctave
> at the beginning of every new phrase. It is a lot of characters to type,
> but
> I've found that creating unnecessary aliases makes code harder to read and
> libraries harder to maintain.
>
> I even use \resetRelativeOctave at the beginning of a \relative block, just
> for consistency. It is much easier to deal with \relative mode when you
> only
> have to look to the line directly above the music to see the octave
> setting,
> rather than the beginning of a code block.
>

This is how I would write if I would use the \relative mode. I tried it a
bit but then I opted for the absolute before becoming proficient.

Regarding the alias: I understand, I also try to avoid personnalisation
when not strictly necessary. An alternative could be using the alias during
the data entry and make a replace at the end.
___
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 Gianmaria Lari
On 23 December 2016 at 10:39, ptoye  wrote:

> [...] 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.
>

There is a price to pay for having many different possibility to do
something. A major complexity in writing Lilypond software (but we could
say that this is not our problem :)) but also a major complexity in
managing/reading the lilypond score source files. So I think it is always
correct to think before adding something you can already do in another way.

I agree that in this case probably it makes sense having both.

Another thing, as Kieren mentioned, is what the documentation should
promote: absolute or relative? I don't know.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ugly slur with large leap - help?

2016-12-23 Thread bobr...@centrum.is
How's this?

\version "2.18"
\language "english"

\relative c''' {
  \grace { f8^( } c,8 b c2.) % added '^' to flip the slur
}

- Original Message -
> From: "Shevek" 
> To: "Lillypond Users Mailing List" 
> Sent: Friday, December 23, 2016 8:47:13 AM
> Subject: Ugly slur with large leap - help?

> I have a passage similar to the following:
> 
> \version "2.18"
> \language "english"
> 
> \relative c''' {
>  \grace { f8( } c,8 b c2.)
> }
> 
> In context, the automatic slur ends up looking very disconnected from the
> grace note, and in some instances colliding with a downward stem. Is this a
> bug? Is there a way to improve how it looks without manually tweaking each
> slur? This figure appears a lot throughout the piece.
> 
> 
> 
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Ugly-slur-with-large-leap-help-tp198395.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

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


Re: Ugly slur with large leap - help?

2016-12-23 Thread Shevek
Flipping the slur avoids the worst problems, but it's not really correct.
Ideally, it should bend dramatically underneath the stem then upwards
towards the grace note.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ugly-slur-with-large-leap-help-tp198395p198401.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: Ugly slur with large leap - help?

2016-12-23 Thread bobr...@centrum.is
See:

http://lilypond.org/doc/v2.18/Documentation/notation-big-page#modifying-ties-and-slurs



- Original Message -
> From: "Shevek" 
> To: "Lillypond Users Mailing List" 
> Sent: Friday, December 23, 2016 10:18:12 AM
> Subject: Re: Ugly slur with large leap - help?

> Flipping the slur avoids the worst problems, but it's not really correct.
> Ideally, it should bend dramatically underneath the stem then upwards
> towards the grace note.
> 
> 
> 
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Ugly-slur-with-large-leap-help-tp198395p198401.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

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


Re: Ugly slur with large leap - help?

2016-12-23 Thread Shevek
My question was specifically if there is a way to fix this behavior *without*
manually tweaking each slur. Or failing that, if this is a known bug.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ugly-slur-with-large-leap-help-tp198395p198403.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: Ugly slur with large leap - help?

2016-12-23 Thread Simon Albrecht

On 23.12.2016 11:29, Shevek wrote:

My question was specifically if there is a way to fix this behavior*without*
manually tweaking each slur. Or failing that, if this is a known bug.


It is known that the slur and tie and phrasing slur printing algorithms 
aren’t very good in difficult situations. We are hoping for somebody to 
come along and improve them… someone with programming skills and a _big_ 
deal of spare time…
You _might_ try overriding some of the subproperties of Slur.details, 
though I figure it will be difficult to find something appropriate.
Maybe try \shapeII from openlilylib as well, it’s much more comfortable 
to use, though in my experience sadly it messes with system/staff 
placement in a way that makes it unusable.


Best, Simon

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


Re: Ugly slur with large leap - help?

2016-12-23 Thread Urs Liska
Am 23.12.2016 um 11:49 schrieb Simon Albrecht:
> Maybe try \shapeII from openlilylib as well, it’s much more comfortable
> to use, though in my experience sadly it messes with system/staff
> placement in a way that makes it unusable.

Could you please elaborate a little bit on that, possible with examples?
It would be great to fix everything with \shapeII and finally bring that
functionality to LilyPond itself.

(While working on the multi-segment slurs I realized that the basic
calculations can now be done much simpler than what Janek did then, so
it might be worth *not* to add \shapeII to LilyPond but to extend the
already-present \shape function.

Urs

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


Re: Circled numbers for live electronics

2016-12-23 Thread Thomas Morley
2016-12-14 14:04 GMT+01:00 Gilberto Agostinho :
> SoundsFromSound wrote
>> Thank you for this very useful code! I can use this in my electro-acoustic
>> works for sure.
>
> I am glad to hear you found this useful! And because the function has a
> markup section, it should also be easily hackable depending on how you want
> your scores with live electronics to look like (e.g. some people prefer to
> use dashed lines instead of arrows for this sort of notation).
>
> By the way, I also added it to the LSR.



Hi Gilberto,

I had a look into your code here:
http://lsr.di.unimi.it/LSR/Item?u=1&id=1047
and now come up with the shortened version below.
What do you think?

\version "2.18.2"

LEtext = #(define-event-function
 (parser location N vlength description)
 (number? number? string?)
  #{
-\markup {
  \hspace #-1.2
  \center-column {
\raise #1
\combine
\arrow-head #Y #UP ##t
\draw-line #(cons 0 (- vlength))
\combine
\halign #0 \circle \transparent "888"
\halign #0 #(number->string N)
  }
  \raise #(+ -2 (- vlength)) $description
}
  #})

LE = #(define-event-function (parser location N vlength)(number? number?)
 #{ \LEtext $N $vlength "" #})

{
  \textLengthOn
  c'1\LE #1 #3
  g1\LE #2 #1.5
  c''1\LE #37 #4.4
  f'1\LE #123 #2
  c'1\LEtext #3 #8 "harmonizer"
  f1\LEtext #20 #6 "frozen reverb"
  c'1\LEtext #300 #3 "EQ -3.7 A +1.2"
}

Cheers,
  Harm

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


Re: Ugly slur with large leap - help?

2016-12-23 Thread Andrew Bernard
Hi All,

I just want to say that I make very heavy and extensive use of the \shapeII
function in openlilylib in my dense new complexity school scores and it
behaves perfectly. This is contrary to what Simon reports, so I am
mystified. I mention this so that the experience of Simon does not put you
off trying it out (there's no disrespect intended here Simon - I am sure
what you say is true, in the context in which you deploy this function.)

It's such a good and powerful function Simon - maybe we should look into
how it goes wrong for you at some time, and hopefully fix it.

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


Re: Circled numbers for live electronics

2016-12-23 Thread Gilberto Agostinho
Hi Thomas,


Thomas Morley-2 wrote
> I had a look into your code here:
> http://lsr.di.unimi.it/LSR/Item?u=1&id=1047
> and now come up with the shortened version below.
> What do you think?

Thanks a lot for the feedback, the shortened versions you posted are looking
very nice. It's quite clever to call \LEtext from \LE as you did, and the
use of a transparent string is better than all those conditionals of mine.
Thanks a lot!

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Circled-numbers-for-live-electronics-tp197953p198409.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


MultiMeasureRest symbol spacing

2016-12-23 Thread Jan-Peter Voigt

Hello list,

in my current scores I have to deal with a lot of MultiMeasureRests. I 
am facing the following layout-problem:


If there is one line filled with (for example) a three measure long 
mm-rest (and maybe one bar with a few cue-notes) the measure-symbol 
consisting of two or the rectangles is spreading quite widely:


%
\paper {
  ragged-last = ##f
}
{ \compressFullBarRests R1*3 }
%

(mmrest1.png)

But I would like to space it like in mmrest2.png, the default spacing.

I looked for an override, but didn't find one suitable.
Anybody knows how to deal with it?

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


Blog posts, call for

2016-12-23 Thread Urs Liska
Hi all,

I just scrolled through a few pages of the Scores of Beauty
(http://lilypondblog.org) site and find that - in addition to the facth
that the rate of posts has substantially dropped - my name appears just
too exclusively. This isn't "my" blog but the "semi-official LilyPond" blog.

So I strongly encourage anybody with at least some writing skills to
volunteer for one or more guest posts, and I can assure you it's a fun
and rewarding activity.

The range of possible topics is really broad and could include short
tutorials about a certain challenge you have just mastered with the help
of the community, general thoughts about music/notation software or
reports of your own activities. We would really love to have more posts
about projects done with LilyPond. These could go into some depth about
technical detail or just give an impression on how it was doing the
project with LilyPond and how musicians responded to it.
Or anything else I just didn't think of.

If you feel the urge or have anything to share please feel free to get
in touch with me.

Best wishes
Urs

-- 
Urs Liska
https://openlilylib.org
http://lilypondblog.org

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


Re: Overlapping Characters in markup

2016-12-23 Thread Br. Samuel Springuel

\combine works great.

While \translate works, and I can manipulate the offsets via trial and 
error, I'm stumped as to the units.  I found the documentation for the 
function (lilypond.org/doc/v2.18/Documentation/notation/align) and it's 
companion \translate-scaled, but some idea as to the units (for either 
function) would be useful for coordinating this faked character across 
the project.

--
✝
Br. Samuel, OSB
St. Anselm’s Abbey
Washington, DC
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ

___
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 David Wright
On Fri 23 Dec 2016 at 11:02:59 (+0100), Gianmaria Lari wrote:
> On 23 December 2016 at 10:39, ptoye  wrote:

> > Not exactly, I think. In a chord \relative controls the first note as typed.

Quite right, my mistake, late nights... s/top/first/ [saves me a post]

> > [...] 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.
> >
> 
> There is a price to pay for having many different possibility to do
> something. A major complexity in writing Lilypond software (but we could
> say that this is not our problem :)) but also a major complexity in
> managing/reading the lilypond score source files. So I think it is always
> correct to think before adding something you can already do in another way.
> 
> I agree that in this case probably it makes sense having both.

I guess you're not a fan of Tim Toady. (And I quit Perl to program in Python.)

> Another thing, as Kieren mentioned, is what the documentation should
> promote: absolute or relative? I don't know.

If we strictly followed the Zen of Python, then only \absolute would
exist. And I think it quite sensible to make the final archive copy of
score use \absolute throughout. But LP is not just an archival tool,
and for everyday use, \relative is invaluable. (\fixed may be also,
but I don't use it myself because I haven't found a need; no other
reason.)

As for promotion, I'd have no disagreement with putting forward
\absolute first in the LM. However, once that's done, there's not much
more to say about it. OTOH \relative needs a great deal of explanation
because it has more ways of interacting with other constructions.

Compare it with school maths. You spend a lot more time learning
division than multiplication, extracting roots than squaring,
integrating than differentiating. That's not because the teacher
is trying to promote one over the other.

Cheers,
David.

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


Change augmentation dot size

2016-12-23 Thread liang seng
Hi, my name is Seng and I am using Lilypond 2.18.2 on Windows 10.

I am using the Bravura font by adding the command:

\paper{
 #(define fonts
(set-global-fonts
#:music "profondo"
#:brace "profondo"
#:factor (/ staff-height pt 20) ))


My questions is, is there a way to change the size of augmentation dots to make 
it bigger or smaller?

The Bravura font augmentation dots' sizes are about identical to the staccato 
dot.


Thank you.

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


Re: MultiMeasureRest symbol spacing

2016-12-23 Thread David Nalesnik
Hi Jan-Peter,

On Fri, Dec 23, 2016 at 5:52 AM, Jan-Peter Voigt  wrote:
> Hello list,
>
> in my current scores I have to deal with a lot of MultiMeasureRests. I am
> facing the following layout-problem:
>
> If there is one line filled with (for example) a three measure long mm-rest
> (and maybe one bar with a few cue-notes) the measure-symbol consisting of
> two or the rectangles is spreading quite widely:
>
> %
> \paper {
>   ragged-last = ##f
> }
> { \compressFullBarRests R1*3 }
> %
>
> (mmrest1.png)
>
> But I would like to space it like in mmrest2.png, the default spacing.
>
> I looked for an override, but didn't find one suitable.
> Anybody knows how to deal with it?
>

The default is actually to allow the components of the church rest to
expand to fill the available space within the measure.  The symbols
making up the rest are assigned a padding value proportional to the
visual size of the measure.

I think what you're after is some means to limit this expansion.  I've
attached a patch which creates a property ("no-stretch") which keeps
internal padding at its minimum value -- 1 staff space.  Note also the
test file.  I haven't tested it beyond what you see there.

It might be nice to allow a maximum padding.  (I find 1.0 for padding
a little close.)  That would be easily done.

Sorry that this is a patch you need to apply.  Putting this in Scheme
would require extensive recoding.

HTH,
David
From 2db13e3ab86920886574585bf9130a0bebdfd096 Mon Sep 17 00:00:00 2001
From: David Nalesnik 
Date: Fri, 23 Dec 2016 10:39:12 -0600
Subject: [PATCH] Implement no-stretch for MultiMeasureRest

Ordinarily, church rests expand to fill the measure.  This patch
implements the property "no-stretch," a boolean which when #t prevents
the default behavior.
---
 lily/multi-measure-rest.cc | 15 +--
 scm/define-grob-interfaces.scm |  2 +-
 scm/define-grob-properties.scm |  2 ++
 3 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/lily/multi-measure-rest.cc b/lily/multi-measure-rest.cc
index 7f2a720..478192a 100644
--- a/lily/multi-measure-rest.cc
+++ b/lily/multi-measure-rest.cc
@@ -321,7 +321,8 @@ Multi_measure_rest::church_rest (Grob *me, Font_metric *musfont, int measure_cou
   Real outer_padding_factor = 1.5;
   Real inner_padding = (space - symbols_width)
/ (2 * outer_padding_factor + (symbol_count - 1));
-  if (inner_padding < 0)
+  bool no_stretch = to_boolean (me->get_property("no-stretch"));
+  if (inner_padding < 0 || no_stretch)
 inner_padding = 1.0;
 
   Stencil mol;
@@ -329,7 +330,17 @@ Multi_measure_rest::church_rest (Grob *me, Font_metric *musfont, int measure_cou
 mol.add_at_edge (X_AXIS, LEFT, *unsmob (scm_car (s)),
  inner_padding);
   mol.align_to (X_AXIS, LEFT);
-  mol.translate_axis (outer_padding_factor * inner_padding, X_AXIS);
+
+  if (no_stretch)
+{
+  mol.translate_axis (max (outer_padding_factor * inner_padding,
+(space - symbols_width - (inner_padding * (symbol_count - 1))) / 2),
+X_AXIS);
+}
+  else
+{
+  mol.translate_axis (outer_padding_factor * inner_padding, X_AXIS);
+}
 
   return mol;
 }
diff --git a/scm/define-grob-interfaces.scm b/scm/define-grob-interfaces.scm
index d5f2311..5ee78a3 100644
--- a/scm/define-grob-interfaces.scm
+++ b/scm/define-grob-interfaces.scm
@@ -209,7 +209,7 @@ accidentals)."
 (ly:add-interface
  'multi-measure-interface
  "Multi measure rest, and the text or number that is printed over it."
- '(bound-padding))
+ '(bound-padding no-stretch))
 
 (ly:add-interface
  'note-name-interface
diff --git a/scm/define-grob-properties.scm b/scm/define-grob-properties.scm
index 0635898..48da9da 100644
--- a/scm/define-grob-properties.scm
+++ b/scm/define-grob-properties.scm
@@ -667,6 +667,8 @@ syllable following an extender).")
 object.")
  (no-stem-extend ,boolean? "If set, notes with ledger lines do not
 get stems extending to the middle staff line.")
+ (no-stretch ,boolean? "If set, church rests will not spread to fill
+available space.")
  (non-break-align-symbols ,list? "A list of symbols that determine
 which NON-break-aligned interfaces to align this to.")
  (non-default ,boolean? "Set for manually specified clefs and keys.")
-- 
2.1.4

\version "2.19.54"

\paper {
  ragged-last = ##f
}

\markup \bold \huge "DEFAULT"

{
  \compressFullBarRests R1*3
  \break
  R1*9
  \break
  R1*12
  \break
  R1*3
  R1*9
  R1*12
  \break
  \repeat unfold 8 { R1*3 }
}

\markup \bold \huge "NO STRETCH"
\markup \concat { "Church rests do not expand with increased measure size, " \italic "but rests drawn as lines are" }

{
  \override Staff.MultiMeasureRest.no-stretch = ##t
  \compressFullBarRests R1*3
  \break
  R1*9
  \break
  R1*12
  \break
  R1*3
  R1*9
  R1*12
  \break
  \repeat unfold 8 { R1*3 }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MultiMeasureRest symbol spacing

2016-12-23 Thread Jan-Peter Voigt
Hi David,

thank you very much. I'll have a closer look later, but for I see now it seems 
to be exactly what I am looking for!
I propose this to be part of lilypond proper when its tested.

All the best
Jan-Peter


Am 23. Dezember 2016 18:01:34 MEZ, schrieb David Nalesnik 
:
>Hi Jan-Peter,
>
>On Fri, Dec 23, 2016 at 5:52 AM, Jan-Peter Voigt 
>wrote:
>> Hello list,
>>
>> in my current scores I have to deal with a lot of MultiMeasureRests.
>I am
>> facing the following layout-problem:
>>
>> If there is one line filled with (for example) a three measure long
>mm-rest
>> (and maybe one bar with a few cue-notes) the measure-symbol
>consisting of
>> two or the rectangles is spreading quite widely:
>>
>> %
>> \paper {
>>   ragged-last = ##f
>> }
>> { \compressFullBarRests R1*3 }
>> %
>>
>> (mmrest1.png)
>>
>> But I would like to space it like in mmrest2.png, the default
>spacing.
>>
>> I looked for an override, but didn't find one suitable.
>> Anybody knows how to deal with it?
>>
>
>The default is actually to allow the components of the church rest to
>expand to fill the available space within the measure.  The symbols
>making up the rest are assigned a padding value proportional to the
>visual size of the measure.
>
>I think what you're after is some means to limit this expansion.  I've
>attached a patch which creates a property ("no-stretch") which keeps
>internal padding at its minimum value -- 1 staff space.  Note also the
>test file.  I haven't tested it beyond what you see there.
>
>It might be nice to allow a maximum padding.  (I find 1.0 for padding
>a little close.)  That would be easily done.
>
>Sorry that this is a patch you need to apply.  Putting this in Scheme
>would require extensive recoding.
>
>HTH,
>David

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change augmentation dot size

2016-12-23 Thread Malte Meyn



Am 23.12.2016 um 17:19 schrieb liang seng:

My questions is, is there a way to change the size of augmentation dots to make 
it bigger or smaller?


Yes, there is:

\version "2.18.2"
{
  c'4.
  \override Dots.font-size = 3
  c'
}

The default font-size is 0, negative values give smaller dots, positive 
values bigger dots.


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


Re: MultiMeasureRest symbol spacing

2016-12-23 Thread Simon Albrecht

On 23.12.2016 18:19, Jan-Peter Voigt wrote:

I propose this to be part of lilypond proper when its tested.


+1. The current behaviour is weird and difficult to read.

Best, Simon

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


A term double slurs in LilyPond version 2.18.2.

2016-12-23 Thread Mirosław Doroszewski
A term double slurs in LilyPond version 2.18.2.

1. In the reply has been wtitten, that the term double slurs is true
and a proposition to change the term into a new one: multi slurs — is
false. It has been explained: it happens that somtimes composer wants
to link not every notes between chords or to slur at least 3 chords.
2. The term multi slurs suggests that at least 2 notes in a chord can
be linked. It does not implies that every notes in chords have to be
linked, even in slurring at least 3 chords.
3. So proposition is to make new commands: \multiSlursOn, \multiSlursOff.
4. By default lilypond links top-level single notes between chords.
5. The new command \multiSlursOn turns on slurring every notes in
chords, what can be unset to default setting with command
\multiSlursOff.
6. If composer wants link notes with slurs not usually, as it has been
descibed in solution received, developers could — normal their
practice — make form of command with additional, more complicated
settings. (I have noticed in manuals even 5 variables to set only 1
object!
7. Conclusion: the new term multi slurs are true.
8. Additionally, one could notice: a) suppose that composer have not
slurred 1 pair of notes in 2 chords, b) musician playing that will be
think nothing, because he will not notice this detail, or: if he would
notice this, could say: "Printing house made a mistake" thinking: "It
is not usual" — that only 1 pair of notes are not slurred in chords
with many notes.

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


Staff breaking in unmetered music in LilyPond version 2.18.2.

2016-12-23 Thread Mirosław Doroszewski
Staff breaking in unmetered music in LilyPond version 2.18.2.

1. I have proposed, on the basis of solution received, new variables
to automated staff breaking in unmetered music:

unmeteredOn = {
\cadenzaOn
\set Score.defaultBarType = #""
\set Score.barAlways = ##t
}
unmeteredOff = {
\cadenzaOff
\unset Score.defaultBarType
\unset Score.barAlways
}
\relative c' {
\unmeteredOn
...
\unmeteredOff
... 
}

2. Variable unmeteredOff has been defined in solution received:
unmeteredOff = {
\set Score.defaultBarType = #"|"
\set Score.barAlways = ##f
\cadenzaOff
}

3. According to manuals changed default setting usually is unchanged
with \unset command.
4. I have concluded that it is universal way, because composer can set
another setting of defaultBarType before putting command \unmeteredOn,
i.e. \set Score.defaultBarType = #"'".
5. So definig command \unmeteredOff as in point 2. as above removes
composer setting of his default bar type.

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


Vertical spacing titles and highest staff in LilyPond version 2.18.2.

2016-12-23 Thread Mirosław Doroszewski
Vertical spacing titles and highest staff in LilyPond version 2.18.2.
I have received:
"Of course they are "automatically calculated": according to the rules
set in markup-system-spacing".

1. I was testing setting markup-system-spacing before my e-mail, and
without any effect (print was unchanged).
2. I suppose that it was so because the setting was (is) in template,
not in a bottom-level document.
3. The point is: some unwanted or rather none effects become when
setting are changed in template, non in many pieces of whole project.
4. Every developers, users, customers advanced and "basic" know that
many files are put in directories.
5. When project have many files (pieces) — why do not put them in
directories thematically?
6. There was 2 times that I had to change many pieces because of
problems with software...
7. So I tell: not every settings works in template, which is common
for many pieces (files). Every settings works when are put in the same
file.
8. Conclusion is the same: lilypond has to be change to treat settings
of any template file in any directory.
9. Supposing: lilypond users are working rather with simple pieces,
i.e. a) 2 voices — not 4; b) 1 chord slur — not 4 slurs in chord made
of 4 notes; c) small project with up to 50 pages etc. So they need not
put their projects in directories.
10. That is why I have problems with my project, which has hundreds
files-pieces put in up to hundred directories.

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


Re: Blog posts, call for

2016-12-23 Thread Devin Ulibarri
Urs Liska:
> I just scrolled through a few pages of the Scores of Beauty
> (http://lilypondblog.org) site and find that - in addition to the facth
> that the rate of posts has substantially dropped - my name appears just
> too exclusively. This isn't "my" blog but the "semi-official LilyPond" blog.

I did not even realize there was a lilypond blog... thanks for reminding
everyone!

> The range of possible topics is really broad and could include short
> tutorials about a certain challenge you have just mastered with the help
> of the community, general thoughts about music/notation software or
> reports of your own activities. We would really love to have more posts
> about projects done with LilyPond. These could go into some depth about
> technical detail or just give an impression on how it was doing the
> project with LilyPond and how musicians responded to it.
> Or anything else I just didn't think of.

Questions:
1) Would you be willing to publish an article about how Music Blocks (a
visual coding language for music. Homepage at
https://www.musicblocks.net) software generates lilypond code and how
one can use Music Blocks software as an entry point to lilypond?

2) Would you be willing to publish articles created by High School
students participating in Google Code-in (GCI)? I could draft a task and
we could have some kids write about their experience learning Lilypond
from Music Blocks. Of course, you would still have the final say as to
whether or not the blog posts would meet your standards and be published.

Otherwise, I could write something, but the above options would be fun
and the idea is off the table in a few weeks as the GCI contest closes
in mid-January.

Best,
Devin

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


Re: Blog posts, call for

2016-12-23 Thread Jeffery Shivers
I owe at least one of those blog posts myself since I have fallen behind
(or really, off) the GSoC scholarLY project since the summer ended. I'll be
contributing a few touch-ups to the code (in particular the LaTeX
package) in the coming weeks, and will follow that up with a blog
post/announcement/overview for everyone.

best wishes from frigid and snowy northern Iceland,

On Fri, Dec 23, 2016 at 5:28 PM, Devin Ulibarri 
wrote:

> Urs Liska:
> > I just scrolled through a few pages of the Scores of Beauty
> > (http://lilypondblog.org) site and find that - in addition to the facth
> > that the rate of posts has substantially dropped - my name appears just
> > too exclusively. This isn't "my" blog but the "semi-official LilyPond"
> blog.
>
> I did not even realize there was a lilypond blog... thanks for reminding
> everyone!
>
> > The range of possible topics is really broad and could include short
> > tutorials about a certain challenge you have just mastered with the help
> > of the community, general thoughts about music/notation software or
> > reports of your own activities. We would really love to have more posts
> > about projects done with LilyPond. These could go into some depth about
> > technical detail or just give an impression on how it was doing the
> > project with LilyPond and how musicians responded to it.
> > Or anything else I just didn't think of.
>
> Questions:
> 1) Would you be willing to publish an article about how Music Blocks (a
> visual coding language for music. Homepage at
> https://www.musicblocks.net) software generates lilypond code and how
> one can use Music Blocks software as an entry point to lilypond?
>
> 2) Would you be willing to publish articles created by High School
> students participating in Google Code-in (GCI)? I could draft a task and
> we could have some kids write about their experience learning Lilypond
> from Music Blocks. Of course, you would still have the final say as to
> whether or not the blog posts would meet your standards and be published.
>
> Otherwise, I could write something, but the above options would be fun
> and the idea is off the table in a few weeks as the GCI contest closes
> in mid-January.
>
> Best,
> Devin
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 

Jeffery Shivers
 jefferyshivers.com
 soundcloud.com/jefferyshivers
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


postscript graphic and textspanner

2016-12-23 Thread Nicky Maldonado
Hi

Text spanners draw customizable straight lines between \startTextSpan and
\stopTextSpan

Is there a form to use the two points of a text spanner to draw a new
postscript graphic? lets say a curve line (like slurs) attached to the
lyrics?

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


Re: postscript graphic and textspanner

2016-12-23 Thread Thomas Morley
2016-12-23 19:55 GMT+01:00 Nicky Maldonado :
> Hi
>
> Text spanners draw customizable straight lines between \startTextSpan and
> \stopTextSpan
>
> Is there a form to use the two points of a text spanner to draw a new
> postscript graphic? lets say a curve line (like slurs) attached to the
> lyrics?


In general: yes.
It will most likely involve some scheme-coding, though without a tiny
example I can't say more. ;)

Cheers,
  Harm

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


Re: Vertical spacing titles and highest staff in LilyPond version 2.18.2.

2016-12-23 Thread Alexander Kobel

Hi Miroslaw,

may I ask you to use the reply function of your mail interface to answer 
mails? Similar to how you organize your Lilypond input in several 
folders, I file my mails in several places; if you do not use the reply 
function, no In-Reply-To header is inserted in your mails. So no mail 
reader on earth can detect the thread or topic, and thus I cannot easily 
access our previous conversation.


That being said, it is nice to actually receive a confirmation that our 
answers made it to you.
I acknowledge Joram's words that communication rules are different here 
and there. But I'm pretty sure that it is universal etiquette to reply 
to people that try to help, and to use the word "thanks" at times. Even 
if it is not, please get used to the fact that we expect it on this 
mailing list.
Even if there are reasons for such misunderstandings, they do hardly 
ease the consequences: you *appear* to be highly demanding, stubborn, 
and somewhat ignorant (in some of the different meanings of this word).


I am not willing to invest more time unless this changes, and the same 
holds for some others on this list.



On 2016-12-23 19:06, Mirosław Doroszewski wrote:

Vertical spacing titles and highest staff in LilyPond version 2.18.2.
I have received:
"Of course they are "automatically calculated": according to the rules
set in markup-system-spacing".

1. I was testing setting markup-system-spacing before my e-mail, and
without any effect (print was unchanged).


In this case, I have to assume that your use of markup-system-spacing 
was incorrect. I can confirm that this variable works since it came into 
existence. In fact, changing the values in the code you posted in your 
mail from 2016-12-20 19:40 GMT immediately changes the PDF as expected, 
using 2.18.2. Please provide a minimal example where it did not work, in 
case it actually did not.


And note that not every setting that does not change anything is an 
error. E.g., in your code posted previously, changing basic-distance 
from 15 to 20 does not change anything. That's correct behaviour, even 
though it may not be the one you expect. Changing to 30 produces a 
visible change. If you are confused about that, read the documentation - 
all details for this behavior are given there.
Try extreme values to see whether you tweak the correct parameters. If 
an extreme value does not change anything, chances are that you did not 
turn the right knob.



2. I suppose that it was so because the setting was (is) in template,
not in a bottom-level document.


No idea what you mean here. "Templates" (I assume you mean includes) are 
handled just like a verbatim copy of the file contents at the point 
where the \include command occurs.



3. The point is: some unwanted or rather none effects become when
setting are changed in template, non in many pieces of whole project.


See above.


4. Every developers, users, customers advanced and "basic" know that
many files are put in directories.
5. When project have many files (pieces) — why do not put them in
directories thematically?


Yes, so?


6. There was 2 times that I had to change many pieces because of
problems with software...
7. So I tell: not every settings works in template, which is common
for many pieces (files). Every settings works when are put in the same
file.


I cannot believe that, as it is not the case here. Provide a minimal 
example.



8. Conclusion is the same: lilypond has to be change to treat settings
of any template file in any directory.


It does. Definitely.
If you give wrong directory names, wrong filenames, etc., Lily will not 
find the file. An error message will be issued in those cases:


I propose the following:
(1) Double-check your Lilypond output for warnings. If warnings are 
issued, fix them.
(2) Check if you want/need to use relative includes (see Notation 
Reference 3.3.1). Repeat step (1).
(3) If some "template" does not work as you expect, copy the contents at 
the place where you used the \include, verbatim. I'm sure you'll find 
that the include was not the culprit - so the problem is either in the 
position of your include, or its content.


If, and only if, after (1) to (3) you still have problems,
(4) report *minimal* examples (http://lilypond.org/tiny-examples.html) 
showing faulty behavior, and maybe let us know about the structure of 
your project.
Perhaps the problems your perceive can be easily solved by a different 
approach to organizing your pieces.



9. Supposing: lilypond users are working rather with simple pieces,
i.e. a) 2 voices — not 4; b) 1 chord slur — not 4 slurs in chord made
of 4 notes; c) small project with up to 50 pages etc. So they need not
put their projects in directories.


Rest assured that there are major and non-trivial Lilypond projects. To 
mention just few large-scale works: search the net for Nicolas Sceaux, 
who engraved several operas using Lily, or Urs' et al.'s edition of 
Fried's songs that was awarded the prize for the best

Re: Vertical spacing titles and highest staff in LilyPond version 2.18.2.

2016-12-23 Thread Thomas Morley
Miroslaw,



2016-12-23 19:06 GMT+01:00 Mirosław Doroszewski
:
> Vertical spacing titles and highest staff in LilyPond version 2.18.2.
> I have received:
> "Of course they are "automatically calculated": according to the rules
> set in markup-system-spacing".

why do you always open new threads and not replying there?

> 1. I was testing setting markup-system-spacing before my e-mail, and
> without any effect (print was unchanged).

Without knowing your code noone can reproduce what you did or make any
reasonable suggestion.

> 2. I suppose that it was so because the setting was (is) in template,
> not in a bottom-level document.

I don't know _what_ you are calling a template. which? code?
Apart from that it's not impossible, but very unlikely.
I suppose a user-eror.

> 3. The point is: some unwanted or rather none effects become when
> setting are changed in template, non in many pieces of whole project.

Without knowing your code noone can reproduce what you did or make any
reasonable suggestion.

> 4. Every developers, users, customers advanced and "basic" know that
> many files are put in directories.

Indeed. And it uses to work.

> 5. When project have many files (pieces) — why do not put them in
> directories thematically?

Yep, why not?

> 6. There was 2 times that I had to change many pieces because of
> problems with software...

Sorry to hear that.
Which software?

> 7. So I tell: not every settings works in template, which is common
> for many pieces (files). Every settings works when are put in the same
> file.

Not impossible, but very unlikely.
I suppose a user-eror.

> 8. Conclusion is the same: lilypond has to be change to treat settings
> of any template file in any directory.

Without knowing your code noone can reproduce what you did or make any
reasonable suggestion.
I don't know _what_ you are calling a template. which? code?
I suppose a user-eror.

> 9. Supposing: lilypond users are working rather with simple pieces,
> i.e. a) 2 voices — not 4; b) 1 chord slur — not 4 slurs in chord made
> of 4 notes; c) small project with up to 50 pages etc. So they need not
> put their projects in directories.

Disagreed.

> 10. That is why I have problems with my project, which has hundreds
> files-pieces put in up to hundred directories.

Sorry to hear of your problems, but you give us exactly zero
information to help.

So I'm afraid I'll will not longer reply to your posts unless this
changes and do more meaningful things.

-Harm

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


Fwd: shapeII debugging

2016-12-23 Thread Simon Albrecht
Did the mail not get through? I didn’t receive it from the list. (It 
can’t possibly have been due to a 180kB image?) This gives me 
opportunity to fix the attachments – I only just noticed that the image 
belonged to a previous state of the file. (Also, with 100dpi, the image 
has only 21kB…)


I added the information to the oll tracker issue as well.

Best, Simon



 Forwarded Message 
Subject:shapeII debugging
Date:   Fri, 23 Dec 2016 18:46:03 +0100
From:   Simon Albrecht 
To: 	Urs Liska , lilypond-user@gnu.org, Andrew 
Bernard 




On 23.12.2016 12:08, Urs Liska wrote:

Am 23.12.2016 um 11:49 schrieb Simon Albrecht:

Maybe try \shapeII from openlilylib as well, it’s much more comfortable
to use, though in my experience sadly it messes with system/staff
placement in a way that makes it unusable.

Could you please elaborate a little bit on that, possible with examples?
It would be great to fix everything with \shapeII and finally bring that
functionality to LilyPond itself.


My ‘minimal’ example file is the attached one. Last time I tried to get
to the source of the problem I found this tracker issue [1] and came to
the conclusion that a fix would require integration of shapeII deep in
the C++ LilyPond code to circumvent the really fundamental problems
hinted there.
Presumably the difference between your user experiences and mine has to
do with the bug only (?) occuring with the (head x x) option.
And certainly I agree that it would be marvelous to see the
functionality in LilyPond proper, with this bug fixed.

Best, Simon

[1] 

\version "2.19.47"
\include "notation-snippets/shaping-bezier-curves/shapeII.ily"

#(ly:set-option 'debug-skylines #t)
\paper {
  %annotate-spacing = ##t
  #(set-paper-size "a5landscape")
}

%{
shapeII =
#(define-music-function (all-specs item) (list? symbol-list-or-music?)
   (propertyTweak 'color red item))
%}

right = \relative {
  \voiceOne
  R1*5
  \break

  R1
  r4 \shapeII #'((h 0 1.2)(p 30 0.4)(p 30 0.4)(h)) Slur r8 g'( fis4) r8 g(
  fis4) r8 g( fis4) r8 g(
  fis4) r8 fis r2
  R1*2

  \break
  R1*5
}

left = \relative {
  R1*15
}

\score {
  <<
\new Staff = "right" \right
\new Staff = "left" \left
  >>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 2:29 PM, Simon Albrecht  wrote:

>
> My ‘minimal’ example file is the attached one. Last time I tried to get
> to the source of the problem I found this tracker issue [1] and came to
> the conclusion that a fix would require integration of shapeII deep in
> the C++ LilyPond code to circumvent the really fundamental problems
> hinted there.
> Presumably the difference between your user experiences and mine has to
> do with the bug only (?) occuring with the (head x x) option.
> And certainly I agree that it would be marvelous to see the
> functionality in LilyPond proper, with this bug fixed.
>

I would suggest removing the head functionality for the time being so
something can get into LilyPond proper without too much effort.

David

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


Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 2:38 PM, David Nalesnik
 wrote:
> On Fri, Dec 23, 2016 at 2:29 PM, Simon Albrecht  
> wrote:
>
>>
>> My ‘minimal’ example file is the attached one. Last time I tried to get
>> to the source of the problem I found this tracker issue [1] and came to
>> the conclusion that a fix would require integration of shapeII deep in
>> the C++ LilyPond code to circumvent the really fundamental problems
>> hinted there.
>> Presumably the difference between your user experiences and mine has to
>> do with the bug only (?) occuring with the (head x x) option.
>> And certainly I agree that it would be marvelous to see the
>> functionality in LilyPond proper, with this bug fixed.
>>
>
> I would suggest removing the head functionality for the time being so
> something can get into LilyPond proper without too much effort.
>

Oh, that wasn't clear.  Patch LilyPond with what of \shapeII works;
keep the function as-is in openlilylib.

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


Re: Overlapping Characters in markup

2016-12-23 Thread Nathan Ho

On 2016-12-23 08:07, Br. Samuel Springuel wrote:

[...]

While \translate works, and I can manipulate the offsets via trial and
error, I'm stumped as to the units.  I found the documentation for the
function (lilypond.org/doc/v2.18/Documentation/notation/align) and
it's companion \translate-scaled, but some idea as to the units (for
either function) would be useful for coordinating this faked character
across the project.


Hi Samuel,

Sorry, I was wrong -- you should use \translate-scaled, not \translate. 
As far as I can tell, \translate uses staff spaces. \translate-scaled 
also uses staff spaces, but multiplied by the magnification of the font 
size relative to a font size of 0. It doesn't seem that 
\translate-scaled is aware of any font metrics like em size.



Nathan

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


Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-23 Thread Alexander Kobel

Hi Jay,

it seems that there is some interest in integrating your scheme engraver 
for merged rests into Lilypond core. Do you mind this idea? If not, are 
you interested in submitting a patch for review yourself, or do you want 
someone to take care of it?



Thanks and merry holidays,
Alexander


On 2016-12-22 18:47, David Nalesnik wrote:

On Thu, Dec 22, 2016 at 9:01 AM, Alexander Kobel  wrote:

On 2016-12-22 15:28, Kieren MacMillan wrote:


Hi Alexander (et al.),


http://lsr.di.unimi.it/LSR/Item?id=336



Is this useful function part of the regular distro?



Not that I'm aware of.


If not, is there a technical reason why not



None that I'm aware of. Unless you count the known limitations as technical
reasons, or the fact that the author is unknown.



Note that there is another solution in the archives which doesn't
suffer from either limitation: see thread beginning with
http://www.mail-archive.com/lilypond-user@gnu.org/msg69608.html

HTH,
David



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


Arpeggio question

2016-12-23 Thread Menu Jacques
Hello folks,

In the example below, I can’t get the 2 one-note chord in voice 
P_POne_S_One_V_One to display with an arpeggio alongside it.

How can I get this fixed?

Thanks for the help!

JM





%

\version "2.19.44"

P_POne_S_One_V_One = \relative {
  \clef "treble"
  \key a \major
  \time 2/4
  \grace { s16 s16 s16 }
  2 \arpeggio  HERE
}

P_POne_S_One_V_Two = \relative {
  \clef "treble"
  \key a \major
  \time 2/4
  \grace { s16 s16 s16 }
  4 \arpeggio 4
}

P_POne_S_Two_V_Three = \relative {
  \clef "bass"
  \key a \major
  \time 2/4
  \grace { a,16 ( cis16 e16 }
  a8 [ ) a8 a8 a8 ]
}


\score {
  <<
\new StaffGroup <<

  \new Staff <<
\context Voice = "P_POne_S_One_V_One" {
  \voiceOne
  \P_POne_S_One_V_One
}
\context Voice = "P_POne_S_One_V_Two" {
  \voiceTwo
  \P_POne_S_One_V_Two
}
  >>

  \new Staff <<
\context Voice = "P_POne_S_Two_V_Three" {
  \P_POne_S_Two_V_Three
}
  >>

>>

  >>

  \layout {}
}

%




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


Re: Arpeggio question

2016-12-23 Thread Thomas Morley
Hi,

2016-12-24 0:30 GMT+01:00 Menu Jacques :
>
> Hello folks,
>
> In the example below, I can’t get the 2 one-note chord in voice 
> P_POne_S_One_V_One to display with an arpeggio alongside it.
>
> How can I get this fixed?
>
> Thanks for the help!
>
> JM
>
>
>
>
> %
>
> \version "2.19.44"
>
> P_POne_S_One_V_One = \relative {
>   \clef "treble"
>   \key a \major
>   \time 2/4
>   \grace { s16 s16 s16 }

%% the Span_arpeggio_engraver is in the StaffGroup per default so you
can simply add:

  \once \set StaffGroup.connectArpeggios = ##t

>   2 \arpeggio  HERE
> }
>
> P_POne_S_One_V_Two = \relative {
>   \clef "treble"
>   \key a \major
>   \time 2/4
>   \grace { s16 s16 s16 }
>   4 \arpeggio 4
> }
>
> P_POne_S_Two_V_Three = \relative {
>   \clef "bass"
>   \key a \major
>   \time 2/4
>   \grace { a,16 ( cis16 e16 }
>   a8 [ ) a8 a8 a8 ]
> }
>
>
> \score {
>   <<
> \new StaffGroup <<
>
>   \new Staff <<
> \context Voice = "P_POne_S_One_V_One" {
>   \voiceOne
>   \P_POne_S_One_V_One
> }
> \context Voice = "P_POne_S_One_V_Two" {
>   \voiceTwo
>   \P_POne_S_One_V_Two
> }
>   >>
>
>   \new Staff <<
> \context Voice = "P_POne_S_Two_V_Three" {
>   \P_POne_S_Two_V_Three
> }
>   >>
>
> >>
>
>   >>
>
>   \layout {}
> }
>
> %
>

HTH,
  Harm

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


Re: Arpeggio question

2016-12-23 Thread Menu Jacques
Hello Harm,

>  \once \set StaffGroup.connectArpeggios = ##t

Excellent, thanks!

JM

> Le 24 déc. 2016 à 00:48, Thomas Morley  a écrit :
> 
> Hi,
> 
> 2016-12-24 0:30 GMT+01:00 Menu Jacques :
>> 
>> Hello folks,
>> 
>> In the example below, I can’t get the 2 one-note chord in voice 
>> P_POne_S_One_V_One to display with an arpeggio alongside it.
>> 
>> How can I get this fixed?
>> 
>> Thanks for the help!
>> 
>> JM
>> 
>> 
>> 
>> 
>> %
>> 
>> \version "2.19.44"
>> 
>> P_POne_S_One_V_One = \relative {
>>  \clef "treble"
>>  \key a \major
>>  \time 2/4
>>  \grace { s16 s16 s16 }
> 
> %% the Span_arpeggio_engraver is in the StaffGroup per default so you
> can simply add:
> 
>  \once \set StaffGroup.connectArpeggios = ##t
> 
>>  2 \arpeggio  HERE
>> }
>> 
>> P_POne_S_One_V_Two = \relative {
>>  \clef "treble"
>>  \key a \major
>>  \time 2/4
>>  \grace { s16 s16 s16 }
>>  4 \arpeggio 4
>> }
>> 
>> P_POne_S_Two_V_Three = \relative {
>>  \clef "bass"
>>  \key a \major
>>  \time 2/4
>>  \grace { a,16 ( cis16 e16 }
>>  a8 [ ) a8 a8 a8 ]
>> }
>> 
>> 
>> \score {
>>  <<
>>\new StaffGroup <<
>> 
>>  \new Staff <<
>>\context Voice = "P_POne_S_One_V_One" {
>>  \voiceOne
>>  \P_POne_S_One_V_One
>>}
>>\context Voice = "P_POne_S_One_V_Two" {
>>  \voiceTwo
>>  \P_POne_S_One_V_Two
>>}
 
>> 
>>  \new Staff <<
>>\context Voice = "P_POne_S_Two_V_Three" {
>>  \P_POne_S_Two_V_Three
>>}
 
>> 
 
>> 
 
>> 
>>  \layout {}
>> }
>> 
>> %
>> 
> 
> HTH,
>  Harm


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


Re: postscript graphic and textspanner

2016-12-23 Thread Andrew Bernard
Hi Nicky,

You can draw with postscript in a markup. This is described in the Notation
Reference. Any PostScript is allowed, and positioning is simple.

Is that not suitable for what you want? Can you show an example of what you
desire?

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


Re: shapeII debugging

2016-12-23 Thread Andrew Bernard
Hi David,

On 24 December 2016 at 07:42, David Nalesnik 
wrote:

>
>
> Oh, that wasn't clear.  Patch LilyPond with what of \shapeII works;
> keep the function as-is in openlilylib.
>

​Essential. I depend on the (h x x) function hugely in my code. [And it
works fine for me, so this is an interesting issue.]

Andrew

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


Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 6:55 PM, Andrew Bernard
 wrote:
> Hi David,
>
> On 24 December 2016 at 07:42, David Nalesnik 
> wrote:
>>
>>
>>
>> Oh, that wasn't clear.  Patch LilyPond with what of \shapeII works;
>> keep the function as-is in openlilylib.
>
>
> Essential. I depend on the (h x x) function hugely in my code. [And it works
> fine for me, so this is an interesting issue.]
>

Much of \shapeII could be included, but the (h x x) function is
broken.  I've noticed the problem too. (I may have mentioned this in
review comments on GitHub.)

There's a statement in the Contributor's Guide about rejecting broken
code on principle. So, I'm simply proposing that, should someone want
to put forward a patch, they should remove the problematic parts.  The
(h x x) would be in openlilylib, usable to anyone, and LilyPond proper
can be updated when it's fixed.

Like Simon, I fear that the notehead-alignment stuff will be difficult
to tackle, and we shouldn't hold up improving LilyPond against the
possibly remote day when the issue is fixed.

Best,
David

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


Re: shapeII debugging

2016-12-23 Thread David Nalesnik
On Fri, Dec 23, 2016 at 7:13 PM, David Nalesnik
 wrote:

> Like Simon, I fear that the notehead-alignment stuff will be difficult
> to tackle, and we shouldn't hold up improving LilyPond against the
> possibly remote day when the issue is fixed.
>

The part beginning with "and" I only claim for myself :)

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


Fwd: postscript graphic and textspanner

2016-12-23 Thread Nicky Maldonado
Thanks, well, i made a markup function "\harm-arrow" that needs three
arguments (length, displacement, dash)
ith this i draw manually the start point and the stop point.

Ex: \lyricmode {I2 \markup \harm-arrow #9.3 #0 ##t Vs II \markup
\harm-arrow #5 #0 ##f V I1}

Now i would like to have a function that automatically calculates the
correct start and stop points

ideally: \lyricmode {I2 \harm-arrow-dashed \startTextSpan Vs II
\stopTextSpan \harm-arrow \startTextSpan V \stopTextSpan I1}
... and not calculate manually the length and displacement.

Regards
\version "2.18.2"

#(define-markup-command (harm-arrow layout props 
	largoflechax xceroadd segmentadox rom) 
	(number? number? boolean? markup?)
  "Draw a down curved arrow."
  (interpret-markup layout props
#{\markup \combine #rom 
		\combine \path #0.0 #'((moveto 0 -1.4)(lineto 0 -1.4)) %solo amplia imagen
			\postscript 
#(string-append " 
/ycero -0.4 def
/xcero {1.4 "(number->string xceroadd)" add} def
/largoflecha "(number->string largoflechax)" def
/segmentado "(if segmentadox "true" "false" ) " def
/arrowhead {% stack: s x1 y1  , current point: x0 y0
gsave
	currentpoint		% s x1 y1 x0 y0
	4  2 roll exch 		% s x0 y0 y1 x1
	4 -1 roll exch 		% s y0 y1 x0 x1
	sub 3 1 roll		% s x0-x1 y0 y1
	sub exch			% s y0-y1 x0-x1
	atan rotate		% s	% rotate over arctan((y0-y1)/(x0-x1))
	dup scale% scale by factor s
	-7  3 rlineto
	 2 -3 rlineto
	-2 -3 rlineto
	closepath fill % fill arrowhead
grestore
newpath
} def

0.12 setlinewidth 		%ancho de la linea
segmentado {[0.42 0.35] 0 setdash} if %[lleno vacio] inicio setdash configurar segmentado
%curva
xcero ycero moveto

xcero ycero
xcero largoflecha 2 div add 	largoflecha -0.6 mul 
xcero largoflecha add -0.4 add		ycero -0.3 add
curveto stroke

%cabeza de flecha
xcero largoflecha add ycero moveto

0.16 xcero largoflecha 2 div add
largoflecha -0.5 mul
arrowhead
")
 #}))


<<
\new Staff \relative c' {c2 d d g  c,1 \bar "|."
	}
 \new Lyrics \lyricmode { 
	I2 \markup \harm-arrow #9.3 #0 ##t Vs II \markup \harm-arrow #5 #0 ##f V  I1}
>>



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


Which Linux distro for Lilypond

2016-12-23 Thread Craig Dabelstein
Hi Lilyponders,

Just a quick question. I'm taking the plunge and moving to Linux. Which
distro would you recommend for running Lilypond and Frescobaldi?

All the best,

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


Re: Which Linux distro for Lilypond

2016-12-23 Thread Andrew Bernard
Hi Craig,

Good move. Most distros are good now. I can recommend Linux Mint, built on
Ubuntu, or Ubuntu itself. For some time I used OpenSuse Leap 42.1 but it
did have oddities in relation to lilypond.

Some like Debian for its high stability, but I find its graphical
appearance sub-par - this is well known.

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


Re: Which Linux distro for Lilypond

2016-12-23 Thread SoundsFromSound
Craig Dabelstein wrote
> Hi Lilyponders,
> 
> Just a quick question. I'm taking the plunge and moving to Linux. Which
> distro would you recommend for running Lilypond and Frescobaldi?
> 
> All the best,
> 
> Craig
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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


Hi Craig,

I've run LilyPond on Ubuntu, Linux Mint, SolydK, Xubuntu, and Kubuntu
without any issue. Also Debian works beautifully for many as well. :)





-
composer | sound designer 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Which-Linux-distro-for-Lilypond-tp198459p198461.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: Which Linux distro for Lilypond

2016-12-23 Thread David Wright
On Sat 24 Dec 2016 at 13:06:23 (+1000), Craig Dabelstein wrote:
> Hi Lilyponders,
> 
> Just a quick question. I'm taking the plunge and moving to Linux. Which
> distro would you recommend for running Lilypond and Frescobaldi?

I don't know where you're moving from, but I think you should choose
your distribution on what you and your computer find most comfortable
to use.

Assuming you're coming from, say, windows or a mac, you would probably
run a Desktop Environment, in which case the choice of DE could be as
important as the distribution.

OTOH with an older machine that's past being able to run windows,
Frescobaldi should run happily on X and the simplest of Window
Managers, like fvwm for example (and maybe a DE too).

The version of LP that the distribution supports can be made
irrelevant by downloading it/them from the lilypond.org website,
and I assume the same goes for F. (Debian stable, currently jessie,
will always bundle comparatively old versions of software.)
So I would say that you should sort out your platform first.

(I wasn't aware of oddities with OpenSuse Leap 42.1, nor whether these
involved only its bundled versions or all versions.)

Cheers,
David.

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


Cannot vertically move markup in cue voice context

2016-12-23 Thread liang seng
Hi, I am Seng and I am using Lilypond 2.18.2 in Windows 10. I am trying to 
construct a music with cue notes during multi-measure rests. Here is an example:


\version "2.18.2"

\score { \relative c' { \time 4/4 R1 <<
{ R1-\tweak Y-offset #-5 _\markup A \override TextScript.staff-padding = #4 
R1_\markup A }
\new CueVoice { f f } >>  \bar "|." } }


I inserted the markups (here labelled as "A") under the rests and not in the 
cue notes since I want them to be aligned centrally in the measure. Since they 
are too close to the staff, I wish to lower them a bit. However, I can't make 
the markups move down vertically. Neither the Y-offset tweak or the TextScript 
staff padding works as shown in the example. Inserting the "Staff", "Score" or 
"Voice" context before TextScript does not work either. Am I missing something?


Thank you.

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


Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.

2016-12-23 Thread Jay Anderson
On Fri, Dec 23, 2016 at 2:30 PM, Alexander Kobel  wrote:
> it seems that there is some interest in integrating your scheme engraver for
> merged rests into Lilypond core. Do you mind this idea? If not, are you
> interested in submitting a patch for review yourself, or do you want someone
> to take care of it?

That'd be great as long as its behavior is acceptable for general use
and it has a few regression tests. I believe there were still some
outstanding questions around killing some of the rest grobs (the
solution I had was to overlap them). Any attached text would need to
be re-parented to the surviving grob. That said, I don't think
handling this will affect the ending result of what's visible on the
page. It's a performance/cleanliness issues which could be fixed
later.

I'm not sure I'm up for getting the patch through (I've never gone
through the process). I'll most likely have some next week time to
refresh my memory how it works, clean it up, document it, and create
some tests. Beyond that I'd need some guidance.

> Thanks and merry holidays,
> Alexander

Thanks and same to you.

-Jay

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


Re: Which Linux distro for Lilypond

2016-12-23 Thread Andrew Bernard
Hi Craig,

It's worth reinforcing what David referred to, which is that although most
distros provide versions of lilypond and frescobaldi, they are generally
older. You will have the advantage of stability but lose the newer
features. For myself, I find the development versions highly reliable in
general (and believe me, I stress the programs to the max) and therefore I
recommended after choosing a distro to download lilypond from lilypond.org,
and frescobaldi from frescobaldi.org, respectively.

Wishing you success from Down Under where our Christmas Day will be round
40 degrees centigrade (104 F), hardly the traditional picture of snow and
reindeer.

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