Re: Creating multi-score books

2017-02-15 Thread Urs Liska
(Please always reply-to-all)


Am 16.02.2017 um 07:39 schrieb Don Gingrich:
> On Thu, 16 Feb 2017 07:32:09 you wrote:
>> Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich 
> :
>>> I've got a basic problem, and I'm not having much
>>> joy with the documentation.
>>>
>>> Over the past few years I've created several scores
>>> for folk songs.
>>>
>>> Now, I'm going to be doing a workshop discussing
>>> their origins.
>>>
>>> What I'd like to create is:
>>>
>>> 
>>>
>>> 
>>>
>>> 
>>>
>>> 
>>>
>>> 
>>>
>>> and so on
>>>
>>> I'm probably more familiar with LaTeX than
>>> LilyPond, so I'd really prefer to do the cover
>>> page and discussion in TeX and the scores
>>> in LilyPond.
>> If I don't misunderstand you I would compile the songs individually and
>> include them using \includepdf.
> Hmmm I hadn't looked at it that way, but
> it may be the simplest way to get the job done.
>
> But, in the long run I would like to be able to
> build multi-page books of LilyPond scores,
> though this seems to be a difficult task.
>
> But to get it together for the upcoming  workshop
> keeping it simple is likely a good idea.
>
> Cheers,
>
> -Don
>
>

I'm not totally sure about that. Keeping separate things separate like
this feels pretty clean to me.
Combine that with a good makefile, and you have both, perfect
integration plus the option of standalone scores.

Urs

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


Re: Creating multi-score books

2017-02-15 Thread Urs Liska


Am 16. Februar 2017 07:02:10 MEZ schrieb Don Gingrich 
:
>I've got a basic problem, and I'm not having much
>joy with the documentation.
>
>Over the past few years I've created several scores
>for folk songs. 
>
>Now, I'm going to be doing a workshop discussing
>their origins.
>
>What I'd like to create is:
>
>
>
>
>
>
>
>
>
>
>
>and so on
>
>I'm probably more familiar with LaTeX than
>LilyPond, so I'd really prefer to do the cover
>page and discussion in TeX and the scores
>in LilyPond.

If I don't misunderstand you I would compile the songs individually and include 
them using \includepdf.

HTH
Urs


