Re: Re-direct write processes in Frescobaldi?

2018-02-18 Thread David Kastrup
Joshua Nichols  writes:

> The reason I asked was not because I didn't know this, but because an
> article said "under normal use, SSDs will last longer than the computer
> themselves." I don't know if constantly saving, writing, and compiling
> lilypond files with temporary files saved in Frescobaldi would be
> considered "beyond normal use." I appreciate your explanation of this.
>
> I'm not trying to baby my computer; I'm only trying to be considerate of
> any limitations there might be for an SSD currently.

Does Frescobaldi have an autocompile feature where it basically saves
and compiles at every keystroke in order to keep a preview up-to-date?
If so, I'd just switch that off (it's probably also awful for battery
life).  Similarly, try getting a large enough amount of RAM and set
/proc/sys/vm/swappiness to 0.  Personally, I also avoid hibernation
since that's a few GB at one stroke.  It may be sort of superstitious,
but the usage data of my SSD indeed slowly suggests looking for
replacements.

I wouldn't worry about normal Frescobaldi usage when compilation is
manually triggered by the user, at least not with current SSDs.

-- 
David Kastrup

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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread David Kastrup
Saul Tobin  writes:

> Hi all,
>
> I've noticed that under certain circumstances (I think if the page spacing
> needs to be compressed?) Lilypond will disregard the vertical order of
> TextScripts. So something like:
>
> \relative c'' {
>   f4^"long long long"^"short" e'2.
> }
>
> By itself, this correctly displays the short indication above the long one.
> But sometimes Lilypond, in order to save space, will move the short
> indication below the long one. This is understandable, but it can lead to
> incorrect notation if the order matters. For example, indications of who is
> playing (e.g. solo or tutti) are generally supposed to go above indications
> of playing style or technique.
>
> Is there a way to force Lilypond to respect the specified vertical order of
> TextScripts? Ideally, not as a one time override or tweak but throughout an
> entire score.

Why don't you use a single textscript then?  Like

\relative c'' {
  f4^\markup \column { "long long long" "short" } e'2.
}

That way the order is strictly under your control.

-- 
David Kastrup

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


Re: Re-direct write processes in Frescobaldi?

2018-02-18 Thread Urs Liska


Am 18. Februar 2018 09:01:30 MEZ schrieb David Kastrup :
>Joshua Nichols  writes:
>
>> The reason I asked was not because I didn't know this, but because an
>> article said "under normal use, SSDs will last longer than the
>computer
>> themselves." I don't know if constantly saving, writing, and
>compiling
>> lilypond files with temporary files saved in Frescobaldi would be
>> considered "beyond normal use." I appreciate your explanation of
>this.
>>
>> I'm not trying to baby my computer; I'm only trying to be considerate
>of
>> any limitations there might be for an SSD currently.
>
>Does Frescobaldi have an autocompile feature where it basically saves
>and compiles at every keystroke in order to keep a preview up-to-date?

Yes, it has, with some latency so it only triggers in (short) typing pauses.

>If so, I'd just switch that off (it's probably also awful for battery
>life).  

Also it basically makes your computer *compile* full-time.


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


Re[2]: Re-direct write processes in Frescobaldi?

2018-02-18 Thread Trevor


Andrew Bernard wrote on 17/02/2018 08:40:12

Myths about SSD's arise from early days. You have a new computer with 
presumably a current SSD. Such SSD's can sustain petabyte (that's 
petabyte) writes before they fail. If you write a terabyte of 
Frescobaldi data to the disk in a year, which is utterly unreasonable, 
you can expect to get 1000 years use out of it. The electronics in your 
computer will fail sometime in that period. :-) There are admittedly 
other factors relating to hard drive failure, but mechanical drives 
suffer the same factors.


I wish people would relax about this topic or read the extensive 
literature on contemporary drive testing,


Here's a five paragraph summary article on this type of testing:

http://www.zdnet.com/article/worried-about-ssd-wear-you-probably-dont-need-to-be/

There also exist many very learned papers on the same topic, showing 
very high endurance figures for consumer SSD's.
In spite of this my Samsung SSD has started to fail after around 4 years 
fairly intensive use in my main laptop, fortunately just a month after I 
invested in a new laptop (complete with SSD).  When the old SSD warms 
up, after little more than 15 mins use, it fails and causes my laptop to 
crash.  I know it's the SSD as it has the same effect on two laptops 
which are both fine with HDDs.  Of course it could be the electronics in 
the SSD rather than the store itself, but the effect is much the same.  
Nevertheless the benefits far outweigh the dangers - just make sure you 
make frequent backups of anything critical, just as you would with any 
other type of drive.


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


Re: Advice on glyph construction

