Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
> dammit, i should think a bit more before answering things. TextSpanner has
> been moved to the score context, so we need to tell the override to use the
> TextSpanner objects in the Score context rather than the default.

Wonderful, you did it! Thank you very much. The more I use lily, the
more I like it!
I will now try to move the text spanner to the GroupStaff context!

Frédéric


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


Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey


On 21 Apr 2009, at 09:11, Frédéric Bron wrote:
dammit, i should think a bit more before answering things.  
TextSpanner has
been moved to the score context, so we need to tell the override to  
use the

TextSpanner objects in the Score context rather than the default.


Wonderful, you did it! Thank you very much. The more I use lily, the
more I like it!
I will now try to move the text spanner to the GroupStaff context!



string = { \once \override GroupStaff.TextSpanner #'bound-details  
#'left #'text "string."}

\score <<
	\new GroupStaff { \consists "Text_spanner_engraver"} << %voices as in  
previous example >>

>>

--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey

frédéric,

On 21 Apr 2009, at 09:50, Frédéric Bron wrote:


Halas, for StaffGroup, the trick works but the spanners are all at the
top of the score, not above each StaffGroup.



now i'm at wit's end. my first suggestion would be to just put the  
Text_spanner_engraver in the top staff of each StaffGroup rather than  
in the StaffGroup, but there must be a way to get lilypond to  
associate the TextSpanner with the StaffGroup. could you keep this  
discussion on the list, that way other people will be able to chime  
in. i'll see if i can think of anything while slurping a coffee. :)


regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
Halas, for StaffGroup, the trick works but the spanners are all at the
top of the score, not above each StaffGroup.

Frédéric

\version "2.12.0"

stringendo = { \textSpannerUp \override StaffGroup.TextSpanner
#'(bound-details left text) = "Stringendo" }

\new Score <<
   \new StaffGroup \with { \consists "Text_spanner_engraver" } <<
   \new Staff { \new Voice \with { \remove
"Text_spanner_engraver" } { \stringendo c'1 \startTextSpan \repeat
unfold 4 { c' } c'\stopTextSpan } }
   \new Staff { \new Voice \with { \remove
"Text_spanner_engraver" } { \stringendo c'1 \startTextSpan \repeat
unfold 4 { c' } c'\stopTextSpan } }
   >>
   \new StaffGroup \with { \consists "Text_spanner_engraver" } <<
   \new Staff { \new Voice \with { \remove
"Text_spanner_engraver" } { \stringendo c'1 \startTextSpan \repeat
unfold 4 { c' } c'\stopTextSpan } }
   \new Staff { \new Voice \with { \remove
"Text_spanner_engraver" } { \stringendo c'1 \startTextSpan \repeat
unfold 4 { c' } c'\stopTextSpan } }
   >>
>>


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


Re: Fingerings with Flat Symbol

2009-04-21 Thread Robin Bannister

Jonathan Townes wrote:
the use of fingerings would be much faster and require less typing 


This nice aspect of fingerings is due to the parser knowing what a 
fingering looks like. But this is defined as being a single digit, 
so you only have ten things you can ask for (corresponding to 0 .. 9).


Writing your own version of fingering::calc-text lets you choose what 
these ten things are, but you can't get any more than ten. 

So you are limited to ten combinations, which is nowhere near enough. 



Cheers,
Robin


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


Re: my articles and astroturfng LWN

2009-04-21 Thread Dave Phillips

Jan Nieuwenhuizen wrote:


Hi Dave,

  


Hi Jan ! Sorry for this delayed reply, I've been a bit overwhelmed here. 
Too much work, too much family stuff going on, too much of everything 
except spare time.




If your objection to LWN is re: someone else's comment on my articles



Yeah, that's it.  Somehow, whenever you write a fine piece on or even 
mentioning Lily, there are uninformed comments that "need" to be

replied on -- but I'd rather not do that myself.  You see, I'm biased,
so it's better to have an independent user comment on this, like
Valintin ;-)

  


I over-reacted, I re-read the comment and realized it wasn't really 
about my article.



then that's fine with me. But if anyone has a problem with my articles 
per se I'd prefer they take it up with me, not with my publishers.



Of course.  And if I like your articles, eg I really enjoyed your
last week's Progress Report part I, to whom should I send an email?

  


It's fine if you want to send something directly to me, or you can leave 
comments at the end of my articles. Comments are always good, my 
publishers like to see them too.



Of course it should be obvious from these articles just how I feel about 
LilyPond :



Yes, sometimes I'm even afraid it's a bit too obvious... and thanks
a lot for that!

  


Well, if it wasn't such great software I'd be less enthusiastic. 
However, it is such great software, and I shall continue to shout 
(sing?) its praises. :)


Best regards to you and Han-wen, and major props to all LP developers 
and community members. LilyPond rules.


dp



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


Re: The LilyPond Report, again!

2009-04-21 Thread Jan Nieuwenhuizen
Op maandag 13-04-2009 om 18:17 uur [tijdzone +0200], schreef Valentin
Villenave:

> Well, it's time for a reboot! The LilyPond Report is back, with a new
> design, new features... but still the same spirit :-)

Yay, hooray!  Thanks!

Oh, and good for you for taking the, uhm, break, it was well worth it!

Greetings,
Jan.

-- 
Jan Nieuwenhuizen  | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org



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


Re: TextSpanner at Score level?

2009-04-21 Thread Kieren MacMillan

Hi Frédéric:


Halas, for StaffGroup, the trick works but the spanners are
all at the top of the score, not above each StaffGroup.


Maybe this hint will help you solve the problem:

\version "2.12.2"

\layout
{
\context
{
\type "Engraver_group"
\consists "Text_spanner_engraver"
\consists "Axis_group_engraver"
\name "ConTextSpan"
\override VerticalAxisGroup #'minimum-Y-extent = #'(1 . 3)
}
\context { \Score \accepts ConTextSpan }
\context { \Voice \remove "Text_spanner_engraver" }
}

stringendo = { \textSpannerUp \override Score.TextSpanner #'(bound- 
details left text) = "Stringendo" }


\score
{
<<
		\new ConTextSpan { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

\new StaffGroup
<<
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

>>
		\new ConTextSpan { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

\new StaffGroup
<<
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

>>
>>
}

Bonne chance!
Kieren.

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


Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
now that's a far more elegant solution than anything i'd ever have  
come up with. :) thanks, kieren, i just learnt some new things. :)


regards,
sb

On 21 Apr 2009, at 14:27, Kieren MacMillan wrote:

Hi Frédéric:


Halas, for StaffGroup, the trick works but the spanners are
all at the top of the score, not above each StaffGroup.


Maybe this hint will help you solve the problem:

\version "2.12.2"

\layout
{
\context
{
\type "Engraver_group"
\consists "Text_spanner_engraver"
\consists "Axis_group_engraver"
\name "ConTextSpan"
\override VerticalAxisGroup #'minimum-Y-extent = #'(1 . 3)
}
\context { \Score \accepts ConTextSpan }
\context { \Voice \remove "Text_spanner_engraver" }
}

stringendo = { \textSpannerUp \override Score.TextSpanner #'(bound- 
details left text) = "Stringendo" }


\score
{
<<
		\new ConTextSpan { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

\new StaffGroup
<<
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

>>
		\new ConTextSpan { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

\new StaffGroup
<<
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }
			\new Staff { \stringendo c'1 \startTextSpan \repeat unfold 4  
{ c' } c'\stopTextSpan }

>>
>>
}

Bonne chance!
Kieren.


--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Fingering font size on grace notes

2009-04-21 Thread Nick Payne
Fingering indications on grace notes doesn't shrink to be proportional to
the reduced size of the grace note, and the full size indication looks
excessively large alongside the note. It's easy enough to override - using
\override Fingering #'font-size = #-8 seems about right - but perhaps this
should happen automatically.

Nick Payne





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


dual window editor

2009-04-21 Thread rathcoffey


I'm a new user of Lily Pond.  I'm running the program under Windows XP (I know, 
I know, don't tell me...)  I find it fast and easy to use.  I prefer it to 
Finale because it's so easy to debug the code. 



JEdit is O.K., but it would be a big help to me if there were a dual-window 
editor that would incorporate an interpreter (rather than a compiler).  One 
window would show the text file as it was being developed; the other side would 
display - on command - the resulting PDF image.  (Think of the way the Matlab 
editor works.)  It would make debugging much easier to be able to see the 
results of code changes immediately, rather than have to save the .LY file and 
then call LP, then look at the result in Adobe. 



Thanks for considering this... 



M.W. 




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


one other thing - documentation

2009-04-21 Thread rathcoffey


(see previous post).  I found the Manual and the Notation Reference very 
helpful.  I just have a couple of suggestions. 



The Command Summary which is part of Notation Reference (Appendix C, Cheat 
Sheet, page 545 ff.) could be extracted and made part of the short Guides.  
Once I learned it was there, I found it in Notation Reference, printed it, and 
have been adding notes to it as I go along.  Very helpful to have it all in one 
place.  It would have been even more helpful if I had known about it sooner. 



You could make these conventions explicit - I had to learn about them by trial 
and error.  



cis'4 is a valid command; cis4' is not. 







c (d e f    %comment 



g a) 



causes an error, but 



c(d e f 



g a)   %measure 64 



does not.  (the comment has to be outside of the paren.) 







Thanks. 



M.W. 








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


Re: dual window editor

2009-04-21 Thread Wilbert Berendsen
Op maandag 20 april 2009, schreef rathcof...@comcast.net:
> JEdit is O.K., but it would be a big help to me if there were a dual-window
> editor that would incorporate an interpreter (rather than a compiler).  One
> window would show the text file as it was being developed; the other side
> would display - on command - the resulting PDF image.  (Think of the way
> the Matlab editor works.)  It would make debugging much easier to be able
> to see the results of code changes immediately, rather than have to save
> the .LY file and then call LP, then look at the result in Adobe.

I think JEdit + LilyPondTool exactly offers this: LilyPondTool has a PDF 
preview window, even with clickable notes that position the cursor in the text 
edit window.

Frescobaldi is another program that does this (i wrote it myself): 
www.frescobaldi.org but it currently only runs on Linux :-)

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


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


Re: one other thing - documentation

2009-04-21 Thread Graham Percival
On Mon, Apr 20, 2009 at 12:34:56PM +, rathcof...@comcast.net wrote:
> The Command Summary which is part of Notation Reference
> (Appendix C, Cheat Sheet, page 545 ff.) could be extracted and
> made part of the short Guides.  Once I learned it was there, I
> found it in Notation Reference, printed it, and have been adding
> notes to it as I go along.  Very helpful to have it all in one
> place.  It would have been even more helpful if I had known
> about it sooner.

It's listed in NR 1.2 About the documentation.  Where else would
you expect to learn about the documentation sections?

> You could make these conventions explicit - I had to learn about
> them by trial and error. 

Exact suggestions, please.  Where, and what, do you propose to
add?

> c (d e f%comment
> 
>  
> 
> g a)
> 
> causes an error, but

No it doesn't.  Minimal example, please.

Cheers,
- Graham


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


Re: dual window editor

2009-04-21 Thread Carl D. Sorensen



On 4/20/09 6:26 AM, "rathcof...@comcast.net"  wrote:

> I'm a new user of Lily Pond.  I'm running the program under Windows XP (I
> know, I know, don't tell me...)  I find it fast and easy to use.  I prefer it
> to Finale because it's so easy to debug the code.
> 

There's nothing wrong with running LilyPond under Windows.  Lots of users
do.  I'm glad you like LilyPond.

>  
> 
> JEdit is O.K., but it would be a big help to me if there were a dual-window
> editor that would incorporate an interpreter (rather than a compiler).  One
> window would show the text file as it was being developed; the other side
> would display - on command - the resulting PDF image.  (Think of the way the
> Matlab editor works.)

The Matlab editor completes a command and performs the result when you hit
enter.


> It would make debugging much easier to be able to see
> the results of code changes immediately, rather than have to save the .LY file
> and then call LP, then look at the result in Adobe.
> 
>  
LilyPond functions often wrap around lines, so just hitting enter won't
work.  There has to be some other command to display the PDF.  For Jedit,
you hit the process button immediately followed by the display button.  Why
is this so much harder than hitting a single button?  (You *are* using
LilyPondTool for JEdit, aren't you?)

But, there is at least one choice of such an interpreter for Windows, but
it's not part of LilyPond:
http://www.leszer.net/index.php/my-software/87-lilyeditor.html

It won't handle very complicated LilyPond scores, because in order to work
properly it has to deal with things in a very controlled way.

And the preview is in non-standard notation.

But it will give you the functionality you want as far as interpreting goes.
I haven't tried it, but having read about it, I think that JEdit is superior
for my usage.

> 
> Thanks for considering this...
> 

This won't be part of the LilyPond distribution in the near future, because
it's out of scope of LilyPond.

I'd be surprised if it *ever* became part of the LilyPond distribution.
LilyPond is an *output* software.  The input part of LilyPond, by
definition, is a text file.  That's why there are separate projects for
LilyPondTool, and LilyKDE, and the other LilyPond front ends.

You're welcome to start such a project; there may be other Windows users who
would be willing to help you out.

Regards,

Carl



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


Re: one other thing - documentation

2009-04-21 Thread Simon Bailey

mw,

On 20 Apr 2009, at 14:34, rathcof...@comcast.net wrote:
You could make these conventions explicit - I had to learn about  
them by trial and error.


cis'4 is a valid command; cis4' is not.


there is a perverse logic to this, which makes it not a convention but  
syntax. the ' and , are actually part of the pitch, the numbers only  
designate the duration and can be omitted. you are right, it is not  
explicitly stated anywhere, if graham's ok with it, i'll add a patch  
to the LM 2.1.2 to clarify this point. but once you've wrapped your  
mind around the concept of ' and , being an integral part of the pitch  
it becomes automatic.



c (d e f%comment

g a)

causes an error, but

c(d e f

g a)   %measure 64

does not.  (the comment has to be outside of the paren.)


no it doesn't (as graham has already pointed out). at least not here  
on a mac using lilypond 2.12.1. and in the past 7 years of using  
lilypond i've never run into this problem either on linux, mac or  
windows.


regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: dual window editor

2009-04-21 Thread Simon Bailey

hi,

On 20 Apr 2009, at 14:26, rathcof...@comcast.net wrote:

I'm a new user of Lily Pond.  I'm running the program under Windows  
XP (I know, I know, don't tell me...)  I find it fast and easy to  
use.  I prefer it to Finale because it's so easy to debug the code.


lily works well on windows, mac and linux. which is as software should  
be. happy to hear you like it, i've been a fan for a long time. :)


JEdit is O.K., but it would be a big help to me if there were a dual- 
window editor that would incorporate an interpreter (rather than a  
compiler).  One window would show the text file as it was being  
developed; the other side would display - on command - the resulting  
PDF image.  (Think of the way the Matlab editor works.)  It would  
make debugging much easier to be able to see the results of code  
changes immediately, rather than have to save the .LY file and then  
call LP, then look at the result in Adobe.


on a mac, i use TeXShop. you can probably get TeXniccenter on windows  
to play nicely with lilypond -- iirc it's easy to add a new  
typesetting engine to it, but i haven't done things like that on  
windows for a few years. (i think they called them output profiles).  
or you can go the route of JEdit and LilyPondTool which works for a  
lot of ppl here on this list. bertalan (dev of LPT) is also active  
around here.


welcome to the world of lilypond. :) regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Re: one other thing - documentation

2009-04-21 Thread Simon Bailey
sorry if this is double posted, my mail-client seems to be affected by  
sunspot activity or the lack of it. :)


mw,

On 20 Apr 2009, at 14:34, rathcof...@comcast.net wrote:
You could make these conventions explicit - I had to learn about  
them by trial and error.


cis'4 is a valid command; cis4' is not.


there is a perverse logic to this, which makes it not a convention but  
syntax. the ' and , are actually part of the pitch, the numbers only  
designate the duration and can be omitted. you are right, it is not  
explicitly stated anywhere, if graham's ok with it, i'll add a patch  
to the LM 2.1.2 to clarify this point. but once you've wrapped your  
mind around the concept of ' and , being an integral part of the pitch  
it becomes automatic.



c (d e f%comment

g a)

causes an error, but

c(d e f

g a)   %measure 64

does not.  (the comment has to be outside of the paren.)


no it doesn't (as graham has already pointed out). at least not here  
on a mac using lilypond 2.12.1. and in the past 7 years of using  
lilypond i've never run into this problem either on linux, mac or  
windows.


regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25


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


Re: dual window editor

2009-04-21 Thread Bertalan Fodor (LilyPondTool)


on a mac, i use TeXShop. you can probably get TeXniccenter on windows 
to play nicely with lilypond -- iirc it's easy to add a new 
typesetting engine to it, but i haven't done things like that on 
windows for a few years. (i think they called them output profiles). 
or you can go the route of JEdit and LilyPondTool which works for a 
lot of ppl here on this list. bertalan (dev of LPT) is also active 
around here.

Well, sort of :)

Actually as LPT has its own parser, which can tell more or less whether 
the current input is valid, a constantly updated view could be possible. 
(Like looking for the last valid version of the file in every 30 seconds 
and generate the file.)


Feel free to contribute this feature ;-)

Bert


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


Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
Exellent, it is exactly what I was hoping! I am going back to the
documentation to see if I can learn such magic things.
Thanks!
Frédéric


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


Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey

frédéric,

On Apr 21, 2009, at 6:54 PM, Frédéric Bron wrote:

Exellent, it is exactly what I was hoping! I am going back to the
documentation to see if I can learn such magic things.


start in LM 3.3 and then move on to NR 5.1.

regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



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


Lilypond Tool in jEdit

2009-04-21 Thread Helge Kruse

Hello,

I installed jEdit and LilyPondTool (LPT) at Windows XP.
Unfortunately LPT could not be installed with the Plugin Manager of jEdit 
4.2. So I choosed to install jEdit 4.3pre16 (the development version) and 
LPT.


I also write in LaTeX and tried to use jEdit for this purpose. But jEdit 
hangs several times per hour when running LaTeX. I argue that it would be 
better to use the stable version 4.2 of jEdit. But there's no LPT 
available


Do you have similar problems with jEdit 4.3pre16?
Would it be possible to make LPT available for jEdit 4.2?

Regards,
Helge



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


Re: Lilypond Tool in jEdit

2009-04-21 Thread Kees Serier
Helge Kruse schreef:
> Hello,
> 
> I installed jEdit and LilyPondTool (LPT) at Windows XP.
> Unfortunately LPT could not be installed with the Plugin Manager of
> jEdit 4.2. So I choosed to install jEdit 4.3pre16 (the development
> version) and LPT.
> 
LPT works nice in jEdit 4.3pre16 on Windows XP.

> I also write in LaTeX and tried to use jEdit for this purpose. But jEdit
> hangs several times per hour when running LaTeX. I argue that it would
> be better to use the stable version 4.2 of jEdit. But there's no LPT
> available
> 
I haven't used LaTeX for some years, that was before I used jEdit.
You may consider starting LaTeX from the DOS prompt?

Regards,

Kees



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


Lilypond to XML

2009-04-21 Thread craigbakalian
Hi all,
Do we have anything to convert a lilypond file to a music xml file.
Doing a google search just provides the opposite, xml to lily.  Anybody
know of anything?


Craig Bakalian
560 Keswick Drive
Yardley, PA 19067
215-428-0856



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


Re: Grace Note in Pick-Up Bar

2009-04-21 Thread grisu_76

I tried your recommendations with the \grace before the \partial; it doesn't
seem to work;
as requested, here's the full example; it is based on two files: the second
one is the music-file and the first one is the file for the full score,
including the music-file


%% FILE 1:

\include "satz03.ly"
# (set-global-staff-size 14)
\score {
   \new StaffGroup \keepWithTag #'score \music
   \layout {}
   \midi {
   \context {
   \Score
   tempoWholesPerMinute = #(ly:make-moment 120 8)
   }
   }
}

%

 FILE 2 (i.e. "satz03.ly":

\include "deutsch.ly"  
global = {
   \time 6/8
   \key es \major
   \tempo "Presto"
}

\markup {
   \fill-line {
   \huge III.
   }
}

ViolineEins = \new Voice {\relative c'{
   \set Staff.midiInstrument = #"violin"
   \grace {c''8} \partial 8*3  b8 \p (a) b-.
g8-. g-. g-. \grace{as} g( f) g-.
   \bar "|."
   }}

ViolineZwei = \new Voice {\relative c'{
   \set Staff.midiInstrument = #"violin"

\grace {s8} \partial 8*3 r4 r8
   \bar "|."
   }}
  Viola = \new Voice {\relative c'{
   \clef alto
   \set Staff.midiInstrument = #"viola"
   \partial 8*3 \grace {s8}   r4 r8

   \bar "|."
   }}
