Re: endings

2002-11-21 Thread Mats Bengtsson
Paul Scott wrote:

1. How can I do an alternate ending which goes forward somewhere rather 
than repeats?

For example:

1st ending  2nd ending  next part  da capo
a b c d a b c d d c b a d c b a

play first part, after 1st ending go to next part, go back to beginning, 
take 2nd ending

I had to look up a copy of "An der Schönen Blauen Donau" at home
to see how this normally is notated. I have attached a file that
illustrates two possible notations. I prefer the first alternative,
at least when the music phrases are like in this example. Note that
you won't get the desired MIDI output. I had to use this clumsy
syntax for the repeats to be able to manually set the text string
used for each alternative ending.



2. How can I have slurs or ties go from the measure before endings go 
into both endings.

Unfortunately, this isn't supported at the moment. You could probably
get a reasonable layout by adding an invisible note head at the
beginning of the second ending where the slur/tie could start from.


   /Mats



% First possibility:

\score{\notes\relative c'{
  \bar "|:" 
  c d e f | 
  g g g2 
  % Initialize first ending
  \property Score.repeatCommands = #'((volta "1."))
  f4 g e2 | 
  d1 
  % End the first ending, start the second ending.
  \property Score.repeatCommands = #'((volta #f) end-repeat (volta "2."))
  f4 e f2 | 
  g1 \bar "||"
  % End the second ending, start the "Fine" ending.
  \property Score.VoltaBracket \override #'font-style = #'large
  \property Score.repeatCommands = #'((volta #f) end-repeat (volta "Fine"))
  f4 e d2 | 
  c1 \bar "|."
  % End the "Fine" ending.
  \property Score.repeatCommands = #'((volta #f))
  a'4 g a b |
  c b a g |
  f e d2 |
  c1_#'(lines "D.C." "al Fine") \bar "||"
}
}

% Second possibility:
  
\score{\notes\relative c'{
  \bar "|:" 
  c4 d e f | 
  g g g2 
  % Initialize first ending
  \property Score.repeatCommands = #'((volta "1."))
  f4 g e2 | 
  d1 
  % End the first ending, start the "Fine" ending.
  \property Score.VoltaBracket \override #'font-style = #'large
  \property Score.repeatCommands = #'((volta #f) end-repeat (volta "Fine"))
  f4 e d2 | 
  c1 \bar "|."
  % End the "Fine" ending.
  \property Score.repeatCommands = #'((volta #f))
  f4 e f2 | 
  g1 |
  a4 g a b |
  c b a g |
  f e d2 |
  c1_#'(lines "D.C." "al Fine") \bar "||"
}
}
  




Re: endings

2002-11-21 Thread Paul Scott
Mats Bengtsson wrote:


Paul Scott wrote:


1. How can I do an alternate ending which goes forward somewhere 
rather than repeats?


I had to look up a copy of "An der Schönen Blauen Donau" at home
to see how this normally is notated. I have attached a file that
illustrates two possible notations. I prefer the first alternative,
at least when the music phrases are like in this example. Note that
you won't get the desired MIDI output. I had to use this clumsy
syntax for the repeats to be able to manually set the text string
used for each alternative ending.


Thanks very much.  I will check this out soon and try to contribute to 
making it visible in the documentation.

2. How can I have slurs or ties go from the measure before endings go 
into both endings.

Unfortunately, this isn't supported at the moment. You could probably
get a reasonable layout by adding an invisible note head at the
beginning of the second ending where the slur/tie could start from.


That sounds like an acceptable solution.

Thanks,

Paul




___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Printing numbers instead of notes

2002-11-21 Thread Mats Bengtsson
Hi,

One possibility is to attach the numbers as text scripts to invisible
note heads. The attached file could be used as a starting point.
It's probably possible to use the tablature mechanism as well.

   /Mats


Carlos Betancourt wrote:

Hello lilyponders,

I'm trying to transcribe my teacher's solfegio class notes into latex
using lilypond-book. For our very first lesson I need to print the line
and interline numbers in the staff (including the clef simbol), as
follows:

5-
	 4
--4---
   3
-3
			  2
---2--
			1
-1


How can I do that using lilypond?
Thanks in advance for your help.


Carlos




___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.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/~matsb
=

\score{
\notes\relative c'{
 e1^"1" g-"2" b-"3" d-"4" f-"5" 
}

\paper{
  \translator{
\ScoreContext
scriptHorizontal = ##t
TextScript \set #'extra-offset = #'(-0.5 . -0.5)
NoteHead \override #'transparent = ##t
defaultBarType = #""
  }
}
}