>
>Note that some of the scores were originally 
>entered using MuseScore and the converted
>using xml2ly -- so the LilyPond code is *ugly*
>but works as a standalone score. In my copious
>free time I'd like to shift these converted scores
>into clean code, but it's in the "if it ain't broke."
>category unless the converted stuff is likely to be
> breaking things.
>
>My minimal example winds up being several hundred
>lines, so I've not included it. 
>
>I tried this:
>
>\header {
>  title = "Eight miniatures"
>  composer = "Igor Stravinsky"
>}
>\score {
>  …
>  \header { piece = "Romanze" }
>}
>\markup {
>   …text of second verse…
>}
>\markup {
>   …text of third verse…
>}
>\score {
>  …
>  \header { piece = "Menuetto" }
>}
>
>With including the score files and it
>did not work.
>
>I tried this first:
>
>\documentclass[a4paper]{article}
>
>\begin{document}
>
>Documents for \verb+lilypond-book+ may freely mix music and text.
>For example,
>
>Options are put in brackets.
>
>Larger examples can be put into a separate file, and introduced with
>\verb+\lilypondfile+.
>
>\lilypondfile[quote,noindent]{MyFileName.ly}
>
>(If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file
>you put in the same directory as this file.)
>
>\end{document}
>
>And all that I got was the filename printed where the score should
>have been.
>
>I also looked at the thread titled:
>"Problem with lilypond-book and \markup blocks" from 2007
>But when I tried to add a header after the \score{ -- e.g.
>\score {
> \header{
> title = "some silly thing"
>   composer = "Not Mozart"
>}
>{
><<
>
>The title and composer disappeared into the ether -- clearly
>the method here only works for snippets, not full or multi-page
>scores.
>
>I keep banging at this and getting nowhere.
>
>
>As putting a bunch of individual scores together into a book may
>be a more or less common task, a good template would be brilliant
>and potentially useful for others
>
>Thanks,
>
>-Don
>
>-- 
>Don Gingrich
>
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Creating multi-score books

2017-02-15 Thread Don Gingrich
I've got a basic problem, and I'm not having much
joy with the documentation.

Over the past few years I've created several scores
for folk songs. 

Now, I'm going to be doing a workshop discussing
their origins.

What I'd like to create is:











and so on

I'm probably more familiar with LaTeX than
LilyPond, so I'd really prefer to do the cover
page and discussion in TeX and the scores
in LilyPond.

Note that some of the scores were originally 
entered using MuseScore and the converted
using xml2ly -- so the LilyPond code is *ugly*
but works as a standalone score. In my copious
free time I'd like to shift these converted scores
into clean code, but it's in the "if it ain't broke."
category unless the converted stuff is likely to be
 breaking things.

My minimal example winds up being several hundred
lines, so I've not included it. 

I tried this:

\header {
  title = "Eight miniatures"
  composer = "Igor Stravinsky"
}
\score {
  …
  \header { piece = "Romanze" }
}
\markup {
   …text of second verse…
}
\markup {
   …text of third verse…
}
\score {
  …
  \header { piece = "Menuetto" }
}

With including the score files and it
did not work.

I tried this first:

\documentclass[a4paper]{article}

\begin{document}

Documents for \verb+lilypond-book+ may freely mix music and text.
For example,

Options are put in brackets.

Larger examples can be put into a separate file, and introduced with
\verb+\lilypondfile+.

\lilypondfile[quote,noindent]{MyFileName.ly}

(If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file
you put in the same directory as this file.)

\end{document}

And all that I got was the filename printed where the score should
have been.

I also looked at the thread titled:
"Problem with lilypond-book and \markup blocks" from 2007
But when I tried to add a header after the \score{ -- e.g.
\score {
 \header{
 title = "some silly thing"
   composer = "Not Mozart"
}
{
<<

The title and composer disappeared into the ether -- clearly
the method here only works for snippets, not full or multi-page
scores.

I keep banging at this and getting nowhere.


As putting a bunch of individual scores together into a book may
be a more or less common task, a good template would be brilliant
and potentially useful for others

Thanks,

-Don

-- 
Don Gingrich



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


Re: Right line of an ottava bracket

2017-02-15 Thread Noeck
> But I have to say they are pretty much unrelated

Sorry, Urs, you're right. I asked that question in some thread back then
and just assumed and answer was in there. I don't know any more about it.

Joram

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


Re: Right line of an ottava bracket

2017-02-15 Thread Urs Liska
Thanks for the links. But I have to say they are pretty much unrelated
to my question of changing the vertical edge line (this includes that
the linked discussions don't say anything about this *not* being possible).

So it seems like I'll have to go and create a completely custom stencil
to customize the ottava spanner?

Urs


Am 15.02.2017 um 23:45 schrieb Noeck:
> And the link:
> http://comments.gmane.org/gmane.comp.gnu.lilypond.general/99637
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: Customizing ottava text

2017-02-15 Thread Urs Liska
Hi,

as I got quite a few similar responses I'll reply at once.

All the suggestions that manually set Staff.ottavation don't work
because I want something that can be defined in a stylesheet without the
user having to change the music content (by manually setting the ottava
text for each case).

So Joram's function is the only that would satisfy my needs, but then
I'm already happy with the solution I had come up with in my initial
post. So obviously there is no simpler solution available.

What I would actually like to have is a property that can hold a list of
strings to be used for the different octaves, so you could write

\override Staff.OttavaBracket.labels =
#'((2 . "16") ; (used by some publishers)
   (1 . "8")
   (0 . #f)
   (-1 . "8")
   (-2 . "16"))

The following code (from define-music-callbacks.scm) is obviously
responsible for producing the octavation. If someone could tell me how
this can read a property from Staff.OttavaBracket from within the
function I think I could make the ottava text configurable in LilyPond.

(define (make-ottava-set music)
  "Set context properties for an ottava bracket."
  (let ((octavation (ly:music-property music 'ottava-number)))

(list (context-spec-music
   (make-apply-context
(lambda (context)
  (let ((offset (* -7 octavation))
(string (assoc-get octavation '((2 . "15ma")
(1 . "8va")
(0 . #f)
(-1 . "8vb")
(-2 . "15mb")
(set! (ly:context-property context 'middleCOffset) offset)
(set! (ly:context-property context 'ottavation) string)
(ly:set-middle-C! context
   'Staff

Urs

Am 15.02.2017 um 21:06 schrieb Urs Liska:
> Hi all,
>
> is it really true that the text of the OttavaBracket can't be
> customized? All I could find was the doc snippet
> http://lilypond.org/doc/v2.19/Documentation/snippets/text#text-ottava-text
> which suggests to manually set Staff.ottavation after the \ottava command.
>
> With this I created a function (overwriting the built-in function)
>
> #(define ottava
>(let ((orig-ottava ottava)
>  (numbers '("15" "8" "" "8" "15")))
>  (define-music-function (oct)(integer?)
>#{
>  #(orig-ottava oct)
>  #(if (not (= oct 0))
>   #{
> \set Staff.ottavation = #(list-ref numbers (+ oct 2))
>   #})
>#})))
>
>
> which actually does what I want (change "8va" to "8"), but I can't
> believe that it is really necessary to go that long way for a seemingly
> simple task.
>
> Any comments?
> Urs
>

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: Customizing ottava text

2017-02-15 Thread Noeck
Hi,

Am 15.02.2017 um 23:44 schrieb tisimst:
>  \set Staff.ottavation = 

That's what the code does, I posted before. It just does it depending on
the ottavation. It does these two things:

#(make-music 'OttavaMusic 'ottava-number octave)% = \ottava
\set Staff.ottavation = ... % = change the text

But of course you can do it by hand.

Cheers,
Joram

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


Re: Right line of an ottava bracket

2017-02-15 Thread Noeck
And the link:
http://comments.gmane.org/gmane.comp.gnu.lilypond.general/99637

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


Re: Customizing ottava text

2017-02-15 Thread tisimst
Urs, et al,

On Wed, Feb 15, 2017 at 2:59 PM, Noeck [via Lilypond] <
ml-node+s1069038n200168...@n5.nabble.com> wrote:

> Hi Urs,
>
> yes, I think you can't set the text. But you can redefine the \ottava
> function and still use the Staff.ottavation to do the work behind the
> scenes.
>

Actually you can:  http://lsr.di.unimi.it/LSR/Item?id=950

which shows:

{
  c'2
  \ottava #1
  \set Staff.ottavation = #"8"
  c''2
  \ottava #0
  c'1
  \ottava #1
  \set Staff.ottavation = #"Text"
  c''1
}


Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Customizing-ottava-text-tp200163p200172.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: Right line of an ottava bracket

2017-02-15 Thread Noeck
Hi Urs,

Am 15.02.2017 um 23:19 schrieb u...@openlilylib.org:
> I want to have the vertical line at the right edge to have the same dash
> structure (and thickness) as the horizontal part. See attached image.

That's not possible. At least not with an easy override. If you manage
to get these messages, there are more details by Pierre and David. I
can't open them:

12 Feb 2015 18:23 Noeck  Dotted ottava bracket
13 Feb 2015 12:07 Pierre Perol-Schneider Re: Dotted ottava bracket
13 Feb 2015 16:26 David Nalesnik Re: Dotted ottava bracket

Cheers,
Joram


PS: Another ottava thread:
http://lilypond.1069038.n5.nabble.com/Ottava-td159175.html

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


Re: Right line of an ottava bracket

2017-02-15 Thread Noeck
Hi Urs,

Am 15.02.2017 um 18:03 schrieb Urs Liska:
> I'm trying to style an ottava bracket. But poking around in the IR
> doesn't show me the way how to make the right vertical line look like
> the horizontal line (in the attached image).

I am not sure, I understand what you mean with "look like the horizontal
line"? Same angle? Same thickness? Rectangular edges?

These are the properties I tweak to get a dotted ottavation line:

\layout {
\override Score.OttavaBracket.dash-period = 0.6
\override Score.OttavaBracket.dash-fraction = 0.01
\override Score.OttavaBracket.edge-height = #'(0 . 0.8)
\override Score.OttavaBracket.thickness = #2
}

\relative { a \ottava 1 a'' a \ottava -1 a,, a \ottava 3 a a }


HTH,
Joram

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


Re: Customizing ottava text

2017-02-15 Thread Noeck
Hi Urs,

yes, I think you can't set the text. But you can redefine the \ottava
function and still use the Staff.ottavation to do the work behind the
scenes.

Here is my ottava function. It is extended to more than 2 octaves and
has a custom text. I always wanted a true dotted line (round dots), but
that's not so easy it seems. You asked for the line ending the bracket
today.


% define new ottava function with bold text and superscripts
ottava =
#(define-music-function (octave) (integer?)
   (_i "Set the octavation.")
   #{
 #(make-music 'OttavaMusic 'ottava-number octave)
 \set Staff.ottavation =
 #(if (< octave -1) #{ \markup \concat {
#(number->string (+ 1 (* -7 octave))) \fontsize #-2 "mb" } #}
  (if (= octave -1) #{ \markup \concat { "8" \fontsize #-2 "vb" } #}
  (if (= octave +0) #f
  (if (= octave +1) #{ \markup \concat {
"8" \fontsize #-2 \translate-scaled #'(0 . 0.85) "va" } #}
#{ \markup \concat {
#(number->string (+ 1 (* 7 octave))) \fontsize #-2
\translate-scaled #'(0 . 0.85) "ma" } #}
  
   #})


\layout {
\override Score.OttavaBracket.font-series = #'bold
}

\relative { a \ottava 1 a'' a \ottava -1 a,, a \ottava 3 a a }


Cheers,
Joram

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


Re: Customizing ottava text

2017-02-15 Thread Urs Liska


Am 15.02.2017 um 21:55 schrieb Kieren MacMillan:
> Hi Urs,
>
>> is it really true that the text of the OttavaBracket can't be customized?
> \version "2.19.48"
> \language "english"
>
> ottTest =
> \once \override Staff.OttavaBracket.before-line-breaking =
> #(lambda (grob) (ly:grob-set-property! grob 'text "testing"))
>
> { \ottTest \ottava #1 c'' }

Clicking through to "text-interface" I also found the 'text property,
but overriding it didn't seem to have an effect.

>
>> I can’t believe that it is really necessary to go that long way for a 
>> seemingly simple task.
> +1 (even with my hack)

Additionally, I'm not sure if I could tweak this approach to actually
work with my requirements ...

Urs


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

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: Customizing ottava text

2017-02-15 Thread Kieren MacMillan
Hi Urs,

> is it really true that the text of the OttavaBracket can't be customized?

\version "2.19.48"
\language "english"

ottTest =
\once \override Staff.OttavaBracket.before-line-breaking =
#(lambda (grob) (ly:grob-set-property! grob 'text "testing"))

{ \ottTest \ottava #1 c'' }


> I can’t believe that it is really necessary to go that long way for a 
> seemingly simple task.

+1 (even with my hack)

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


Customizing ottava text

2017-02-15 Thread Urs Liska
Hi all,

is it really true that the text of the OttavaBracket can't be
customized? All I could find was the doc snippet
http://lilypond.org/doc/v2.19/Documentation/snippets/text#text-ottava-text
which suggests to manually set Staff.ottavation after the \ottava command.

With this I created a function (overwriting the built-in function)

#(define ottava
   (let ((orig-ottava ottava)
 (numbers '("15" "8" "" "8" "15")))
 (define-music-function (oct)(integer?)
   #{
 #(orig-ottava oct)
 #(if (not (= oct 0))
  #{
\set Staff.ottavation = #(list-ref numbers (+ oct 2))
  #})
   #})))


which actually does what I want (change "8va" to "8"), but I can't
believe that it is really necessary to go that long way for a seemingly
simple task.

Any comments?
Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Right line of an ottava bracket

2017-02-15 Thread Urs Liska
I'm trying to style an ottava bracket. But poking around in the IR
doesn't show me the way how to make the right vertical line look like
the horizontal line (in the attached image).

What property do I have to override here?

TIA
Urs

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


Re: Lilypond hogging a processor and slowing down

2017-02-15 Thread SoundsFromSound
Anders Eriksson wrote
> One thing that can take a lot of time is building Font database.
> 
> There seems to be a "bug" in Lilypond on Windows so that the font 
> database is created every time!
*
> A workaround is to delete the directory
> 
> %homepath%\ .lilypond-fonts.cache-2
*
> 
> The first time you Engrave it create the font database, but the next 
> time it's already done...
> 
> // Anders

Anders, that fixed my slow engraving speeds on Windows 10 several times in
the past, great advice!!



-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilypond-hogging-a-processor-and-slowing-down-tp200149p200158.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: Lilypond hogging a processor and slowing down

2017-02-15 Thread SoundsFromSound
ptoye wrote
> 
*
> Windows 7. LP 2.19.52
*
> 
> -
> 
> In the last few days LP has slowed right down when using Frescobaldi -
> engraving a one-bar snippet took 25 seconds! And it was completely hogging
> one processor - 24.9% utilisation on a 4-processor machine.
> 
> Any ideas?
> 
> Peter
> mailto:

> lilypond@

> www.ptoye.com 

Peter,

One core? 25% /usage/? That's really not a problem for any modern /
quad-core system. That's nothing. It shouldn't cause any instability on the
overall computer. Now, are you experiencing slow /engraving/ times? That's a
bit different...

On Windows, I've found that rebuilding the font cache does indeed "fix" the
"slow LilyPond engraving" issue that's crept up from time to time. Not an
issue on GNU/Linux machines in my experience.

It's as simple as clearing the font cache and I've noticed flawless zippy
engraving speeds after that. From as bad as 45 seconds down to 5 seconds in
no time!

Not sure if this applies to Windows 7, but you could try that if you see
engraving speeds slow down (not related to CPU threads, per se).

Hope this helps.

Now, if LilyPond ever maxes out 4 cores + 4 cores of hyper-threading to 98%
CPU, then that's a problem. But that won't be happening anytime soon...   ;)

Have a good one!




-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lilypond-hogging-a-processor-and-slowing-down-tp200149p200157.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: Lilypond hogging a processor and slowing down

2017-02-15 Thread Anders Eriksson

One thing that can take a lot of time is building Font database.

There seems to be a "bug" in Lilypond on Windows so that the font 
database is created every time!


A workaround is to delete the directory

%homepath%\ .lilypond-fonts.cache-2

The first time you Engrave it create the font database, but the next 
time it's already done...


NB! If you're using multiple versions of Lilypond you need to do this 
every time you change version:


// Anders


On 2017-02-15 15:38, Peter Toye wrote:

Re: Lilypond hogging a processor and slowing down Phil,

You're right - I should have said.

Windows 7. LP 2.19.52

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com 

-
Wednesday, February 15, 2017, 1:15:38 PM, you wrote:


Lilypond version?  Operating system?

--
Phil Holmes


- Original Message -
*From: *Peter Toye 
*To: *lilypond-user@gnu.org 
*Sent:* Wednesday, February 15, 2017 12:50 PM
*Subject:* Lilypond hogging a processor and slowing down

In the last few days LP has slowed right down when using Frescobaldi - 
engraving a one-bar snippet took 25 seconds! And it was completely 
hogging one processor - 24.9% utilisation on a 4-processor machine.


The only thing that I can think of is that inadvertently I 
double-clicked on the LP icon rather than the Frescobaldi one at some 
stage before the slowup happened, but that just produced the standard 
test file output.


I've tried uninstalling and re-installing LP, but that didn't change 
anything.


Any ideas?

Peter
mailto:lilyp...@ptoye.com
www.ptoye.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


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


Re: Lilypond hogging a processor and slowing down

2017-02-15 Thread Peter Toye
Phil,

You're right - I should have said.

Windows 7. LP 2.19.52

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Wednesday, February 15, 2017, 1:15:38 PM, you wrote:


Lilypond version?  Operating system?

--
Phil Holmes
 
 
- Original Message - 
From: Peter Toye
To: lilypond-user@gnu.org
Sent: Wednesday, February 15, 2017 12:50 PM
Subject: Lilypond hogging a processor and slowing down

In the last few days LP has slowed right down when using Frescobaldi - 
engraving a one-bar snippet took 25 seconds! And it was completely hogging one 
processor - 24.9% utilisation on a 4-processor machine.

The only thing that I can think of is that inadvertently I double-clicked on 
the LP icon rather than the Frescobaldi one at some stage before the slowup 
happened, but that just produced the standard test file output.

I've tried uninstalling and re-installing LP, but that didn't change anything.

Any ideas?

Peter
mailto:lilyp...@ptoye.com
www.ptoye.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: Lilypond hogging a processor and slowing down

2017-02-15 Thread Robin Bannister

Peter Toye wrote:


... it was completely hogging one processor
- 24.9% utilisation on a 4-processor machine.



That's quite normal.
It's hard to spread the load, and Lilypond doesn't try.
Maybe this is the first time you have looked this closely.


Cheers,
Robin

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


Re: Lilypond hogging a processor and slowing down

2017-02-15 Thread Phil Holmes
Lilypond hogging a processor and slowing downLilypond version?  Operating 
system?

--
Phil Holmes


  - Original Message - 
  From: Peter Toye 
  To: lilypond-user@gnu.org 
  Sent: Wednesday, February 15, 2017 12:50 PM
  Subject: Lilypond hogging a processor and slowing down


  In the last few days LP has slowed right down when using Frescobaldi - 
engraving a one-bar snippet took 25 seconds! And it was completely hogging one 
processor - 24.9% utilisation on a 4-processor machine.

  The only thing that I can think of is that inadvertently I double-clicked on 
the LP icon rather than the Frescobaldi one at some stage before the slowup 
happened, but that just produced the standard test file output.

  I've tried uninstalling and re-installing LP, but that didn't change anything.

  Any ideas?

  Peter
  mailto:lilyp...@ptoye.com
  www.ptoye.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: ghostscript fails on pdf generation

2017-02-15 Thread Wols Lists
On 13/02/17 15:23, David Wright wrote:
>> It seems daft to me that you need "w" permissions, and I haven't
>> > experimented deeply with it, but if I have access to a file, why
>> > shouldn't I be able to create a link to it?
> Because it's a security risk. Geriatric unixers might wonder why their
> suid scripts no longer work: similar reasons.
> 
> https://lwn.net/Articles/502621/
> 
Thank you very much indeed. I've relaxed hardlink security on my machine
(well, hopefully next time I boot), and starred your email for reference :-)

Cheers,
Wol

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


Lilypond hogging a processor and slowing down

2017-02-15 Thread Peter Toye
In the last few days LP has slowed right down when using Frescobaldi - 
engraving a one-bar snippet took 25 seconds! And it was completely hogging one 
processor - 24.9% utilisation on a 4-processor machine.

The only thing that I can think of is that inadvertently I double-clicked on 
the LP icon rather than the Frescobaldi one at some stage before the slowup 
happened, but that just produced the standard test file output.

I've tried uninstalling and re-installing LP, but that didn't change anything.
 
Any ideas?

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: adding common guitar chords

2017-02-15 Thread Julien Cubizolles
Federico Bruni  writes:


> Hi Julien
>
> This is another (simpler) way. I've commented with % what is not needed:
>
> \version "2.19.54"
> %\include "predefined-guitar-fretboards.ly"
>
> myChords = \relative {
>  \set minimumFret = #3
>  1
> }
>
> <<
>  \new ChordNames {
>\chordmode { g1 }
>  }
>  \new FretBoards {
>%\set FretBoards.minimumFret = #3
>\myChords
>  }
>  \new TabStaff {
>%\set TabStaff.minimumFret = #3
>\myChords
>  }

Thanks, for your suggestion. I had tried something similar but I need to
define new Chordname for each root note. I thought it could be
calculated by lilypond once the list of intervalls has been specified
along with the strings to play them with.

Julien.

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


Re: adding common guitar chords

2017-02-15 Thread Julien Cubizolles
David Kastrup  writes:


> We have the required information in predefined fretboards.  Maybe we
> should have a general function for substituting chords with the
> predefined shapes rather than only do that as part of fretboard display.

Yes, that would be nice :-)

Julien.

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