LilyBin on GitHub

2013-05-27 Thread Trevor
I finally got around to throwing the code for LilyBin up on GitHub:
https://github.com/trevordixon/LilyBin.

I want to rewrite it soon, mostly to improve the front-end, but I think
I'll also rewrite the server in Go. If you're good at javascript, you may
be able to help some.

Users: please create issues for bugs or feature requests. Non-users: please
do the same. Let me know what might make it useful enough for you or others
to use.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Vaughan McAlley
On 28 May 2013 13:42, Paul Morris  wrote:
>
> Hmmm, I remember running into the "No module named sip" problem back when I
> was trying to install the dependencies manually.  When I switched to using
> MacPorts I installed python using it (following the instructions on the
> Frescobaldi site), which is a step that is not included in Philippe's guide.
> (Presumably because python is already installed by default on OS X.)  So
> maybe when I installed python in MacPorts it installed sip as well?  Or
> maybe I installed sip?  I can't recall.
>
> It sounds like an "install sip" step might be needed in the guide?  Maybe
> someone else can confirm or clarify...
>
> FWIW, another gotcha I ran into at one point was making sure I was using the
> right installation of python, since I ended up with two installations of it.
>
> In any case glad Andrew seems to have figured it out.
>

Sip is required for PyQT, and is covered in detail on the PyQT site:

http://www.riverbankcomputing.com/software/pyqt/intro
http://www.riverbankcomputing.com/software/sip/intro

You have to get it attached to the right version of Python, blah blah blah...

Vaughan

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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Paul Morris
Hmmm, I remember running into the "No module named sip" problem back when I
was trying to install the dependencies manually.  When I switched to using
MacPorts I installed python using it (following the instructions on the
Frescobaldi site), which is a step that is not included in Philippe's guide. 
(Presumably because python is already installed by default on OS X.)  So
maybe when I installed python in MacPorts it installed sip as well?  Or
maybe I installed sip?  I can't recall.  

It sounds like an "install sip" step might be needed in the guide?  Maybe
someone else can confirm or clarify...

FWIW, another gotcha I ran into at one point was making sure I was using the
right installation of python, since I ended up with two installations of it.

In any case glad Andrew seems to have figured it out.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146389.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: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Derek
Seems to be working now. Thank you very very much to everyone who took the
time to detail this process it is greatly appreciated.





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146388.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: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Andrew Bernard

Aha!

A couple of things. I am principally a heavy Linux user, so I have 
skipped the step to make an installer, preferring to run from the 
command line. After clearing out a previous manual attempt to install 
frescobaldi for mac a few months ago, I found this:


You need to add python sip to the system:

   sudo port install py27-sip

Next, the frescobaldi executable is a shell script, having the first line:

   #!/usr/bin/python

That's not we what we want and the source of all the 'not found' errors, 
if you are using macports.


Running this works:

   /opt/local/bin/python frescobaldi

Alternatively one could therefore just edit the #! line in the script.

This works, having followed all the other instructions on github.

HTH
Andrew

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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Derek
Having issues here as well. I made a comment on another thread about making a
guide idiot proof and was ridiculed for my choice of operating system.
Frescobaldi is a fantastic piece of software and would love to be able to
use it on my laptop as well instead of having to boot into linux to use it



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146386.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: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Andrew Bernard

I am still unable to achieve success with the guide.

I have:

Traceback (most recent call last):
  File "/usr/local/bin/frescobaldi", line 3, in 
import frescobaldi_app.main
  File "/Library/Python/2.7/site-packages/frescobaldi_app/main.py", 
line 34, in 

from PyQt4.QtCore import QSettings, QTimer, QUrl
ImportError: dlopen(/Library/Python/2.7/site-packages/PyQt4/QtCore.so, 
2): Library not loaded: QtCore.framework/Versions/4/QtCore

  Referenced from: /Library/Python/2.7/site-packages/PyQt4/QtCore.so
  Reason: image not found

My macports is installed in /opt/local. All libraries are under /opt, 
not /Library.


Running Mac OS X 10.8.3, MacPorts 2.1.3.

Is this a python setup or configuration issue? The point being, the 
guide must still be incomplete in some way.


Andrew