Cello = \new Voice {\relative c{
   \clef bass
   \set Staff.midiInstrument = #"cello"
\grace {s8} \partial 8*3 r4 r8
 \bar "|."
   }}

music = {

   <<
 \tag #'score \tag #' vn1 \new Staff { << \global \ViolineEins >> }
 \tag #'score \tag #' vn2 \new Staff { << \global \ViolineZwei >> }
 \tag #'score \tag #' vla \new Staff  { << \global \Viola >> }
 \tag #'score \tag #' vlc \new Staff  { << \global \Cello >> }

   >>
}  




grisu_76 wrote:
> 
> Hi everyone!
> 
> I try to do the following:
> 
> ViolineEins = \new Voice {\relative c'{
>   \set Staff.midiInstrument = #"violin"
>   \partial 8*3 \grace {c''8} b8\p (a) b-. 
>g8-. g-. g-. \grace{as} g(f) g-.
>   \bar "|."
>   }}
> 
> ViolineZwei = \new Voice {\relative c'{
>   \set Staff.midiInstrument = #"violin"
>   \partial 8*3 \grace {s8} r4 r8
>   \bar "|."
>   }}
> 
> I know about the Problem with those dummy-grace-notes, but it is printed
> into the time/key signature;
> 
> Is there a posibility to let the piece start with the grace note within a
> pickup bar?
> 
> Regards,
> Christian
> 