2018-02-18 Thread Andrew Bernard
In partial accomplishment of this with text spanners, the following is
close but I can't figure out how to get the rightmost Unicode glyph to sit
further down, and then I also need arrows off to the right of this glyph
from time to time.

I am sure others can do much better than my effort here.

Andrew

===
\version "2.19.81"

treble = {
  \override TextSpanner.style = #'line
  \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
  \override TextSpanner.bound-details.left.text = \markup { \char ##x25D0 }
  \override TextSpanner.bound-details.right.text = \markup { \char ##x20DD }
  \override TextSpanner.bound-details.right.arrow = ##t
  c'4\startTextSpan
  c' c' c' |
  c' c' c' c'\stopTextSpan |
}

===


On 18 February 2018 at 20:52, Andrew Bernard 
wrote:

> I am looking for some advice as to the best way to go about making some
> glyphs with half filled circles and joined by arrows. Please refer to
> attached image for the sort of thing I need. There's more than one way to
> do this I am sure. I could use Unicode glyphs for the circles and half
> filled circles, or some moderately complex Postscript (see for example the
> LSR example for airy tones - rotated the wrong way for my use) but I am not
> sure what the best way is to make a spanning arrow. Can this sort of thing
> be done with TextSpanner modifications? I am also going to need arrows off
> the the right of the last circle.
>
> Any pointers appreciated.
>
> Andrew
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Simon Albrecht

On 18.02.2018 01:19, Saul Tobin wrote:
Is there a way to force Lilypond to respect the specified vertical 
order of TextScripts? Ideally, not as a one time override or tweak but 
throughout an entire score.


The solution that comes to mind is assigning different values of 
outside-staff-priority, but of course that does require tweaking.


Best, Simon

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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
That's a reasonable workaround, but it's not semantic. A single column
markup is appropriate for one expression split across lines IMO. If it's
multiple expressions communicating distinct things, it makes sense to keep
them separate, particularly if one or more of them are predefined markups.

On Sun, Feb 18, 2018 at 12:03 AM, David Kastrup  wrote:

> Saul Tobin  writes:
>
> > Hi all,
> >
> > I've noticed that under certain circumstances (I think if the page
> spacing
> > needs to be compressed?) Lilypond will disregard the vertical order of
> > TextScripts. So something like:
> >
> > \relative c'' {
> >   f4^"long long long"^"short" e'2.
> > }
> >
> > By itself, this correctly displays the short indication above the long
> one.
> > But sometimes Lilypond, in order to save space, will move the short
> > indication below the long one. This is understandable, but it can lead to
> > incorrect notation if the order matters. For example, indications of who
> is
> > playing (e.g. solo or tutti) are generally supposed to go above
> indications
> > of playing style or technique.
> >
> > Is there a way to force Lilypond to respect the specified vertical order
> of
> > TextScripts? Ideally, not as a one time override or tweak but throughout
> an
> > entire score.
>
> Why don't you use a single textscript then?  Like
>
> \relative c'' {
>   f4^\markup \column { "long long long" "short" } e'2.
> }
>
> That way the order is strictly under your control.
>
> --
> David Kastrup
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread David Kastrup
Saul Tobin  writes:

> That's a reasonable workaround, but it's not semantic. A single column
> markup is appropriate for one expression split across lines IMO. If it's
> multiple expressions communicating distinct things, it makes sense to keep
> them separate, particularly if one or more of them are predefined markups.

If their vertical order is seminal to the reading, you need to either
make them a single markup or give them different outside-staff-priority
values.

-- 
David Kastrup

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


Re: Advice on glyph construction

2018-02-18 Thread Torsten Hämmerle
Hi Andrew,

It's quite annoying that the Unicode characters differ in size and bounding
box (surprisingly, there is no matching circle among the Geometric Shapes
U+25A0 to U+25FF)...


Andrew Bernard wrote
> [...] but I can't figure out how to get the rightmost Unicode glyph to sit
> further down [...]

That's easy: you'll have to set 
TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
(in your example, only the left align dir has been set to center, that's why
the right text still sits on its baseline).

Having that done, the circles still don't align properly, because they are
slightly different in size and the empty circle has a wider bounding-box
(that's why there is a little gap between the arrow and the circle).

I often use the \box command with zero box-padding to actually see the
bounding boxes, e.g.
\markup \concat \override #'(box-padding . 0) \box { \char ##x25D0 \char
##x20DD }





Andrew Bernard wrote
> [...], and then I also need arrows off to the right of this glyph
> from time to time.

Unfortunately, the line-spanner uses a custom arrow head
(Line_interface::make_arrow) that strongly differs from the standard
\arrow-head markups.
It can be mimicked by using a rotated and scaled triangle, though.

All in all, I've set up two simple \markup definitions (adjusting bounding
box and size of the circles and adding an artificial markup arrow.
It's not a proper solution (manual tweaking involved and with another font,
Unicode characters may behave completely different), but, well, it's a
simple solution using nothing but run-of-the-mill markup:

~~~
\version "2.19.81"

halfCircle = \markup { \hspace #.21 \char ##x25D0 \hspace #0.21 }
emptyCircleArrow = \markup \concat { \lower #.27 \scale #'(1.075 . 1.075)
\char ##x20DD 
 \hspace #0.2
 \rotate #-90 \lower #0.03 \scale
#'(0.38 . 0.6) \triangle ##t }

 {
  \override TextSpanner.style = #'line
  \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
  \override TextSpanner.bound-details.left.text = \markup \halfCircle
  \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
  \override TextSpanner.bound-details.right.text = \markup \emptyCircleArrow
  \override TextSpanner.bound-details.right.arrow = ##t
  c'4\startTextSpan
  c' c' c' |
  c' c' c' c'\stopTextSpan |
}

circle-markup.png
  


HTH,
Torsten



--
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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Torsten Hämmerle
How about script-priority?

I always thought that concurrent (Text)Scripts will be internally numbered
by counting up script-priority in the order given and the first
(Text)Scripts will be printed closest to the noteheads (depending on whether
the scripts are above or below the stave).

So, even all have the same outside-staff-priority, their order can still be
manipulated by using script-priority, that's what script-priority has been
designed for.

Or did I get something wrong?

Torsten



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


2.19.81 tarball updates?

2018-02-18 Thread Mason Hock
downloads.linuxaudio.org is working again, and the mirrors they host including 
Lilypond's are back up. However, the newest version up there is still 2.19.80. 
When will 2.19.81 be added?

Thanks,

Mason


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


Re: 2.19.81 tarball updates?

2018-02-18 Thread Ben


On 2/18/2018 2:42 PM, Mason Hock wrote:

downloads.linuxaudio.org is working again, and the mirrors they host including 
Lilypond's are back up. However, the newest version up there is still 2.19.80. 
When will 2.19.81 be added?

Thanks,

Mason




Hi,

It's still down for me here


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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Noeck
Hi,

Am 18.02.2018 um 14:16 schrieb Torsten Hämmerle:
> How about script-priority?


That seems to work:

{
   a-\tweak script-priority #201 -"p=201" -"p default"
   a a a
   a-\tweak script-priority #202 -"p=202" -"p default"
   a a a
}

According to this example the default priority seems to be 201 but
perhaps that depends on other things?

Cheers,
Joram

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


typesetting: doing it twice

2018-02-18 Thread Ali Cuota
Hello Lilyponders,

I have a question about planing typesetting:
Do we have any possibility to say which piece we will typeset, by
date. To avoid 2 persons typesetting the same at the same moment?

Thanks in advance,

Francois

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


Re: 2.19.81 tarball updates?

2018-02-18 Thread Mason Hock
This link doesn't work for you?

http://download.linuxaudio.org/lilypond/source/v2.19/

Mason

On 02/18, Ben wrote:
> 
> On 2/18/2018 2:42 PM, Mason Hock wrote:
> > downloads.linuxaudio.org is working again, and the mirrors they host 
> > including Lilypond's are back up. However, the newest version up there is 
> > still 2.19.80. When will 2.19.81 be added?
> > 
> > Thanks,
> > 
> > Mason
> > 
> > 
> 
> Hi,
> 
> It's still down for me here
> 
> 


> ___
> 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: 2.19.81 tarball updates?

2018-02-18 Thread Ben

On 2/18/2018 3:44 PM, Mason Hock wrote:

This link doesn't work for you?


It does, but I copied your original message without double checking it - 
you made a mistake and posted an "s" at the end of downloadI see it 
now, yes it's online.



http://download.linuxaudio.org/lilypond/source/v2.19/

Mason

On 02/18, Ben wrote:

On 2/18/2018 2:42 PM, Mason Hock wrote:

*downloads.linuxaudio.org*  is working again, and the mirrors they host 
including Lilypond's are back up. However, the newest version up there is still 
2.19.80. When will 2.19.81 be added?

Thanks,

Mason



Hi,

It's still down for me here






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


Re: 2.19.81 tarball updates?

2018-02-18 Thread Ben

On 2/18/2018 3:44 PM, Mason Hock wrote:

This link doesn't work for you?

http://download.linuxaudio.org/lilypond/source/v2.19/

Mason


And the current downloads are listed and available here:

http://lilypond.org/downloads/binaries/

from the lilypond.org website:

http://lilypond.org/development.html



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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
It seems very un-Lilypond-like for the output to be so unpredictable, given
that the order is well defined most of the time. It is hard to predict from
the code when Lilypond will violate the specified order, so the only real
solution is to combine expressions into a single markup 100% of the time.
IMO this workaround amounts to deprecating the use of multiple TextScripts
as undefined behavior.

On Sun, Feb 18, 2018 at 3:30 AM, David Kastrup  wrote:

> Saul Tobin  writes:
>
> > That's a reasonable workaround, but it's not semantic. A single column
> > markup is appropriate for one expression split across lines IMO. If it's
> > multiple expressions communicating distinct things, it makes sense to
> keep
> > them separate, particularly if one or more of them are predefined
> markups.
>
> If their vertical order is seminal to the reading, you need to either
> make them a single markup or give them different outside-staff-priority
> values.
>
> --
> David Kastrup
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Torsten Hämmerle
Hi Joram,

TextScript.script-priority has a default value of 200.
Each concurrent TextScript will be counted up (starting with 200+0 = 200,
200+1 = 201, 200+2 = 202, etc.) by default.
The smaller the number, the closer to the notehead.

So, by default, LilyPond will keep the order of TextScripts intact and I'm
really wondering what happened in your original non-working example...

*Caveat:*
Your first \tweak may be dangerous, because LilyPond will automatically
count up the value of script-priority, i.e. when saying
{ a-\tweak script-priority #201 -"one" -"two" }
then both "one" and "two" will have the same script-priority value 201 and
anything could happen.

All the best,
Torsten







--
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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Kieren MacMillan
Hi Saul,

> It seems very un-Lilypond-like for the output to be so unpredictable, given 
> that the order is well defined most of the time. It is hard to predict from 
> the code when Lilypond will violate the specified order, so the only real 
> solution is to combine expressions into a single markup 100% of the time.

No… Another real solution would be to write a function that takes an ordered 
list of markups and outputs them with tweaks that guarantee they appear in that 
order.

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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread David Kastrup
Saul Tobin  writes:

> It seems very un-Lilypond-like for the output to be so unpredictable,

No.  It is the job of LilyPond to arrange elements in the best possible
manner representing the input, and that is what it does.

LilyPond is not a music typewriter, but a typesetting program.  It
doesn't principally work left-to-right and top-to-bottom.

-- 
David Kastrup

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


Re: typesetting: doing it twice

2018-02-18 Thread Simon Albrecht

On 18.02.2018 21:40, Ali Cuota wrote:

Hello Lilyponders,

I have a question about planning typesetting:
Do we have any possibility to say which piece we will typeset, by
date. To avoid 2 persons typesetting the same at the same moment?


Hi Francois,

what are you referring to? LilyPond users in general?
It does seem like in addition to Mutopia there are several small 
projects with similar scope and very much uncoordinated.
If I’m honest: I like the idea of having ‘all’ of public domain music 
available for free as high-quality LilyPond code, but I’m pretty 
pessimistic about it happening without the backing of a really powerful 
institution.


Best, Simon

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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
Indeed. However, the vertical order of expressions is part of content, not
a purely graphical layout issue.

On Sun, Feb 18, 2018 at 1:08 PM, David Kastrup  wrote:

> Saul Tobin  writes:
>
> > It seems very un-Lilypond-like for the output to be so unpredictable,
>
> No.  It is the job of LilyPond to arrange elements in the best possible
> manner representing the input, and that is what it does.
>
> LilyPond is not a music typewriter, but a typesetting program.  It
> doesn't principally work left-to-right and top-to-bottom.
>
> --
> David Kastrup
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: typesetting: doing it twice

2018-02-18 Thread Ali Cuota
Dear Simon,

thanks for your much better formulation: coordinating Mutopia ( or
even people without the idea of publishing, but accepting others do it
for them).

This is my question.

Francois 

  http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail";
target="_blank">https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png";
alt="" width="46" height="29" style="width: 46px; height: 29px;"
/>
Libre de virus. http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail";
target="_blank" style="color: #4453ea;">www.avg.com 




2018-02-18 16:10 GMT-05:00, Simon Albrecht :
> On 18.02.2018 21:40, Ali Cuota wrote:
>> Hello Lilyponders,
>>
>> I have a question about planning typesetting:
>> Do we have any possibility to say which piece we will typeset, by
>> date. To avoid 2 persons typesetting the same at the same moment?
>
> Hi Francois,
>
> what are you referring to? LilyPond users in general?
> It does seem like in addition to Mutopia there are several small
> projects with similar scope and very much uncoordinated.
> If I’m honest: I like the idea of having ‘all’ of public domain music
> available for free as high-quality LilyPond code, but I’m pretty
> pessimistic about it happening without the backing of a really powerful
> institution.
>
> Best, Simon
>

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


pre-processors for change note_language

2018-02-18 Thread Ali Cuota
Hi again,

Do we have some preprocessors to translate noteNames from one language
to other? I never read about it, but maybe I missed the point in the
doc.

Thanks in advance,

Francois

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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Kieren MacMillan
Hi Saul,

> However, the vertical order of expressions is part of content, not a purely 
> graphical layout issue.

Hmmm… I'm not sold on that.

If I write  versus , is the order part of the content? All 
three notes appear at the same musical moment, and will appear vertically as 
 either way — and that's how I would expect it. Similarly, 
c4\f\tenuto and c4\tenuto\f will appear the same way (as Lilypond determines), 
unless I specifically tweak one or more of the elements.

Why should multiple expressions be handled differently?

Thanks,
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: pre-processors for change note_language

2018-02-18 Thread Simon Albrecht

On 18.02.2018 22:28, Ali Cuota wrote:

Hi again,

Do we have some preprocessors to translate noteNames from one language
to other? I never read about it, but maybe I missed the point in the
doc.


LilyPond doesn’t, but python-ly does. You can either open the code in 
Frescobaldi, highlight it, and convert it using Tools->Pitch->Pitch Name 
Language, or you can call python-ly directly from the command line.


Best, Simon

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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Torsten Hämmerle
Hi Kieren,

Sometimes, the order of stacks /is/ important and you even can't always put
them together into a \markup column:

Fingering, for example, uses script-priority, too.
This time, it does not depend on any input order, but the script-priority is
calculated from the Y-position of the noteheads in a chord (centre of the
stave means zero offset). The order of entry doesn't matter, but the order
of fingering numbers has to be the exact same order as the (graphical) order
of noteheads in a chord.

It's the same mechanism, though.
And a lot has to happen before LilyPond starts messing with that
well-defined order. At least that's what I always thought up to now... (?)

Cheerio,
Torsten




--
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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Kieren MacMillan
Hi Torsten,

> Sometimes, the order of stacks /is/ important and you even can't always put
> them together into a \markup column

I didn’t refute that. I simply pointed out there is nothing in Lilypond to 
distinguish between when script order is important and when it's not — so she 
does what she does.

If someone requires order-dependent scripts, they should just write a little 
syntactic sugar to handle the situation.

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: Re[2]: Re-direct write processes in Frescobaldi?

2018-02-18 Thread Joshua Nichols
Thank you, I already save all of my data to a separate drive, so everything
that goes on the SSD is trivial and retrievable (such as purchased apps,
etc). I really need this SSD to last a long time, though, as the SSD is
soldered directly to the motherboard... This would mean an expensive
replacement of a computer I've spent a lot of money on.

--
Josh

On Sun, Feb 18, 2018 at 4:11 AM, Trevor  wrote:

>
> Andrew Bernard wrote on 17/02/2018 08:40:12
>
> Myths about SSD's arise from early days. You have a new computer with
> presumably a current SSD. Such SSD's can sustain petabyte (that's petabyte)
> writes before they fail. If you write a terabyte of Frescobaldi data to the
> disk in a year, which is utterly unreasonable, you can expect to get 1000
> years use out of it. The electronics in your computer will fail sometime in
> that period. :-) There are admittedly other factors relating to hard drive
> failure, but mechanical drives suffer the same factors.
>
> I wish people would relax about this topic or read the extensive
> literature on contemporary drive testing,
>
> Here's a five paragraph summary article on this type of testing:
>
> http://www.zdnet.com/article/worried-about-ssd-wear-you-
> probably-dont-need-to-be/
>
> There also exist many very learned papers on the same topic, showing very
> high endurance figures for consumer SSD's.
>
> In spite of this my Samsung SSD has started to fail after around 4 years
> fairly intensive use in my main laptop, fortunately just a month after I
> invested in a new laptop (complete with SSD).  When the old SSD warms up,
> after little more than 15 mins use, it fails and causes my laptop to
> crash.  I know it's the SSD as it has the same effect on two laptops which
> are both fine with HDDs.  Of course it could be the electronics in the SSD
> rather than the store itself, but the effect is much the same.
> Nevertheless the benefits far outweigh the dangers - just make sure you
> make frequent backups of anything critical, just as you would with any
> other type of drive.
>
> Trevor
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Re[2]: Re-direct write processes in Frescobaldi?

2018-02-18 Thread Andrew Bernard
Hi Joshua,

So you are just ignoring all the test results about SSD drives? You think
that Macbook Air users should all rush to buy an external disk? As
previously, suggested, google the many test results on drive endurance, and
take it easy, and discard the myth you hold on to which dates from early
SSD drives when the technology was in its infancy. The only reason I write
this is that many people search the archives of this forum for advice and
it's better not to promote inaccurate views about drives here, for the sake
of others who may also be uncertain about this in the future.

Depending what you mean by a long time, a current SSD will last from 5 to 7
years. If your SSD fails it can be replaced without losing the whole
computer by a tech, even if soldered to the board - unsoldering stations
are common and used by all techs, and the drive is possibly mounted  by a
plug socket and screw like M2 SSD drives. So again, don't worry.

Andrew


On 19 February 2018 at 09:30, Joshua Nichols 
wrote:

> Thank you, I already save all of my data to a separate drive, so
> everything that goes on the SSD is trivial and retrievable (such as
> purchased apps, etc). I really need this SSD to last a long time, though,
> as the SSD is soldered directly to the motherboard... This would mean an
> expensive replacement of a computer I've spent a lot of money on.
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: typesetting: doing it twice

2018-02-18 Thread Andrew Bernard
Hi Francois,

That's an interesting question but it is software engineering, not
something in the lilypond domain. You could use git and manage pull
requests,as one example. Yours is a meta level question unrelated to
lilypond per se, which is an engraving tool, not a code base management
environment.

So, no, lilypond can't 'lock out' users from working on the same project or
file at once. You will need some level of management here.

Andrew



On 19 February 2018 at 07:40, Ali Cuota  wrote:

>
> I have a question about planing typesetting:
> Do we have any possibility to say which piece we will typeset, by
> date. To avoid 2 persons typesetting the same at the same moment?
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Advice on glyph construction

2018-02-18 Thread Andrew Bernard
Hi Torsten,

Thank you so much for your help. I can adapt that to my needs.

It is surprising that the open circle and the filled ones of various sorts
in Unicode have different bounding boxes. And that's a great tip for
showing the bounding box. You would think these circle glyphs would often
be used together. I wonder if that is a font issue. I am using Linux
Biolinum 0. May be worth my experimenting with other font renditions.

I really appreciate this. I may well end up writing Postscript as I think I
am going to need quarter filled circles and other non Unicode glyph objects
later on, and I am fluent in Postscript, but using text spanners is great
for now as I can show the results pretty well, and quickly.

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


Re: Re[2]: Re-direct write processes in Frescobaldi?

2018-02-18 Thread Joshua Nichols
I could conceive of a designer that would do that (solder things to the
motherboard) to increase the likelihood of planned obsolescence in a
device. But, this is only if the parts that are being used are actually
designed that way: and thus cheaply built machines have a higher rate
of obsolescence... Hence my hesitation.

Thank you for your feedback!

--
Josh

On Sun, Feb 18, 2018 at 7:25 PM, Brian Barker 
wrote:

> At 17:30 18/02/2018 -0500, Joshua Nichols wrote:
>
>> I really need this SSD to last a long time, though, as the SSD is
>> soldered directly to the motherboard.
>>
>
> My guess would be that this is the most significant evidence so far.
> Soldering something to the motherboard is good engineering design for a
> component that is likely to outlast the computer itself, but not for
> something that is likely to need replacement during its life. The system's
> designer evidently had more confidence than you.
>
> Brian Barker
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Mason Hock
On 02/18, Saul Tobin wrote:
> This is exactly the sort of situation I'm talking about. You're correct
> that the order doesn't change the meaning, just as changing the vertical
> order of instruments in the score doesn't change the scoring. But there is
> a strong convention of how to order different types of text instructions

Indeed, but as layout these decisions are not part of the musical information. 
When you include these instuctions in an include file containing the musical 
content of a player's part, you are only indicating that and when these 
instructions apply. If the order in which you enter the instructions were to 
affect their placement in the score, one of Lilypond's greatest strengths, the 
ability to separate layout from content, would be compromised. Any override to 
Lilypond's behavior that applies to the entire score is better off done 
globally, in a separate file from those containing content.

Mason

> (who plays first, then instrument changes, then technical instructions,
> then style of expression), similar to the conventions for score order. You
> don't want a "solo" indication buried in between three technical
> instructions, because it could easily get missed by sightreading players.
> Also, in a full score if several staves have the same three text
> instructions, it is more readable if they are in the same vertical order
> for each staff.
> 
> On Sun, Feb 18, 2018 at 5:51 PM, Mason Hock  wrote:
> 
> > > Indeed. However, the vertical order of expressions is part of content,
> > not
> > > a purely graphical layout issue.
> >
> > With the composer:content::editor:layout, vertical order of expressions
> > seems like layout for most cases that come to mind. A composer might decide
> > to have a violist switch to arco and ponticello simultaneously. The
> > vertical order of those expressions does not affect what the violist does.
> > I struggle to think of a situation in which the vertical order of
> > simultaneous instructions would change the meaning of those instructions.
> >

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


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
This is exactly my point. All of the suggested solutions to maintain
consistent vertical ordering require using a case-by-case override or
markup function. There is no way to create a global setting to force
Lilypond to respect text vertical ordering.

MOST of the time, Lilypond respects the order of TextScripts specified in
the music expression: ^"one"^"two" will print "two" above "one." Since
Lilypond can't tell whether text is an instrument shift, number of players,
technique, etc., the correct order can only be specified by the human
engraver.

On Sun, Feb 18, 2018 at 6:18 PM, Mason Hock  wrote:

> On 02/18, Saul Tobin wrote:
> > This is exactly the sort of situation I'm talking about. You're correct
> > that the order doesn't change the meaning, just as changing the vertical
> > order of instruments in the score doesn't change the scoring. But there
> is
> > a strong convention of how to order different types of text instructions
>
> Indeed, but as layout these decisions are not part of the musical
> information. When you include these instuctions in an include file
> containing the musical content of a player's part, you are only indicating
> that and when these instructions apply. If the order in which you enter the
> instructions were to affect their placement in the score, one of Lilypond's
> greatest strengths, the ability to separate layout from content, would be
> compromised. Any override to Lilypond's behavior that applies to the entire
> score is better off done globally, in a separate file from those containing
> content.
>
> Mason
>
> > (who plays first, then instrument changes, then technical instructions,
> > then style of expression), similar to the conventions for score order.
> You
> > don't want a "solo" indication buried in between three technical
> > instructions, because it could easily get missed by sightreading players.
> > Also, in a full score if several staves have the same three text
> > instructions, it is more readable if they are in the same vertical order
> > for each staff.
> >
> > On Sun, Feb 18, 2018 at 5:51 PM, Mason Hock  wrote:
> >
> > > > Indeed. However, the vertical order of expressions is part of
> content,
> > > not
> > > > a purely graphical layout issue.
> > >
> > > With the composer:content::editor:layout, vertical order of
> expressions
> > > seems like layout for most cases that come to mind. A composer might
> decide
> > > to have a violist switch to arco and ponticello simultaneously. The
> > > vertical order of those expressions does not affect what the violist
> does.
> > > I struggle to think of a situation in which the vertical order of
> > > simultaneous instructions would change the meaning of those
> instructions.
> > >
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
I probably will write such a function to deal with my immediate needs, but
I raise the issue because this is a case where Lilypond has well defined
behavior MOST of the time, and then sometimes violates it. Normally, when
you write ^"one"^"two" you expect "two" to be displayed above "one." It
seems rather odd to need to write a special workaround to ensure that the
normal behavior happens all the time, particularly since Lilypond's spacing
algorithm in this case can violate notational conventions relating to the
content of the text.

On Sun, Feb 18, 2018 at 2:21 PM, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Torsten,
>
> > Sometimes, the order of stacks /is/ important and you even can't always
> put
> > them together into a \markup column
>
> I didn’t refute that. I simply pointed out there is nothing in Lilypond to
> distinguish between when script order is important and when it's not — so
> she does what she does.
>
> If someone requires order-dependent scripts, they should just write a
> little syntactic sugar to handle the situation.
>
> 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Kieren MacMillan
Hi Saul,

> I probably will write such a function

Excellent! Be sure to share it with the list.

> when you write ^"one"^"two" you expect "two" to be displayed above "one."

I've actually never had that expectation! (Perhaps I should have? I guess I 
just assumed it works like every other post-event in Lilypond does, which is 
that the display order is not determined by the order of entry, but instead by 
a rather complex combination of parameters known to me and otherwise.)

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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
I'm actually surprised that ordering behavior isn't documented. It's so
consistent 99% of the time I just assumed it was officially defined
behavior.

On Sun, Feb 18, 2018 at 6:30 PM, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Saul,
>
> > I probably will write such a function
>
> Excellent! Be sure to share it with the list.
>
> > when you write ^"one"^"two" you expect "two" to be displayed above "one."
>
> I've actually never had that expectation! (Perhaps I should have? I guess
> I just assumed it works like every other post-event in Lilypond does, which
> is that the display order is not determined by the order of entry, but
> instead by a rather complex combination of parameters known to me and
> otherwise.)
>
> 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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Kieren MacMillan
Hi Saul,