On 28/05/13 2:48 AM, Paul Morris wrote:

flup2 wrote

I don't "install" it like a Unix program. I just expand the archive in the
Applications folder. That way, the path to frescobaldi binary looks like:
/Applications/frescobaldi/frescobaldi (the first "frescobaldi is the
folder name, the second one is the binary itself).

I've added more explanation of this to the wiki page, along with some other
minor edits and typo fixes:
https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide

Today I was able to upgrade my frescobaldi to 2.0.10 with the help of this
guide.

Thanks again Philippe!
-Paul




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


Re: Does the optimal-page-breaker work?

2013-05-27 Thread Werner LEMBERG

>> I'm successfully using ly:page-turn-breaking with an organ piece,
>> fitting about 200 bars on 11 pages.
> 
> Good.  Do you let LilyPond find page-turns at rests, or put in
> \allowPageTurn at every potential turn?

I'm inserting \allowPageTurn commands: In virtually all places where a
turn could happen, one hand plays while the other hand can turn the
page.

> Most often I am frustrated that it puts too little music on pages.
> Maybe I just need to learn to use it correctly.

:-) I'm sending you my piece privately.


Werner

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


Re: Does the optimal-page-breaker work?

2013-05-27 Thread Shevek
I recommend playing with system-count and systems-per-page. I have found this
to be the best way to get Lilypond's page breaking algorithms (I usually use
optimal page breaking, but this goes for any of them) to give good results.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Does-the-optimal-page-breaker-work-tp146321p146383.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: vowel aligned lyrics - want to improve it

2013-05-27 Thread Wolf Alight
Hello

Here are some improvements that I did awhile ago. Maybe it's useful.

Best regards
Torulf

\version "2.14.1"

%
% Definitions for vowel alignment
% This code snippet have been sponsored by the Vadstena Sisters in Sweden
%

#(define vowel-set (list->char-set (string->list "AEIOUYÅÄÖaeiouyåäö")))