-- 
View this message in context: 
http://www.nabble.com/Grace-Note-in-Pick-Up-Bar-tp23126297p23162998.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Lilypond to XML

2009-04-21 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Dienstag, 21. April 2009 20:24:42 craigbakalian wrote:
>   Do we have anything to convert a lilypond file to a music xml file.

No,
Reinhold
- -- 
- --
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJ7idFTqjEwhXvPN0RAs4eAKDb9XFqHPY81CbQuQiRCa8XpD8uWACgm80x
n/5vAhcbOcstWZReYBaR7yQ=
=altB
-END PGP SIGNATURE-


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


Re: Lilypond to XML

2009-04-21 Thread Valentin Villenave
2009/4/21 craigbakalian :
>        Do we have anything to convert a lilypond file to a music xml file.
> Doing a google search just provides the opposite, xml to lily.  Anybody
> know of anything?

This is a popular feature request, and hopefully someone will
implement it some day:
http://code.google.com/p/lilypond/issues/detail?id=665

Regards,
Valentin


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


Re: TextSpanner at Score level?

2009-04-21 Thread Kieren MacMillan

Hi all,

Frédéric wrote:

Exellent, it is exactly what I was hoping!


Glad to hear that!

I am going back to the documentation to see if I can learn such  
magic things.


Bonne chance!
_