> I'm actually surprised that ordering behavior isn't documented. It's so 
> consistent 99% of the time I just assumed it was officially defined behavior.

Well,  
says “If two objects have the same outside-staff-priority the one encountered 
first will be placed closer to the staff.” It continues: “In the following 
example all the markup texts have the same priority (since it is not explicitly 
set).” So far, so good.

But then: “Note that ‘Text3’ is automatically positioned close to the staff 
again, nestling under ‘Text2’.” [!!] So there is some skyline (vertical and/or 
horizontal) calculation going on. Have you tried your "problem" score with all 
skylines turned off (etc.), to see if it makes a difference? That's not 
something you probably want to have as a global setting, but it might give you 
more insight into why you’re seeing the current behaviour. 

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: Force Lilypond to preserve vertical order of TextScripts?

2018-02-18 Thread Saul Tobin
Is that the same scenario? By "encountered first" is the doc referring to
the parser or to the moment in musical time?

I can attempt turning off skylines, but I suspect the score will just
explode. I haven't had time to construct a controlled example of the
squished spacing. Seems hard to make it "tiny."

On Sun, Feb 18, 2018 at 6:47 PM, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Saul,
>
> > I'm actually surprised that ordering behavior isn't documented. It's so
> consistent 99% of the time I just assumed it was officially defined
> behavior.
>
> Well,  automatic-behavior> says “If two objects have the same
> outside-staff-priority the one encountered first will be placed closer to
> the staff.” It continues: “In the following example all the markup texts
> have the same priority (since it is not explicitly set).” So far, so good.
>
> But then: “Note that ‘Text3’ is automatically positioned close to the
> staff again, nestling under ‘Text2’.” [!!] So there is some skyline
> (vertical and/or horizontal) calculation going on. Have you tried your
> "problem" score with all skylines turned off (etc.), to see if it makes a
> difference? That's not something you probably want to have as a global
> setting, but it might give you more insight into why you’re seeing the
> current behaviour.
>
> 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


