Re: Adding / deleting staves on the fly

2007-07-31 Thread Kieren MacMillan

Hi Reinhold:

my naive attempts led me to a solution, which apparently works just  
fine:


Nice.

Unfortunately, the enclosed snippet appears to show that you can't  
set this property "inline"...  =\

Any thoughts on how to get around that?

Thanks,
Kieren.


\version "2.11.27"

\layout { \context { \RemoveEmptyStaffContext } }

theMusic = \relative
{
c d e f c d e f \break
R1*2 \break
\override Staff.VerticalAxisGroup #'remove-empty = ##t
R1*2 \break
\override Staff.VerticalAxisGroup #'remove-empty = ##f
R1*2
}

\score
{
\theMusic
}


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


Re: Adding / deleting staves on the fly

2007-07-31 Thread Kieren MacMillan

Hello all,

If you simply want staves with rests only to disappear, simply add  
the

RemoveEmptyStaffContext to your layout.  []


I've asked this before, but never really got a complete answer...

Is there any way to have \RemoveEmptyStaffContext in a layout, but  
specifically choose one Staff (or, better yet, section of measures of  
a Staff) that would still display regardless of content?


I thought it might be possible by adding MultiMeasureRest to the list  
of #'interesting-items, but nothing I tried seemed to work!  =\


Thanks,
Kieren.


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


kudo-pond

2007-07-31 Thread Kieren MacMillan

Hey all!

Just sending out kudos to the whole Lilypond team...

I'm currently attempting (not entirely without success, I believe!)  
to compose and music direct a full two-act musical in about seven  
weeks; the preview is one week from tomorrow. [eek!]


I've been cranking out a piece fully scored/voiced for chorus and  
soloists -- often with piano accompaniment, especially where I need  
to give myself reminders -- every day or so, and revisions happen on  
a constant basis as we're workshopping the completed songs.


All things considered, it's been a total joy to be using Lilypond as  
my engraver, the output is (naturally) remarkably great on the first  
compile, and I'm absolutely sure this pace would be (for me)  
impossible with any other piece of software.


So, from this (hard-)working composer and engraver, a deeply  
heartfelt "MUCHOS GRACIAS"!!  =)


Best regards,
Kieren.


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


Re: Adding / deleting staves on the fly

2007-07-31 Thread Kieren MacMillan
Hi Risto, [by the way... "Risto" is the middle name given to me by my  
Serbian mother!!  =)  ]


I've been trying to find out how to create and delete staves on the  
fly.
This would be very useful especially in choir music when one voice  
is quiet
for a long time or when a voice is divided and it is no longer  
convenient to

cram them into one staff.


I've been composing and engraving a lot of choral scores lately, and  
(naturally) have run into the same issues... The situation (at least  
for me) isn't as simple as being able to create and delete staves on  
the fly: such a solution requires way too many manual adjustments for  
different editions (or anytime the page layout changes).


Short of Lilypond gaining *serious* artificial intelligence  
capabilities...  ;-)


I have come to the conclusion that the best situation would be as  
follows:
1. Encode ALL POSSIBLE staff situations (e.g., 4-staff S+A+T+B,  
3-staff SA+TB, and 1-staff SATB);
2. Provide a "rating" for each measure (or section), ranking the  
layouts from "most desirable" to "least desirable" (or perhaps  
"necessary" to "fallback"?); and then
3. Have Lilypond decide which layout to select, once horizontal  
layout has been determined.


I took a (brief) stab at trying to do this using #'tag, but (AFAICS)  
what I'm looking for is way beyond the capability of that mechanism.


Dev Team:
1. Does this idea make any sense?
2. Is it technically feasible to do this?
3. How gigantic a job [and, thus, how expensive a sponsorship]  
would it be?


Thanks!
Kieren.


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


Re: Adding / deleting staves on the fly

2007-07-31 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Dienstag, 31. Juli 2007 schrieb Risto Vääräniemi:
> I've been trying to find out how to create and delete staves on the fly.
> This would be very useful especially in choir music when one voice is quiet
> for a long time 

Hiding "empty" staves is easy, see below.

> or when a voice is divided and it is no longer convenient 
> to cram them into one staff.

that's something I can't answer...

> Another issue is starting a song with just one voice and forcing the staff
> to start with the ChoirStaff. One workaround was introduced (below) but I
> couldn't use it to add a new staff for the next system.
>
> http://www.nabble.com/One-staff-in-ChoirStaff-tf1934152.html#a5299462

If you simply want staves with rests only to disappear, simply add the 
RemoveEmptyStaffContext to your layout. To force this to also apply to the 
first system of a score, set #'remove-first of VerticalAxisGroup to ##t:

\layout{
  \context {
\Score
% Remove all-rest staves, even in the first system
\override VerticalAxisGroup #'remove-first = ##t
  }
  \context {
\RemoveEmptyStaffContext 
  }
}

However, this will not print the choir bracket if only one staff is left. In 
this case, the Lilypond Snipplet Repository comes to help:
http://lsr.dsi.unimi.it/LSR/Item?id=201

Simply add 
  \context {
\ChoirStaff 
% If only one non-empty staff in a system exists, still print the backet
\override SystemStartBracket #'collapse-height = #1
  }

