Re: Feathered beams

2007-08-16 Thread Mats Bengtsson



Michael Sperone wrote:


Thank you for your help, I thought I might need to change the settings 
back.


I did get a chance to look through the chapters you mentioned, but 
couldn't really find anything that would change the settings back for 
the feathered beams.  I'm not sure exactly what it is I should be 
typing.  Sorry if it's obvious, but I'm not seeing it.  I will keep 
trying different things though.



The documentation of the feathered beams says that you get them by
setting a certain property. This implies that you should revert that setting
to get back to ordinary beams. The general principles for setting and 
reverting
properties are described in the sections Graham refered to. So, to get 
back to

ordinary beams, just insert a
\revert Beam #'grow-direction

If you only want a single feathered beam, this also means that you can 
use the

\once \override feature, see my example below.

I realize why you were mislead by the example in the manual, since the
property setting and the use of the function \featherDurations are two
completely different things. The following example illustrates the
concepts more in detail. I will include this example in LSR and also
make a small change to the example in the manual to reduce the risk of
confusion.

\version "2.10.0"

\relative c''
<<
\new Staff {
% Turn on feathered beams:
\override Beam #'grow-direction = #LEFT

% Example of a beamed sequence:
bes32\p\>[ ges d' bes, c' ges a ges \!]

% When the factor is 4/4=1, you get the same as without \featherDurations
\featherDurations #(ly:make-moment  4 4)
{ bes32\p\>[ ges d' bes, c' ges a ges \!] }

% When the factor is >1, you get a ritardando-like placement of the
% notes (and sound in the MIDI output).
\featherDurations #(ly:make-moment  6 4)
{ bes32\p\>[ ges d' bes, c' ges a ges \!] }

% When the factor is <1, you get accelerando, i.e. you should
% really only use if when \override Beam #'grow-direction = #RIGHT
\featherDurations #(ly:make-moment  3 4)
{ bes32\p\>[ ges d' bes, c' ges a ges \!] }

% Revert back to ordinary beams:
\revert Beam #'grow-direction
bes32\p\>[ ges d' bes, c' ges a ges \!]

% Get a single feathered beam, using \once \override:
\once \override Beam #'grow-direction = #LEFT
bes32\p\>[ ges d' bes, c' ges a ges \!]
bes32\p\>[ ges d' bes, c' ges a ges \!]

% The \featherDurations function just adjusts the durations
% of the notes and can be used without % feathered beams:
\featherDurations #(ly:make-moment  6 4)
{ bes32\p\>[ ges d' bes, c' ges a ges \!] }

}

% Reference rhythm to compare to:
\new Staff \repeat unfold 64 { c32 }
>>


  /Mats


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


engraving question

2007-08-16 Thread Joe Neeman
I'm trying to tweak the spacing code, and I've come across a case where I'm 
not sure what to do. In the attached example, I have a note followed by a 
clef change followed by a bar line. Given that the clef fits in the space 
that would be there anyway, should it take up extra space? Any strong 
opinions (they will be regarded more highly if they come with references, of 
course)?

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


Re: SVG output sponsorship

2007-08-16 Thread Erik Sandberg
On Wednesday 15 August 2007, Eduardo Vieira wrote:
> Citando Vivian Barty-Taylor <[EMAIL PROTECTED]>:
> >I'm using various bits of graphics in this piece
> > which aren't natively supported by Lilypond. Although I could add them
> > all as EPS markups, the amount of time I would spend adjusting the
> > positions of them makes it a lot easier to do it this way.
>
> Have you ever tried importing your ps file into Scribus? You could import
> and ungroup all the objects of your score, then you can adjust, move, or
> insert whatever object you want.

Ah, now I remember, this is the way I used to do to convert ps -> svg. IIRC, 
you sometimes need to do a round or two of ps2ps, eps2eps, pdf2ps, or similar 
to make scribus decode the ps correctly.

Erik


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


Page breaking to get only full pages

2007-08-16 Thread Michael Käppler