Simon wrote:
now that's a far more elegant solution than anything i'd ever have  
come up with. :)


Merci.


thanks, kieren, i just learnt some new things. :)


Since I'm currently teaching (a week-long FileMaker Pro course), I  
must be in good instructor mode... ;-)

_

All that being said, I'd still like to know why StaffGroup doesn't  
"Do The Right Thing", [i.e., why this behavior shouldn't be  
considered a bug].


Cheers,
Kieren.

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


Re: Lilypond to XML

2009-04-21 Thread Jack Cooper
As others have replied, this isn't currently a lilypond feature.  However, a 
commercial
program called pdftomusicpro provides translation between pdf output and another
format which can then be exported to musicxml.  It works pretty well, although
I've only used it for leadsheet and songbook-style transcriptions.  Depending on
what you intend to do with the xml output, you may need to filter the output 
through one of the finale products to produce a more robust xml output.
 
I haven't fully experimented with tab output, so I can't say how well the tab 
information
is retained through this process.

Jack Cooper, BerLen Music
www.berlenmusic.com

--- On Tue, 4/21/09, craigbakalian  wrote:

From: craigbakalian 
Subject: Lilypond to XML
To: lilypond-user@gnu.org
Received: Tuesday, April 21, 2009, 6:24 PM

Hi all,
Do we have anything to convert a lilypond file to a music xml file.
Doing a google search just provides the opposite, xml to lily.  Anybody
know of anything?