what's the error?

2018-02-18 Thread Mark Stephen Mrotek
Hello,

 

See the attachment for what I want.

 

This is what I code:

 

\relative c'' {

<<{bes8 [a]}\\{

\once \set tieWaitForNote = ##t

\grace {c,8~ d~ fis~} 4}>>

}

 

The error message is "unterminated tie."

 

Someone have a keener eye than I?

 

Thank you.

 

Mark

 

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


Re: what's the error?

2018-02-18 Thread Ben

On 2/18/2018 10:28 PM, Mark Stephen Mrotek wrote:


Hello,

See the attachment for what I want.

This is what I code:

\relative c'' {

<<{bes8 [a]}\\{

    \once \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} 4}>>

}

The error message is “unterminated tie.”

Someone have a keener eye than I?

Thank you.

Mark




Hi Mark,

Try this -
Your code compiles if you remove the \once:

\version "2.19.80"

\relative c'' {

<<{bes8 [a]}\\{

   \set tieWaitForNote = ##t

    \grace {c,8~ d~ fis~} 4}>>

}

Otherwise you'd have to rework a bit...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: what's the error?

2018-02-18 Thread Mark Stephen Mrotek
Ben,

 

Thanks for the solution!

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Ben
Sent: Sunday, February 18, 2018 7:38 PM
To: lilypond-user@gnu.org
Subject: Re: what's the error?

 