#(define (width grob text-string)
(let* ((layout (ly:grob-layout grob))
   (props (ly:grob-alist-chain grob (ly:output-def-lookup layout
'text-font-defaults
  (cdr (ly:stencil-extent (ly:text-interface::interpret-markup layout
props (markup text-string)) X

#(define (center-on-vowel grob)
 (let* ((syllable (ly:grob-property-data grob 'text))
  (letter-count (string-length syllable))
(vowel-count (string-count syllable vowel-set))
(note-width (interval-length (ly:grob-property (ly:grob-parent grob X)
'X-extent
   (if (or (= letter-count 1) (= letter-count 0) (= vowel-count
0))
  (let* ((syllable-width (width grob syllable)))
(/ (- note-width syllable-width) 2))
 (let* ((vowel-position (string-index syllable vowel-set))
 (prevowel (substring syllable 0 vowel-position))
 (vowel (if (= (char->integer (string-ref syllable vowel-position))
195) ; swedish letters take up two characters!
(substring syllable vowel-position (+ vowel-position 2))
(substring syllable vowel-position (+ vowel-position
1
 (prevowel-width (width grob prevowel))
 (vowel-width (width grob vowel)))
   (- (/ (- note-width vowel-width) 2) prevowel-width)



%
% Example
%

chant = {

  \relative c'' {

g4 a4( c4) c4 c4( b4) a4 b4 c4 d2

  }
}

words = \lyricmode {

I di -- na hän -- der, Her -- re Gud,
}


\score {
  \new Staff

  <<
\new Voice = "melody" \chant
\new Lyrics \lyricsto "melody" \words
  >>

  \layout {
\context { \Lyrics
  \override LyricText #'X-offset = #center-on-vowel
}
  }
}



2013/4/4 Janek Warchoł 

> Hi all,
>
> On Thu, Apr 4, 2013 at 1:20 AM, Kieren MacMillan
>  wrote:
> > Ultimately, it would be great to have two settings:
> > 1. glyphs which "don't count" for width calculations
> > (e.g., the LyricText "amazing—" should be centred
> > as if it were just "amazing")
>
> http://code.google.com/p/lilypond/issues/detail?id=2451
>
> > 2. glyphs which "don't count" for left-edge determination
> > (e.g., all consonants, if you want vowel-aligned lyrics).
>
> http://code.google.com/p/lilypond/issues/detail?id=2452
>
> I know that i'm horribly late with those, but the work has been
> restarted already.  I have mostly working code for these two issues;
> now i only need to finish
> http://code.google.com/p/lilypond/issues/detail?id=3239 - as the code
> for the above issues touches alignment interface, it makes sense to
> first cleanup the current messy state of alignment, and then add new
> features.
> I'm sorry that this is taking so long :(
>
> best,
> Janek
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Does the optimal-page-breaker work?

2013-05-27 Thread Keith OHara

On Mon, 27 May 2013 00:19:06 -0700, Werner LEMBERG  wrote:


I'm successfully using ly:page-turn-breaking with an organ piece,
fitting about 200 bars on 11 pages.


Good. Do you let LilyPond find page-turns at rests, or put in \allowPageTurn at 
every potential turn?

The page-turn-breaker does seem to do what it promises, but I have in the past 
found it a frustrating waste of time compared with choosing my own breaks.  
Looking through mutopiaproject and Jay's horndude77-open-scores I see most 
often a commented-out % ly:page-turn-breaking, as if others give up on it as 
well.   Most often I am frustrated that it puts too little music on pages.  
Maybe I just need to learn to use it correctly.

The reported bugs regarding page-spacing suggest that that the global approach 
taken by LilyPond is surprising to people, and I suppose also frustrating or 
people would not complain.  For example, I would prefer if LilyPond treated the 
spacing between forced page-breaks, or her chosen page-turns, as independent 
local optimizations, with no effort to keep horizontal spacing consistent 
across a page-turn.

If we find a couple examples where LilyPond does a good job at 
line/page-breaking, and also confirmation of where LilyPond fails like I tried 
in my last email, we have a better chance of removing the strange behavior 
while keeping the good.

Does the default (ly:optimal-breaking) do anything good?


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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Paul Morris
flup2 wrote
> I don't "install" it like a Unix program. I just expand the archive in the
> Applications folder. That way, the path to frescobaldi binary looks like:
> /Applications/frescobaldi/frescobaldi (the first "frescobaldi is the
> folder name, the second one is the binary itself).

I've added more explanation of this to the wiki page, along with some other
minor edits and typo fixes:
https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide

Today I was able to upgrade my frescobaldi to 2.0.10 with the help of this
guide.  

Thanks again Philippe!
-Paul

P.S. I noticed that the launcher (if you don't set it to "output: none")
reported the following errors, but everything seems to work just fine
anyway.  I don't know if this is expected or not.

QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::save: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints

QPainter::setOpacity: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::end: Painter not active, aborted



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146372.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: Fatal bug in strftime?

2013-05-27 Thread David Nalesnik
Peter,


On Mon, May 27, 2013 at 10:15 AM, Peter Toye  wrote:

>  David,
>
> Thanks. I sort of thought so, but being a newbie to Lilypond & Frescobaldi
> I might have missed something.
>
> Is there any way in Frescobaldi of changing the default header? The
> documentation's a bit sparse.
>
>
I imagine there is, but I will defer to someone else on this question as I
use JEdit/LilyPondTool almost exclusively.

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


Re: Fatal bug in strftime?

2013-05-27 Thread Peter Toye
David,

Thanks. I sort of thought so, but being a newbie to Lilypond & Frescobaldi I 
might have missed something.

Is there any way in Frescobaldi of changing the default header? The 
documentation's a bit sparse.

Best regards,

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

-
Monday, May 27, 2013, 1:39:36 PM, you wrote:



Peter,

On Mon, May 27, 2013 at 5:23 AM, Peter Toye  wrote:
David,

Not quite sure what you mean about a template. I use Frescobaldi for input at 
the moment, and that doesn't seem to have a way of changing the standard header 
format, so I have to delete it and include my personal favourite (which can be 
in a \include file). 

Or do you mean a Lilypond template? I can't find any reference to such a thing 
in the documentation, apart from an informal use of the word to refer to a 
snippet which sets up a stave system. As opposed to a (e.g. MS word) template 
file which contains layout and preference features.


I was using "template" in the sense of a model for a file (or part of a file) 
that you save somewhere and reuse--nothing formal..

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


Re: snippet does not work anymore

2013-05-27 Thread David Kastrup
"Dr. med. Kai Lautenschläger"  writes:

> Hi List,
>
> I've been seeing a lot snippets being identified by numbers, but I
> can't find out, where to search for that number. Reading the manual I
> stumbled upon a snippet that hast stopped working somewhere between
> versions 2.16 and 2.17.15. It is in the snippet department in
> "Rhythms" under the title of "Merging multi-measure rests in a
> polyphonic part".
>
> It actually does not work in the manual for 2.17 either, while in the
> 2.16-manual everything seemed fine. Find both links below.
>
> http://lilypond.org/doc/v2.16/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part
> http://lilypond.org/doc/v2.17/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part
>
> Is this wanted behaviour? Is there any workaround to merge the
> multi-measure-rests?
>
> I'd be gratefull for any hint.

Tracker issue: 3380 (http://code.google.com/p/lilypond/issues/detail?id=3380)
Rietveld issue: 9811043 (http://codereview.appspot.com/9811043)
Issue description:
  Fix merging-multi-measure-rests-in-a-polyphonic-part.ly snippet
  This changed behavior after issue 3307   Also contains commit:  Run
  scripts/auxiliar/makelsr.py


-- 
David Kastrup


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


Re: snippet does not work anymore

2013-05-27 Thread David Kastrup
"Dr. med. Kai Lautenschläger"  writes:

> Hi List,
>
> I've been seeing a lot snippets being identified by numbers, but I
> can't find out, where to search for that number. Reading the manual I
> stumbled upon a snippet that hast stopped working somewhere between
> versions 2.16 and 2.17.15. It is in the snippet department in
> "Rhythms" under the title of "Merging multi-measure rests in a
> polyphonic part".
>
> It actually does not work in the manual for 2.17 either, while in the
> 2.16-manual everything seemed fine. Find both links below.
>
> http://lilypond.org/doc/v2.16/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part
> http://lilypond.org/doc/v2.17/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part
>
> Is this wanted behaviour?

Yes, but the unchanged snippet is an oversight.

> Is there any workaround to merge the multi-measure-rests?

normalPos = \revert MultiMeasureRest.direction

Or just use \oneVoice anyhow.

-- 
David Kastrup


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


snippet does not work anymore

2013-05-27 Thread Dr. med. Kai Lautenschläger
Hi List,

I've been seeing a lot snippets being identified by numbers, but I can't find 
out, where to search for that number. Reading the manual I stumbled upon a 
snippet that hast stopped working somewhere between versions 2.16 and 2.17.15. 
It is in the snippet department in "Rhythms" under the title of "Merging 
multi-measure rests in a polyphonic part".

It actually does not work in the manual for 2.17 either, while in the 
2.16-manual everything seemed fine. Find both links below.

http://lilypond.org/doc/v2.16/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part
http://lilypond.org/doc/v2.17/Documentation/snippets/rhythms#rhythms-merging-multi_002dmeasure-rests-in-a-polyphonic-part

Is this wanted behaviour? Is there any workaround to merge the 
multi-measure-rests? 

I'd be gratefull for any hint.

best regards,

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


snare drum in MIDI

2013-05-27 Thread Werner LEMBERG

Folks,


what must I do to assign a snare drum sound to a staff?  According to
the General MIDI standard, this is channel 10, slot 38.  Looking into
the code, however, I see no easy way to do that, given that percussion
instruments are handled as sets only...


Werner

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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread flup2
Hello,

I don't "install" it like a Unix program. I juste expand the archive in the
Applications folder. That way, the path to frescobaldi binary looks like:
/Applications/frescobaldi/frescobaldi (the first "frescobaldi is the folder
name, the second one is the binary itself).

Perhaps it will also solve your pyqt error

Philippe



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146361.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: Fatal bug in strftime?

2013-05-27 Thread David Nalesnik
Peter,

On Mon, May 27, 2013 at 5:23 AM, Peter Toye  wrote:

>  David,
>
> Not quite sure what you mean about a template. I use Frescobaldi for input
> at the moment, and that doesn't seem to have a way of changing the standard
> header format, so I have to delete it and include my personal favourite
> (which can be in a \include file).
>
> Or do you mean a Lilypond template? I can't find any reference to such a
> thing in the documentation, apart from an informal use of the word to refer
> to a snippet which sets up a stave system. As opposed to a (e.g. MS word)
> template file which contains layout and preference features.
>
>
I was using "template" in the sense of a model for a file (or part of a
file) that you save somewhere and reuse--nothing formal..

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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Andrew Bernard
And.. if I do run the python setup for Frescobaldi after carefully 
following the github instructions, it installs into /usr/local/bin, but 
when run we have:


Traceback (most recent call last):
  File "/usr/local/bin/frescobaldi", line 3, in 
import frescobaldi_app.main
  File "/Library/Python/2.7/site-packages/frescobaldi_app/main.py", 
line 34, in 

from PyQt4.QtCore import QSettings, QTimer, QUrl
ImportError: dlopen(/Library/Python/2.7/site-packages/PyQt4/QtCore.so, 
2): Library not loaded: QtCore.framework/Versions/4/QtCore

  Referenced from: /Library/Python/2.7/site-packages/PyQt4/QtCore.so
  Reason: image not found

This on Mac OS X 10.8.3.

Andrew


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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Andrew Bernard

This is great, and most appreciated.

But there is a section that is not at all clear:

   Download Frescobaldi and place it in the Applications folder

I can only find a source tarball for Frescobaldi and it is not obvious 
how to place it in the Applications folder, since there is a python 
setup and install to do.


Could you please expand on this critical step?

Thanks.

Andrew


On 27/05/13 6:52 PM, Wilbert Berendsen wrote:

Philippe,

thanks a lot! I've put it on a wiki page, and linked from the
frescobaldi website.




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


Re: Web page getting updated before files available

2013-05-27 Thread Phil Holmes
- Original Message - 
From: "Nick Payne" 

To: 
Sent: Monday, May 27, 2013 12:45 PM
Subject: Re: Web page getting updated before files available



On 27/05/13 21:38, Nick Payne wrote:

http://lilypond.org/ is showing 2.17.20 available, but an attempt to
download the Linux 64 install from http://lilypond.org/development.html
returns an error that
http://download.linuxaudio.org/lilypond/binaries/linux-64/lilypond-2.17.20-1.linux-64.sh
was not found on the server.


ps. It looks like http://lilypond.org and 
http://lilypond.org/development.html should be referring to 2.17.19 and 
not 2.17.20 - when I look at the directory listing of 
http://download.linuxaudio.org/lilypond/binaries/linux-64, the latest 
version is 2.17.19.



I was aware, thanks.  I'd wrongly updated the version, and thought that 
correcting just that file would fix the problem, but it doesn't cause the 
website to be remade.  Touching the news file fixed this, and we're now back 
at 2.17.19.


--
Phil Holmes 



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


Re: Web page getting updated before files available

2013-05-27 Thread Federico Bruni
2013/5/27 Nick Payne 

> On 27/05/13 21:38, Nick Payne wrote:
>
>> http://lilypond.org/ is showing 2.17.20 available, but an attempt to
>> download the Linux 64 install from 
>> http://lilypond.org/**development.html
>> returns an error that
>> http://download.linuxaudio.**org/lilypond/binaries/linux-**
>> 64/lilypond-2.17.20-1.linux-**64.sh
>> was not found on the server.
>>
>
> ps. It looks like http://lilypond.org and http://lilypond.org/**
> development.html  should be
> referring to 2.17.19 and not 2.17.20 - when I look at the directory listing
> of 
> http://download.linuxaudio.**org/lilypond/binaries/linux-64
> **, the latest version is 2.17.19.
>
>
>
I think that it's about this:
https://lists.gnu.org/archive/html/lilypond-devel/2013-05/msg00173.html
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Web page getting updated before files available

2013-05-27 Thread Nick Payne

On 27/05/13 21:38, Nick Payne wrote:

http://lilypond.org/ is showing 2.17.20 available, but an attempt to
download the Linux 64 install from http://lilypond.org/development.html
returns an error that
http://download.linuxaudio.org/lilypond/binaries/linux-64/lilypond-2.17.20-1.linux-64.sh
was not found on the server.


ps. It looks like http://lilypond.org and 
http://lilypond.org/development.html should be referring to 2.17.19 and 
not 2.17.20 - when I look at the directory listing of 
http://download.linuxaudio.org/lilypond/binaries/linux-64, the latest 
version is 2.17.19.


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


Web page getting updated before files available

2013-05-27 Thread Nick Payne
http://lilypond.org/ is showing 2.17.20 available, but an attempt to 
download the Linux 64 install from http://lilypond.org/development.html 
returns an error that 
http://download.linuxaudio.org/lilypond/binaries/linux-64/lilypond-2.17.20-1.linux-64.sh 
was not found on the server.


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


Re: LSR-snippet 878: Customizing individual staff lines

2013-05-27 Thread Thomas Morley
2013/5/27 Phil Holmes :

> I think it's a bad idea to have snippets with coding errors.  People might
> copy them and then cause problems.  I think it should not be approved, and
> if the author does not contact -user or -devel to find out why it's not
> visible, then so be it.

Ok, for now I'll not approve it.

2013/5/27 David Kastrup :
> Thomas Morley  writes:

>> (BTW, the same concerns could be said about
>> http://lsr.dsi.unimi.it/LSR/Item?id=700
>> Author: Neil Puttock)
>
> Which is obviously the template that snippet 878 was created from.
> Perhaps ask Neil about both?

Will do.

-Harm

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


Re: LSR-snippet 878: Customizing individual staff lines

2013-05-27 Thread David Kastrup
Thomas Morley  writes:

> 2013/5/27 Phil Holmes :
>> - Original Message - From: "Thomas Morley"
>> 
>> To: "David Kastrup" 
>> Cc: ; "Phil Holmes" 
>> Sent: Sunday, May 26, 2013 10:30 PM
>> Subject: Re: LSR-snippet 878: Customizing individual staff lines
>>
>>
>>> Phil, what do you mean?
>>
>> I don't know which comment you're asking about.
>
> Sorry, not being clear enough.
>
> The question is: What to do with the currently unapproved snippet:
> https://lsr.di.unimi.it/form.php?type=snippet;id=878;rld=m_snippet
>
> David had some serious concerns:
> http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00714.html
>
> The snippet-author didn't reply (perhaps not on this list)
>
> Should I approve this snippet and wait until it breaks?
> Or ...?
>
> -Harm
>
> (BTW, the same concerns could be said about
> http://lsr.dsi.unimi.it/LSR/Item?id=700
> Author: Neil Puttock)

Which is obviously the template that snippet 878 was created from.
Perhaps ask Neil about both?  The problem with "wait until it breaks",
as you can clearly see, is that snippets tend to _multiply_.  They beget
code in users' documents, they beget new snippets.

-- 
David Kastrup

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


Re: LSR-snippet 878: Customizing individual staff lines

2013-05-27 Thread Phil Holmes
- Original Message - 
From: "Thomas Morley" 

To: "Phil Holmes" 
Cc: "David Kastrup" ; 
Sent: Monday, May 27, 2013 11:15 AM
Subject: Re: LSR-snippet 878: Customizing individual staff lines



2013/5/27 Phil Holmes :

- Original Message - From: "Thomas Morley"

To: "David Kastrup" 
Cc: ; "Phil Holmes" 
Sent: Sunday, May 26, 2013 10:30 PM
Subject: Re: LSR-snippet 878: Customizing individual staff lines





Phil, what do you mean?

-Harm




I don't know which comment you're asking about.

--
Phil Holmes


Sorry, not being clear enough.

The question is: What to do with the currently unapproved snippet:
https://lsr.di.unimi.it/form.php?type=snippet;id=878;rld=m_snippet

David had some serious concerns:
http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00714.html

The snippet-author didn't reply (perhaps not on this list)

Should I approve this snippet and wait until it breaks?
Or ...?



I think it's a bad idea to have snippets with coding errors.  People might 
copy them and then cause problems.  I think it should not be approved, and 
if the author does not contact -user or -devel to find out why it's not 
visible, then so be it.


--
Phil Holmes

--
Phil Holmes 



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


Re: Fatal bug in strftime?

2013-05-27 Thread Peter Toye
David,

Not quite sure what you mean about a template. I use Frescobaldi for input at 
the moment, and that doesn't seem to have a way of changing the standard header 
format, so I have to delete it and include my personal favourite (which can be 
in a \include file). 

Or do you mean a Lilypond template? I can't find any reference to such a thing 
in the documentation, apart from an informal use of the word to refer to a 
snippet which sets up a stave system. As opposed to a (e.g. MS word) template 
file which contains layout and preference features.

Best regards,

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

-
Wednesday, May 22, 2013, 5:17:32 PM, you wrote:


Peter,


On Wed, May 22, 2013 at 11:07 AM, Peter Toye  wrote:
David,

Thanks. Hardly worth the effort! I think I'll just try to ignore my allergy to 
leading zeroes in dates. Or not do any engraving 1-9 of the month.

But the work is done--all you need to do is copy and paste what I've given you. 
 If you're working with a template, add it to that.

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


Re: LSR-snippet 878: Customizing individual staff lines

2013-05-27 Thread Thomas Morley
2013/5/27 Phil Holmes :
> - Original Message - From: "Thomas Morley"
> 
> To: "David Kastrup" 
> Cc: ; "Phil Holmes" 
> Sent: Sunday, May 26, 2013 10:30 PM
> Subject: Re: LSR-snippet 878: Customizing individual staff lines
>
>
>
>>
>> Phil, what do you mean?
>>
>> -Harm
>
>
>
> I don't know which comment you're asking about.
>
> --
> Phil Holmes

Sorry, not being clear enough.

The question is: What to do with the currently unapproved snippet:
https://lsr.di.unimi.it/form.php?type=snippet;id=878;rld=m_snippet

David had some serious concerns:
http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00714.html

The snippet-author didn't reply (perhaps not on this list)

Should I approve this snippet and wait until it breaks?
Or ...?

-Harm

(BTW, the same concerns could be said about
http://lsr.dsi.unimi.it/LSR/Item?id=700
Author: Neil Puttock)

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


Re: LSR-snippet 878: Customizing individual staff lines

2013-05-27 Thread Phil Holmes
- Original Message - 
From: "Thomas Morley" 

To: "David Kastrup" 
Cc: ; "Phil Holmes" 
Sent: Sunday, May 26, 2013 10:30 PM
Subject: Re: LSR-snippet 878: Customizing individual staff lines




Phil, what do you mean?

-Harm



I don't know which comment you're asking about.

--
Phil Holmes

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


Re: Left align first word of lyrics

2013-05-27 Thread Wilbert Berendsen
Op Sun, 19 May 2013 03:11:12 +0200 (CEST)
Gregory Heytings  schreef:

> 
> Hi list,
> 
> Is it possible to automatically left align the first word of multiple
> line lyrics ?  By default the lyrics are all centered under the note,
> which is okay in most situations, but perhaps not optimal for the
> first word of a staff.  For example, the words "Ccc", "Cc" and "C"
> are centered under the c note with the following code:
> 
> \score {
>\new Staff <<
>  \new Voice = A { \relative c' { c d e f } }
>  \new Lyrics \lyricsto A { Ccc ddd eee fff }
>  \new Lyrics \lyricsto A { Cc dd ee ff }
>  \new Lyrics \lyricsto A { C d e f }
>>>
> }
> 
> I know that it is possible to move a particular word by hand with
> "\once \override LyricText #'self-alignment-X = #...".  This solution
> is however not only painful to type in, but its result is also most
> often only approximately correct.

I have done that in our new dutch hymn book, the "Liedboek".

Using a music function and the \applyOutput command I set the X-offset
property and the extra-spacing-width property on every LyricText event
that coincides with a \break, and also on the first LyricText event.

We also made the LeftEdge object indefinitly high, so we could force
the lyrics at a certain distance from the start of the staff line, and
also have the first note of every line at the same spot. The other
lyrics are centered.

(For the single-voice hymns we used ragged-right = ##t but wit a fixed
width on the StaffSymbol so we got nice looking church hymns. And we
used a function based on the alignGrob idea from LSR to position the
final barline neatly to the right.)

It is complicated just now to paste the code how we did it, because
everything is so intermingled, but I'll show it later on in a nice
writeup. We wrote many functions that read custom variables from the
paper or layout blocks (using ly:output-def-lookup), so we got a very
flexible layout.

Best regards,
Wilbert




-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Frecobaldi 2 Mac OS X install guide

2013-05-27 Thread Wilbert Berendsen
Philippe,

thanks a lot! I've put it on a wiki page, and linked from the
frescobaldi website.

Op Tue, 14 May 2013 05:10:25 -0700 (PDT)
flup2  schreef:

> Hello all,
> 
> Here is a step by step guide to install Frescobaldi on a Mac OS X
> system. Frescobaldi has some known issues on a mac (see below) but
> after these steps you should be able to:
> - use Frescobaldi (of course)
> - launch Frescobaldi with a double clickable icon
> - play MIDI
> 
> * install macports (  http://www.macports.org
>  ).
> Using the Terminal, run these 2 commands to update macport :
> 
> sudo port -v selfupdate
> 
> sudo port -v upgrade outdated
> 
> * Once done, it's time to install the dependencies of frescobaldi 
> (depending to your computer, it may last some hours):
> 
> sudo port -v install py27-pyqt4
> 
> sudo port install poppler +quartz +qt4
> 
> * PyQt makes a link between python and qt4, but we need a library to
> link those with poppler (to have the PDF preview); Frescobali's
> author developped it. You have to download it here: 
> https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz
> 
>   
> 
> * double click to unzip. In the Terminal you have to go to the folder
> where it was unzipped (for instance cd
> Downloads/python-poppler-qt4-0.16.3 ).
> 
> * Run these 2 commands. The first one will compile the library, the
> other one will install is. The second one needs a admin access
> (password will be asked after the sudo... command)
> 
> python setup.py build
> 
> sudo python setup.py install
> 
> If you have some problems with these 2 steps, I can be necessary to
> specify the complete python path:
> 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7/setup.py
> build
> 
> sudo
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> setup.py install
> 
> * Download Frescobaldi and place it in the Applications folder
> 
> Creation of a launcher :
> -
> 
> * download the software Platypus (  http://sveinbjorn.org/software
>    and launch it
> * choose a name in  App Name field 
> * choose "Shell" in the popup "Script type"
> * choose "None"  in the popup "Output"
> * click "Newand paste these lines (change it according to your user
> name and frescobaldi folder name) :
> 
> #!/bin/sh 
> 
> cd /Applications/frescobaldi 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> frescobaldi 
> 
> * show "Advanced options" and uncheck all boxes on the right, except
> "Runs in background"
> * you may choose a custom icon (by drag and drop)
> * click "Create"
> 
>  MIDI output
> -
> Frescobaldi uses an external synthetizer that must be launched. That
> synthetizer uses soundfont. If you havn't any, you may use the one
> included in Musescore. (  http://musescore.org/
>    )
> 
> * in the Terminal, install portmidi and fluidsynth :
> sudo port -v install portmidi
> sudo port -v install fluidsynth
> 
> * download qsynth, a mac graphical interface for fluidsynth ( 
> http://sourceforge.net/projects/qsynth
> )
> 
> * launch qsynth, click on "setup"
> * MIDI tab; choose "CoreMidi" in the "Midi driver" popup
> * Audio tab; choose "Coreaudio" in the "Audio driver" popup
> * under the same tab, set "buffer size" to 256 and choose "Default for
> "Audio device"
> * soundfonts tab, choose a soundfont (the one included in Musescore
> or any other).
> * validate; in the MIDI settings of frescobaldi, click refresh MIDI
> ports, et choose fluidsynth virtual port
> 
> I hope to have some time to make this easier to read (and, why not,
> include it to Frescobaldi website)
> 
> Philippe
> 
> 
> 
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898.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
> 



-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Does the optimal-page-breaker work?

2013-05-27 Thread Werner LEMBERG

> Does anyone let LilyPond choose page-turns for them?

I'm successfully using ly:page-turn-breaking with an organ piece,
fitting about 200 bars on 11 pages.


Werner

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