Craig Bakalian
560 Keswick Drive
Yardley, PA 19067
215-428-0856



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


Re: dual window editor

2009-04-21 Thread MonAmiPierrot



Bertalan Fodor (LilyPondTool) wrote:
> 
> Actually as LPT has its own parser, which can tell more or less whether 
> the current input is valid, a constantly updated view could be possible. 
> (Like looking for the last valid version of the file in every 30 seconds 
> and generate the file.)
> 

Yes yes yes please! I have many ideas about this feature, for example...


Bertalan Fodor (LilyPondTool) wrote:
> 
> Feel free to contribute this feature ;-)
> 

Doh! :(


-
Piero Faustini, PhD student
Dipartimento di Scienze Storiche
Sezione musicologia
Università di Ferrara 

Main Software used:

- LyX 1.6.1 on WinXP sp3; EndNote & JabRef
- MikTex
- LaTeX class: Koma book
- Lilypond 2.12 for example excerpts
- BibLaTeX for bibliographies 


-- 
View this message in context: 
http://www.nabble.com/dual-window-editor-tp23155738p23165801.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: TextSpanner at Score level?

2009-04-21 Thread -Eluze


Kieren MacMillan wrote:
> 
> 
> Since I'm currently teaching (a week-long FileMaker Pro course), I  
> must be in good instructor mode... ;-)
> 
> 
nice solution so far - but still some open points!