Hi all,
can I get lilypond to automatically break pages in such a way that only
full pages are created?
For example, if the piece gets 1 1/2 pages long with
optimal-page-breaking, lilypond decides whether to compress everything
on 1 page or expand it to 2 pages?

Kind regards,
Michael



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


Re: Page breaking to get only full pages

2007-08-16 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 16. August 2007 schrieb Michael Käppler:
> For example, if the piece gets 1 1/2 pages long with
> optimal-page-breaking, lilypond decides whether to compress everything
> on 1 page or expand it to 2 pages?

\paper {
ragged-last-bottom = ##f
}


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)

iD8DBQFGxFPfTqjEwhXvPN0RAo4JAKCPffaY3LBhkFVlquItUNwqg4tGhwCfc1+g
R0MO8WX4P4+2WZrgBCVcYKQ=
=rJV7
-END PGP SIGNATURE-


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


Re: engraving question

2007-08-16 Thread Mark Knoop
Mark Knoop wrote:
> Joe Neeman wrote:
>> I'm trying to tweak the spacing code, and I've come across a case where I'm 
>> not sure what to do. In the attached example, I have a note followed by a 
>> clef change followed by a bar line. Given that the clef fits in the space 
>> that would be there anyway, should it take up extra space? Any strong 
>> opinions (they will be regarded more highly if they come with references, of 
>> course)?
> 
> I would say that no extra space should be added - see ex0.png. I've also
> included a case where the engraver has actually moved a rest to the left
> to fit a clef change - ex1.png - perhaps in order to keep the quavers
> looking even. Both these are from the Henle edition of the Beethoven
> Sonatas for Piano and Cello.

One more from Brahms op 118 - Dover edition (reproduction of Breitkopf &
Härtel, 1927).

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


Re: several short pieces with scored titles

2007-08-16 Thread Mats Bengtsson
I have just added the following explanation and example to the LSR. 
Hopefully

it answers your question as well.

By default, only the piece and opus fields from the \header{...} block 
are typeset above each separate score, if you have multiple \score{...} 
blocks in your input file. As is mentioned in the manual, you can change 
this by setting the paper variable printallheaders, so that the full 
title is printed over each score. The corresponding \header{...} block 
should then be included within the corresponding \score{...} block, 
otherwise you will get an additional title (the title for the full book) 
above the first individual score title. This example shows how to get 
rid of the extra book level title. Note that a top level \header{...} 
block is useful if some titling information is the same for all scores 
and you do not want to repeat the information several times in the input 
file.


\header{
 composer = "The One and Only"
}


\score{
{c' d' e' f'}
\header{
 title = "First piece"
}
}

\score{
{c' d' e' f'}
\header{
 title = "Second piece"
}
}

\paper{
 printallheaders=##t
 bookTitleMarkup = ##f
}


  /Mats

Norman wrote:

I need to put a title with a score for several short pieces. Several pieces can
fit on one page. I am able to put a score within a title at the top of the page
but can't do it for pieces that are not at the top the page.


\version "2.10.25"