Re: no rests in tablature?

2002-11-21 Thread David Raleigh Arnold
On Thu, 21 Nov 2002 21:25:28 Karl Berry wrote:
> In lilypond 1.6.6 (and earlier), it seems that rests are not output in
> tablature.  It would be nice to do this;

Please do not add that.  DaveA


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: no rests in tablature?

2002-11-21 Thread Karl Berry
> In lilypond 1.6.6 (and earlier), it seems that rests are not output in
> tablature.  It would be nice to do this;

Please do not add that.  DaveA

Dare I ask why not?  Why is it bad to output rests?

In any case, it could be an option, so that the rests could be output or
not, depending on the needs at hand.


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Adding text to multi-measure rest

2002-11-21 Thread Paul Scott
What objects can I attach text like:

^#'((bold "To B. Cl."))

to?  In this case there are no notes to attach to.

What I want it above is R1*8 R1*3.

TIA,

Paul Scott



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: no rests in tablature?

2002-11-21 Thread William R Brohinsky
In tab, timing is remoted from the indications of notes: the timing is
relegated to the stems above the letters. Each stem indicates how long
it will be before the next stem (or implicit stem, since tabs often
leave off repeated time-value stems). There is no indication of when a
note is supposed to be held or released.

While it might be nice to have that ability, using rests in the lines of
the tab staff is not a nice way to do it. Rests are sometimes notated by
stems that have no letters under them, and this is generally a better
solution anyway, since the timing-attention of the player is focused
above the staff, while the translate-letters-to-fret-closings attention
is focused in the lines of the staff.

To be forthright, if your music is complex to the point where you need
to indicate rests, you probably should be using regular music notation,
which affords considerably more control over note-length and release
indications.

For everything you gain in the world, you lose something.

raybro

Karl Berry wrote:
> 
> > In lilypond 1.6.6 (and earlier), it seems that rests are not output in
> > tablature.  It would be nice to do this;
> 
> Please do not add that.  DaveA
> 
> Dare I ask why not?  Why is it bad to output rests?
> 
> In any case, it could be an option, so that the rests could be output or
> not, depending on the needs at hand.
> 
> ___
> Lilypond-user mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/lilypond-user



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Adding text to multi-measure rest

2002-11-21 Thread Graham Percival
On Thu, 21 Nov 2002 15:36:20 -0700
Paul Scott <[EMAIL PROTECTED]> wrote:
> What objects can I attach text like:
> 
> ^#'((bold "To B. Cl."))
> 
> to?  In this case there are no notes to attach to.
> 
> What I want it above is R1*8 R1*3.

 R1*3

You might even be able to do R1*8^#"blah" directly, but I'm not
certain.  I know that the space (s1) method works.

Cheers,
- Graham


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Adding text to multi-measure rest

2002-11-21 Thread Paul Scott
Graham Percival wrote:


On Thu, 21 Nov 2002 15:36:20 -0700
Paul Scott <[EMAIL PROTECTED]> wrote:
 

What objects can I attach text like:

^#'((bold "To B. Cl."))

to?  In this case there are no notes to attach to.

What I want it above is R1*8 R1*3.
   


 R1*3


Ah!  That reminder should open a lot of possibilities.  
Ok.  It gives me something musically correct but divides the R1*8 into 
an r1 followed by an R1*7.  I can live with that since I have a 
rehearsal in a few hours but I'm curious to know if I can't get exactly 
what I want.  What I tried was:

< {R1*8} { s1^#"To B. Cl." } > R1*3

I added the braces after the first try divided the R1*8 into r1 + R1*7

You might even be able to do R1*8^#"blah" directly, but I'm not
certain.


I tried that and it didn't work with 1.6.4.  The text just wasn't visible.


 I know that the space (s1) method works.


Of course without the < > the s1 doesn't work.  I tried that also.

Thanks,

Paul



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Adding text to multi-measure rest

2002-11-21 Thread Paul Scott
Paul Scott wrote:


Graham Percival wrote:


On Thu, 21 Nov 2002 15:36:20 -0700
Paul Scott <[EMAIL PROTECTED]> wrote:
 

What objects can I attach text like:

^#'((bold "To B. Cl."))

to?  In this case there are no notes to attach to.

What I want it above is R1*8 R1*3.
  


 R1*3


Ok.  the simplest variation that works for me is:



Thanks,

Paul



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user