to the \layout section, too. As an example you can check my Litaniae 
Lauretanae KV 109 at CPDL:
http://www.cpdl.org/wiki/index.php/Litaniae_Lauretanae_BMV_-_KV_109_(Wolfgang_Amadeus_Mozart)

The lilypond files can be downloaded there, too.


As for dynamically splitting/combining multiple voices into multiple/single 
staves when needed, that's a problem where I would like to get an answer, too 
(I need it for a mass where the soloists staves can be combined into the 
choir staff most of the time, only in one place do they sing together with 
the choir).

Cheers,
Reinhold


- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGr7VfTqjEwhXvPN0RAsZRAJ4wVaHTqT7QCio3TCr5Q13wO3rcagCeNMM3
JOfWGsGd60dko50dWFp6P1Y=
=/RYf
-END PGP SIGNATURE-


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


Re: ly2midi abc2ly etc

2007-07-31 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Dienstag, 31. Juli 2007 schrieb NickMengham:
> I am aware that there is a file abc2ly. How do i get this to work? 

abc2ly yourfile.abc 

will create yourfile.ly for lilypond, which contains most of the stuff from 
abc. However, the .ly file needs to be edited a lot (and several things are 
not handled by the script (e.g. [Q:"rit"], !fermata!, etc. in abc).

Cheers, 
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGr66tTqjEwhXvPN0RAmTKAJ0cq9dk6HsK1IE5JApAzXvtpIyOcACgtaKF
zXE+xHv6MhRIT9Y3zCZrkKU=
=JM0B
-END PGP SIGNATURE-


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


Melisma should end with manual beam

2007-07-31 Thread Michael Käppler

Hi all,
following example:

\relative c' {
 \autoBeamOff
 f2 \melisma f' ~ f4 [ \melismaEnd es8 d ] c4 b
}
\addlyrics { kom -- men }

How can I let the melisma end >with< the beam, like this:

f fes d
kom -  men__

Thanks for suggestions,
Michael


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


RE: ly2midi abc2ly etc

2007-07-31 Thread Ed Ardzinski
I don't know about the abc, but you can have LP create midi files by adding 
\midi to the score block.  As an example:
 
\score
{
 \context PianoStaff
 <<
 \set PianoStaff.instrument = ""
 \context Staff = upper \upper
 \context Staff = lower \lower
 >>
 \layout {}
 \midi {\tempo 4 = 136}
}
 



> To: lilypond-user@gnu.org> From: [EMAIL PROTECTED]> Subject: ly2midi abc2ly 
> etc> Date: Tue, 31 Jul 2007 18:07:05 +> > I am aware that there is a file 
> abc2ly. How do i get this to work? I have read > the lilypond instruction but 
> it was a bit vage on this point. Also I would > like to export lilypond to 
> midi can i do this? Is there a ly2midi? how do I us > it? I am a windows xp 
> user. I would be very very greatful if you could help me.> > > > 
> ___> lilypond-user mailing list> 
> lilypond-user@gnu.org> http://lists.gnu.org/mailman/listinfo/lilypond-user
_
See what you’re getting into…before you go there.
http://newlivehotmail.com___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Adding / deleting staves on the fly

2007-07-31 Thread Risto Vääräniemi

Dear All,

I've been trying to find out how to create and delete staves on the fly.
This would be very useful especially in choir music when one voice is quiet
for a long time or when a voice is divided and it is no longer convenient to
cram them into one staff.

Another issue is starting a song with just one voice and forcing the staff
to start with the ChoirStaff. One workaround was introduced (below) but I
couldn't use it to add a new staff for the next system.

http://www.nabble.com/One-staff-in-ChoirStaff-tf1934152.html#a5299462

Unfortunately, (obviously) I cannot provide you a code snippet but I
composed an image of the score I had in my mind (below).

http://img.photobucket.com/albums/v514/ripstop/muuta/choir_staff_problem.png

I hope there is a way to do this and that I had just missed the
instructions. :-)


-Risto
-- 
View this message in context: 
http://www.nabble.com/Adding---deleting-staves-on-the-fly-tf4194952.html#a11930338
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: Trouble with lilypond-book on Mac OS X

2007-07-31 Thread Vivian Barty-Taylor


Yes, I'm quite unfamiliar with command-line tools, and I never really 
needed any.


A good introduction to the command line and how to set PATH etc. is at 
http://www.osxfaq.com/Tutorials/LearningCenter/


You will need to set the path in a file called .login in your home 
directory. You can create this in any text editor (e.g. EMacs.) 
Incidentally, I use EMacs to edit my Lilypond files precisely for that 
reason - that it gives you cursor position information (as well as 
being generally a nicer environment to work in.)


Hope this helps,
Vivian.



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


ly2midi abc2ly etc

2007-07-31 Thread NickMengham
I am aware that there is a file abc2ly. How do i get this to work? I have read 
the lilypond instruction but it was a bit vage on this point.  Also I would 
like to export lilypond to midi can i do this? Is there a ly2midi? how do I us 
it?  I am a windows xp user. I would be very very greatful if you could help me.



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