trying to take advantage of your mood i'll ask the following questions:

- it might be simpler to use skips (s) in the contextSpan voice
- how would you make more TextSpanners later on (the Text_spanner_engraver
has been removed from the voice)?
- how do you find out which contexts and engravers are involved?
- if you have 15 instruments (staffs) you need to add 15 "stringendo"s - is
that correct?

thanks

-- 
View this message in context: 
http://www.nabble.com/TextSpanner-at-Score-level--tp23119922p23166180.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey

hiya,

On 22 Apr 2009, at 00:35, -Eluze wrote:

nice solution so far - but still some open points!

trying to take advantage of your mood i'll ask the following  
questions:


- it might be simpler to use skips (s) in the contextSpan voice


kieren was probably copy-pasting and saving time. if you're doing this  
for real, you'll probably have this in a spare variable using space  
notes anyway.


- how would you make more TextSpanners later on (the  
Text_spanner_engraver

has been removed from the voice)?


if i understand frédéric correctly, this is only required for the full  
(conductor's) score.



- how do you find out which contexts and engravers are involved?


over my head.

- if you have 15 instruments (staffs) you need to add 15  
"stringendo"s - is

that correct?


you probably already have the 15 stringendo's in the instrument  
definitions anyway -- frédéric's question was about getting rid of all  
15 of these definitions in the conductor's score.



On 21 Apr 2009, at 22:30, Kieren MacMillan wrote:
Since I'm currently teaching (a week-long FileMaker Pro course), I  
must be in good instructor mode... ;-)


instructor mode is good... but why FileMaker for heaven's sake? ;)

All that being said, I'd still like to know why StaffGroup doesn't  
"Do The Right Thing", [i.e., why this behavior shouldn't be  
considered a bug].


i've become VERY wary of calling anything a bug in lilypond. however,  
this exact case seems to be a perfect qualifier for a bug. i'm  
wondering why it didn't work as well though... but there may be  
something totally and horrendously fundamental that we're missing in  
this case and is so simple that the only ppl likely to know the answer  
will be mats, han-wen or graham. :) [not necessarily in that order ;)]