On 2/18/2018 10:28 PM, Mark Stephen Mrotek wrote:



Hello,

 

See the attachment for what I want.

 

This is what I code:

 

\relative c'' {

<<{bes8 [a]}\\{

\once \set tieWaitForNote = ##t

\grace {c,8~ d~ fis~} 4}>>

}

 

The error message is “unterminated tie.”

 

Someone have a keener eye than I?

 

Thank you.

 

Mark

 


Hi Mark,

Try this -
Your code compiles if you remove the \once:

\version "2.19.80"

\relative c'' {

<<{bes8 [a]}\\{

   \set tieWaitForNote = ##t

\grace {c,8~ d~ fis~} 4}>>

}

Otherwise you'd have to rework a bit...

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


Re: typesetting: doing it twice

2018-02-18 Thread Federico Bruni



Il giorno dom 18 feb 2018 alle 22:26, Ali Cuota  
ha scritto:

Dear Simon,

thanks for your much better formulation: coordinating Mutopia ( or
even people without the idea of publishing, but accepting others do it
for them).

This is my question.



Mutopia has a list of projects which people are (supposedly) working on:
http://www.mutopiaproject.org/projects.html

Actually it looks like a dead list.
IMO it would be much better if these projects were listed as Github 
(properly labeled) issues/pull requests. So you could see who's working 
on what, if something has done and contact the person in charge in case 
you want to take it over, etc.


In general, I would use git and an issue management software like 
Github/Gitlab.

This blog post provides a detailed analysis:
http://lilypondblog.org/2016/10/distributed-editing-responsibility-and-quality/

Best
Federico


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