tuning = \markup {
\score {
\new Staff \with {
\remove Time_signature_engraver
} {
d'
}
\layout { ragged-right = ##t }
}
}


\header { subtitle = "D"
subsubtitle = \markup {  \tuning }  }

{ a a a a }



tuning = \markup {
\score {
\new Staff \with {
\remove Time_signature_engraver
} {
e''
}
\layout { ragged-right = ##t }
}
}


\header {
subtitle = "E"
 
subsubtitle = \markup {  \tuning }  }

{ a a a a } 





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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: several short pieces with scored titles

2007-08-16 Thread Gilles THIBAULT


I need to put a title with a score for several short pieces. Several pieces 
can
fit on one page. I am able to put a score within a title at the top of the 
page

but can't do it for pieces that are not at the top the page.


I 'm not sure i understand all of the above but here is a solution which 
seems to work.

(I hope it is what you wanted) :



\version "2.10.25"

\paper{
 printallheaders=##t
}


tuning = \markup {
   \score {
   \new Staff
\with { \remove Time_signature_engraver }
   { d' }
   \layout { ragged-right = ##t }
  }
}

\score
{
{ a a a a }
\header {
 subtitle = "D"
 subsubtitle = \markup {  \tuning }  }
}

tuning = \markup {
   \score {
   \new Staff
   \with {\remove Time_signature_engraver}
   { e''}
  \layout { ragged-right = ##t }
  }
}

\score
{
   { a a a a }
\header {
   subtitle = "E"
   subsubtitle = \markup {  \tuning }  }
}

%

I only add :
- printallheaders=##t
-a score block for each score
-the \header  section seems to need to be after the notes datas.

Gilles



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


Re: several short pieces with scored titles

2007-08-16 Thread Gilles THIBAULT


I 'm not sure i understand all of the above but here is a solution which 
seems to work.

See Mats explications :-)


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


Re: lilypond-user Digest, Vol 57, Issue 39

2007-08-16 Thread Michael Sperone

On Thu   , [EMAIL PROTECTED] sent:

Michael Sperone wrote:


>


> Thank you for your help, I thought I might need to change the settings 


> back.


>


> I did get a chance to look through the chapters you mentioned, but 


> couldn't really find anything that would change the settings back for 


> the feathered beams.  I'm not sure exactly what it is I should be 


> typing.  Sorry if it's obvious, but I'm not seeing it.  I will keep 


> trying different things though.


>


The documentation of the feathered beams says that you get them by


setting a certain property. This implies that you should revert that setting


to get back to ordinary beams. The general principles for setting and 


reverting


properties are described in the sections Graham refered to. So, to get 


back to


ordinary beams, just insert a


\revert Beam #'grow-direction





If you only want a single feathered beam, this also means that you can 


use the


\once \override feature, see my example below.





I realize why you were mislead by the example in the manual, since the


property setting and the use of the function \featherDurations are two


completely different things. The following example illustrates the


concepts more in detail. I will include this example in LSR and also


make a small change to the example in the manual to reduce the risk of


confusion.





\version "2.10.0"





\relative c''


<<


\new Staff {


% Turn on feathered beams:


\override Beam #'grow-direction = #LEFT





% Example of a beamed sequence:


bes32\p\>[ ges d' bes, c' ges a ges \!]





% When the factor is 4/4=1, you get the same as without \featherDurations


\featherDurations #(ly:make-moment  4 4)


{ bes32\p\>[ ges d' bes, c' ges a ges \!] }





% When the factor is >1, you get a ritardando-like placement of the


% notes (and sound in the MIDI output).


\featherDurations #(ly:make-moment  6 4)


{ bes32\p\>[ ges d' bes, c' ges a ges \!] }





% When the factor is <1, you get accelerando, i.e. you should


% really only use if when \override Beam #'grow-direction = #RIGHT


\featherDurations #(ly:make-moment  3 4)


{ bes32\p\>[ ges d' bes, c' ges a ges \!] }





% Revert back to ordinary beams:


\revert Beam #'grow-direction


bes32\p\>[ ges d' bes, c' ges a ges \!]





% Get a single feathered beam, using \once \override:


\once \override Beam #'grow-direction = #LEFT


bes32\p\>[ ges d' bes, c' ges a ges \!]


bes32\p\>[ ges d' bes, c' ges a ges \!]





% The \featherDurations function just adjusts the durations


% of the notes and can be used without % feathered beams:


\featherDurations #(ly:make-moment  6 4)


{ bes32\p\>[ ges d' bes, c' ges a ges \!] }





}





% Reference rhythm to compare to:


\new Staff \repeat unfold 64 { c32 }


 >>








   /Mats

Thank you so much, I had tried that before, but it didn't work (both the \once and the \revert Beam) I must have mistyped it.

I am now having trouble with the barcheck.  How do I keep it all in one quarter note?  Do I need to do a "\times 7/8 { ... } "? first?
Thanks,
Michael





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


Barré sign

2007-08-16 Thread Peter Terpstra

Dear readers,

Is the a barrésign macro created for lilypond?
The barré sign should go over the staff!
Looks a bit like this:
|
|_

Kind Regards,

Peter


-- 
mailto:[EMAIL PROTECTED]



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


Re: lilypond-user Digest, Vol 57, Issue 39

2007-08-16 Thread Mats Bengtsson

Michael Sperone wrote:

I am now having trouble with the barcheck.  How do I keep it all in 
one quarter note?  Do I need to do a "\times 7/8 { ... } "? first?


Right, you have to scale the durations, since the total duration
of the beamed notes will not change. However, if you use
\times 8/7{...}, then you will get a tuplet indication, which you
don't want. I'd rather scale the duration of each note, using
bes32*8/7\p\>[ ges d' bes, c' ges
which gives the same scaling of the durations but without the
tuplet indication.

  /Mats


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


Padding around instrument names

2007-08-16 Thread Michael Käppler

Hi all,
again a question I'd be very happy to helped with.
If I add padding around instrument names, LilyPond doesn't care if the 
names are inside the margins. I thought that Lily would align the names 
on the left margin and move the system to the right.


Kind regards,
Michael


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


Re: Padding around instrument names

2007-08-16 Thread Mats Bengtsson

Your observation is absolutely correct, so unfortunately you
have to manually adjust the "indent" parameter (or the
linewidth) to fit the instrument names.

  /Mats

Michael Käppler wrote:


Hi all,
again a question I'd be very happy to helped with.
If I add padding around instrument names, LilyPond doesn't care if the 
names are inside the margins. I thought that Lily would align the 
names on the left margin and move the system to the right.


Kind regards,
Michael


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




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


page breaks within measures

2007-08-16 Thread Adam James Wilson
Hi,

I'm a first time poster - I've been trying to use Lilypond for
proportionally notating multi-tempo music.

I'm writing a score that has two or more voices in different tempi
simultaneously.

To solve this, I make a huge measure.  For example, the first staff will
contain a minute of quarter notes at q=90 BPM.  The second staff will
contain a minute of quarter notes at q=167 BPM.  The second staff has the
same time as the first, but I compress the music in a 90:167 ratio so that
it all lines up correctly in time.

The problem comes with layout.  Currently, I make a huge page, and then
split it into parts using acrobat pro.

It seems however that there is a maximum page width of about 200 inches.  So
the amount of time I have to play with is limited by the page size.

Alternatively, it would be nice to slice the staff system through the middle
of the measures, but I have been unable to force a page break because the
staves have independent, non-aligned bars.

Does anyone know how to a) infinitely increase the paper width or b) force a
page break in a system containing staves with independent, non-aligned bars?

Best regards,
Adam Wilson
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: page breaks within measures

2007-08-16 Thread Mats Bengtsson

See the section on Line breaking for information on how to include
line breaks in the middle of a measure. The same principle applies to
page breaks.

  /Mats

Adam James Wilson wrote:

Hi,

I'm a first time poster - I've been trying to use Lilypond for 
proportionally notating multi-tempo music.


I'm writing a score that has two or more voices in different tempi 
simultaneously.


To solve this, I make a huge measure.  For example, the first staff 
will contain a minute of quarter notes at q=90 BPM.  The second staff 
will contain a minute of quarter notes at q=167 BPM.  The second staff 
has the same time as the first, but I compress the music in a 90:167 
ratio so that it all lines up correctly in time.


The problem comes with layout.  Currently, I make a huge page, and 
then split it into parts using acrobat pro.


It seems however that there is a maximum page width of about 200 
inches.  So the amount of time I have to play with is limited by the 
page size.


Alternatively, it would be nice to slice the staff system through the 
middle of the measures, but I have been unable to force a page break 
because the staves have independent, non-aligned bars.


Does anyone know how to a) infinitely increase the paper width or b) 
force a page break in a system containing staves with independent, 
non-aligned bars?


Best regards,
Adam Wilson



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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