regards,
sb

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


Hymns with several verses and a chorus

2009-04-21 Thread johanperu

Hi,
I am to do many hymns with 2 to 6 verses.  Then the music continues with
some and a single chorus follows.  I do the hymns with the verses, fine.  I
can add the chorus when the chorus has the same music as the verses below
the bottom staff.  (There are two staffs, like piano music, treble and
bass.)  The verses I fit between the staffs.  After the verses I now want to
continue with the chorus.

I am missing something about the simultaneous processes and I do not know
where to fit the chorus words and music in.  I think I should separate the
chorus music as well.  Any advice on what I have here is welcome.  This is
going to be a template for many hymns if and when I get it right.

This is what the score looks like:
\score {
  \new ChoirStaff <<
\new Staff = upper
  \new Voice = "sopranos" {
\revert Rest #'direction
 \global 
  \voiceOne
   \pentagramaSup %the upper music
   \chorusmusicSup  % ?
  }

\new Lyrics = "estrofaI" { s1 }
\new Lyrics = "estrofaII" { s1 }
\new Lyrics = "estrofaIII" { s1 }
\new Lyrics = "VerseIV" { s1 }

\context Lyrics = VerseOne \lyricsto sopranos { \set vocalName = "1." 
\estrofaI }
\context Lyrics = VerseTwo \lyricsto sopranos { \set vocalName = "2. "
\estrofaII }
\context Lyrics = VerseThree \lyricsto sopranos { \set vocalName = "3. "
\estrofaIII }
\context Lyrics = VerseFour \lyricsto sopranos { \set vocalName = "4. "
\estrofaIV }

\new Staff = lower <<
  \clef bass
\new Voice = "tenors" {
 \global 
  \voiceTwo
   \pentagramaInf % lower music
   \chorusMusicInf% ??
  }
 
>>
% This is for the chorus running in parallel with the verses but does not
work in many cases
   \new Lyrics = "Chorus" { s1 }
\context Lyrics = Chorus \lyricsto sopranos { \set stanza = "CORO:  "
\coro }

  >> 
  
   \layout {
\context {
\Score
\remove "Bar_number_engraver" %no bar numbers
  \override InstrumentName #'X-offset = #6  %Put the number in the staff 
  \override InstrumentName #'font-series = #'bold   %bold it
  \override InstrumentName #'font-size = #5 %size it
  }
  
\context {
  \Staff
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
  \override  Stem #'length = #8.0 %longer stems
  }
  }
   \midi { }
 }
-- 
View this message in context: 
http://www.nabble.com/Hymns-with-several-verses-and-a--chorus-tp23168795p23168795.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: invisible pedal sustain

2009-04-21 Thread Jay Anderson
Steve Yegge  gmail.com> writes:
> Any idea how to squelch these? -steve

I don't know how to disable these warnings, but there are a couple other options
which would yield the same result without warnings:
- Separate the pedals from the music. This would be similar to how the
"Piano template with centered dynamics" snippet works:

- Write a music function to remove pedal markings. Remove them just for the pdf
output and not for the midi.

The first option is probably the better (and easier) of the two.

-Jay



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


Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
> - it might be simpler to use skips (s) in the contextSpan voice
This would be more complicated as I just have to write \clarinet for
example whereas with spaces, I would have to calculate exactly where
each spanners goes (I am writing the 4th symphony of Schumann and the
conductor score is 100 pages...)

> - if you have 15 instruments (staffs) you need to add 15 "stringendo"s - is
Here again, no problem because I have it in all individual parts but
the trick would work without it, try that:

stringendo = { \textSpannerUp \override Score.TextSpanner
#'(bound-details left text) = "Stringendo" }
strmusic = { \stringendo c'1 \startTextSpan \repeat unfold 4 { c' }
c'\stopTextSpan }
music = { c'1 \repeat unfold 4 { c' } c' }

\layout {
\context {
\type "Engraver_group"
\consists "Text_spanner_engraver"
\consists "Axis_group_engraver"
\name "ConTextSpan"
\override VerticalAxisGroup #'minimum-Y-extent = #'(1 . 3)
}
\context { \Score \accepts ConTextSpan }
\context { \Voice \remove "Text_spanner_engraver" }
}

\score {
<<
\new ConTextSpan { \strmusic }
\new StaffGroup <<
\new Staff { \music }
\new Staff { \music }
>>
\new ConTextSpan { \strmusic }
\new StaffGroup <<
\new Staff { \music }
\new Staff { \music }
>>
>>
}

Frédéric


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


Re: Hymns with several verses and a chorus

2009-04-21 Thread James E. Bailey


Am 22.04.2009 um 04:55 schrieb johanperu:



Hi,
I am to do many hymns with 2 to 6 verses.  Then the music continues  
with
some and a single chorus follows.  I do the hymns with the verses,  
fine.  I
can add the chorus when the chorus has the same music as the verses  
below

the bottom staff.  (There are two staffs, like piano music, treble and
bass.)  The verses I fit between the staffs.  After the verses I  
now want to

continue with the chorus.

I am missing something about the simultaneous processes and I do  
not know
where to fit the chorus words and music in.  I think I should  
separate the
chorus music as well.  Any advice on what I have here is welcome.   
This is

going to be a template for many hymns if and when I get it right.

This is what the score looks like:
\score {
  \new ChoirStaff <<
\new Staff = upper
  \new Voice = "sopranos" {
\revert Rest #'direction
 \global
  \voiceOne
   \pentagramaSup %the upper music
   \chorusmusicSup  % ?
  }

\new Lyrics = "estrofaI" { s1 }
\new Lyrics = "estrofaII" { s1 }
\new Lyrics = "estrofaIII" { s1 }
\new Lyrics = "VerseIV" { s1 }

\context Lyrics = VerseOne \lyricsto sopranos { \set vocalName  
= "1."

\estrofaI }
\context Lyrics = VerseTwo \lyricsto sopranos { \set vocalName  
= "2. "

\estrofaII }
\context Lyrics = VerseThree \lyricsto sopranos { \set  
vocalName = "3. "

\estrofaIII }
\context Lyrics = VerseFour \lyricsto sopranos { \set vocalName  
= "4. "

\estrofaIV }

\new Staff = lower <<
  \clef bass
\new Voice = "tenors" {
 \global
  \voiceTwo
   \pentagramaInf % lower music
   \chorusMusicInf% ??
  }



% This is for the chorus running in parallel with the verses but  
does not

work in many cases
   \new Lyrics = "Chorus" { s1 }
\context Lyrics = Chorus \lyricsto sopranos { \set stanza =  
"CORO:  "

\coro }





   \layout {
\context {
\Score
\remove "Bar_number_engraver" %no bar numbers
  \override InstrumentName #'X-offset = #6	%Put the number in  
the staff

  \override InstrumentName #'font-series = #'bold   %bold it
  \override InstrumentName #'font-size = #5 %size it
  }

\context {
  \Staff
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
  \override  Stem #'length = #8.0 %longer stems
  }
  }
   \midi { }
 }
--
View this message in context: http://www.nabble.com/Hymns-with- 
several-verses-and-a--chorus-tp23168795p23168795.html
Sent from the Gnu - Lilypond - User mailing list archive at  
Nabble.com.




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



When I do these kinds of things, I usually assign a different voice  
context to the verses and the choruses. It can be a bit tedious  
(especially if you want to re-use a context) but the general idea is so:

soprano = \relative c'' {
\context Voice = sopranoVerseI { c4 d e f }
\context Voice = sopranoChorusI {   g4 g g g }
\context Voice = sopranoVerseII { f4 e d c }
\context Voice = sopranoChorusII { c4 c c c }
}
alto = \relative c'' {
\context Voice = altoVerseI { c4 g c a }
\context Voice = altoChorusI { g4 g g g }
\context Voice = altoVerseII { a4 c b c }
\context Voice = altoChorusII { c4 c c c }
}

And so on for the other voices. And then the appropriate lyrics  
contexts for each. It's possible to do it using \context Voice =  
sopranoVerse each time there's a verse and \context Voice =  
sopranoChorus for each chorus, but it's only slightly more convenient  
and I only do that if I'm switching between contexts a lot.


James E. Bailey



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


Re: dual window editor

2009-04-21 Thread Bertalan Fodor (LilyPondTool)


Bertalan Fodor (LilyPondTool) wrote:
  

Feel free to contribute this feature ;-)




Doh! :(
  

That didn't mean I wouldn't do it :)

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


Re: Hymns with several verses and a chorus

2009-04-21 Thread Tom Dickson
What I normally do is just typeset the music as one piece, and then  
one verse is extra long.


So:

sopMusic { cccetc}

verseOne { A song A chorus}

verseTwo { A song}

This shows correctly and the most I have to do is \break the music at  
the right place. You can even use a \markup to add Refrain if you want.



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


Re: Lilypond Tool in jEdit

2009-04-21 Thread Helge Kruse

I also write in LaTeX and tried to use jEdit for this purpose. But jEdit
hangs several times per hour when running LaTeX. I argue that it would
be better to use the stable version 4.2 of jEdit. But there's no LPT
available


I haven't used LaTeX for some years, that was before I used jEdit.
You may consider starting LaTeX from the DOS prompt?


Yes it's possible, but jEdit has some nice features, like jump to the next 
error found in compiler (Lilypond,LaTeX) output.


Regards,
Helge



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