Re: Barlines between staffs

2006-12-12 Thread Mats Bengtsson

It's clearly not valid syntax. See section Defining new contexts for more
information on how to do it. However, a much easier method to get different
versions of the Lyrics context is to use the \with feature described in
Modifying context plug-ins, i.e. something like

\score {
 
\new StaffGroup {
 
   \new Staff { \override Staff.BarLine #'transparent = ##t music }
   \context Lyrics = SopraanLyrics { s1 }
   \new Staff { \override Staff.BarLine #'transparent = ##t music }
   \context Lyrics = AltLyrics { s1 }
   \new Staff { \override Staff.BarLine #'transparent = ##t music }
   \context Lyrics = TenorLyrics { s1 }
   \new Staff { \override Staff.BarLine #'transparent = ##t music }
   \context Lyrics = BasLyrics \with{\remove Bar_engraver } { s1 }
 
}
 
}

\layout {
 \context {
\Lyrics {
  \consists Bar_engraver
  \override BarLine #'transparent = ##t
  \consists Separating_line_group_engraver
}
  }
}


Just as Eduardo, I have not spent the time to fill in actual music and 
lyrics to
be able to test the idea. However, I would expect that this solution 
does not
exactly solve your problem, since the bass lyrics will not avoid the bar 
lines.

Note also that there was a typo in the \layout block of the original code.

   /Mats


Eduardo Vieira wrote:

Citando Maurits Lamers [EMAIL PROTECTED]:

I can't find in the list your first post. Did you try in the context Lyrics
revert those properties for the bass? Maybe in layout you could try this that I
never tested:
\context {
\Lyrics = SopraanLyrics {
\consists Bar_engraver
\override BarLine #'transparent = ##t
\consists Separating_line_group_engraver
}
and so on and avoid applying that to the bass.
Warning: I don't know if its valid syntax.


  

Hi,

I sent a mail a week ago about the same problem, but did not get any
response (as far as I can see from the digests).
So, for a second try:

I want to typeset a renaissance choir piece and I would like to do it
with the barlines not on the staffs but between them.

The structure I chose is the following:

\score {

\new StaffGroup {

\new Staff { \override Staff.BarLine #'transparent = ##t
music
}
\context Lyrics = SopraanLyrics { s1 }
\new Staff { \override Staff.BarLine #'transparent = ##t
music
}
\context Lyrics = AltLyrics { s1 }
\new Staff { \override Staff.BarLine #'transparent = ##t
music
}
\context Lyrics = TenorLyrics { s1 }
\new Staff { \override Staff.BarLine #'transparent = ##t
music
}
\context Lyrics = BasLyrics { s1 }

}
 
}

This works beautiful, until I want the Lyrics to avoid the Barlines.
When I add the Barline_engraver to the Lyrics Context using:

\layout {
\context {
\Lyrics {
\consists Bar_engraver
\override BarLine #'transparent = ##t
\consists Separating_line_group_engraver
}
}
}

as the example in the manual tells me, the lyrics do indeed avoid the
barlines, but also something else strange occurs. The barline is
drawn not only between the Staffs, but also between the lowest staff
and the lowest Lyrics line. I have included a small excerpt of the
score showing the problem as a jpeg file.






Have a good day!
___
Com o Click21 você tem sempre vantagens! Além do email com 1 Gb, Acelerador, 
Blog,
Flog, Games e atendimento 24 horas, voce também pode falar minutos DDD com a
promoção Click 21 Minutos. Quanto mais você navega mais fala DDD.



___
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: lyrics clashing with barlines

2006-12-12 Thread Mats Bengtsson
When Maurits sent his question, I suddenly realized that it looked 
familiar, and I
found Matevz' old email, which did contain a full example that was easy 
to play
around with. The solution to both of your problems turns out to be very 
simple,
once you realize that the bar lines drawn between staves are actually 
the so-called
SpanBar barlines belonging to the StaffGroup context. If you move the 
bottom
lyrics line outside the StaffGroup context, you get rid of these bar 
lines. In Matevz'

example, just replace the \score block by
 \score {
 
   \context StaffGroup = choirStaff 
 \context Voice =
   cantusNotes  \global \cantusNotes 
 \context Lyrics =
   cantusLyrics \lyricsto cantusNotes { \cantusLyrics }
 \context Voice =
   altusNotes  \global \altusNotes 
 \context Lyrics =
   altusLyrics \lyricsto altusNotes { \altusLyrics }
 \context Voice =
   tenorNotes  \global \tenorNotes 
 \context Lyrics =
   tenorLyrics \lyricsto tenorNotes { \tenorLyrics }
 \context Voice =
   bassusNotes  \global \bassusNotes 
   
   \context Lyrics =
 bassusLyrics \lyricsto bassusNotes { \bassusLyrics }
 
 ...
}


   /Mats

Matevz Jekovec wrote:

Hi.

Thank you both. The hint at the bottom regarding how to avoid barlines
work. However, I think I found a bug in Lily. I attached the png and .ly
file. The problem is that the barline is now drawn *under* the last
staff where it shouldn't be.

Regards.
- Matevž

Mats Bengtsson pravi:
  

I hope you have seen the hints at the bottom of
http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Vocal-music.html#Vocal-music


  /Mats

Matevz Jekovec wrote:



Usually choir staffgroup has barlines only in staffs, but not connecting
staffs as well. However, in some cases (like renaissance music, where
the barlines are drawn only *between* the staffs and not in them) when
the barlines are drawn, lyrics position for every syllable doesn't take
the barline into account. They collide.

I attached an example of Gallus's Ecce quomodo.

Is there a large CPU overhead to implement this (like you mentioned it
was for avoiding clashing page borders and notes for every text sign).


Regards.
- Matevž






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

  




\version 2.7.40

#(set-global-staff-size 19)

global = {
  \pageBreak
  \set Score.skipBars = ##t

  % incipit
  \override Score.SpacingSpanner #'spacing-increment = #1.0 % tight spacing
  \key f \major
  \time 2/2
  \once \override Staff.TimeSignature #'style = #'neomensural
  \override Voice.NoteHead #'style = #'neomensural
  \override Voice.Rest #'style = #'neomensural
  \override Voice.Accidental  #'style = #'mensural
  \set Staff.printKeyCancellation = ##f
  \override NoteSpacing #'stem-spacing-correction = #0.6
  \cadenzaOn % turn off bar lines
  \skip 1*5
  \once \override Staff.BarLine #'transparent = ##f
  \bar ||
  \skip 1*1 % need this extra \skip such that clef change comes
% after bar line
  \bar 

  % main
  \cadenzaOff % turn bar lines on again
  \once \override Staff.Clef #'full-size-change = ##t
  \set Staff.forceClef = ##t
  \key f \major
  \time 2/2
  \override Voice.NoteHead #'style = #'default
  \override Voice.Rest #'style = #'default
  \override Voice.Accidental  #'style = #'default
\override Score.PaperColumn #'keep-inside-line = ##t
  % FIXME: setting printKeyCancellation back to #t must not
  % occur in the first bar after the incipit.  Dto. for forceClef.
  % Therefore, we need an extra \skip.
  \skip 1*1
  \set Staff.printKeyCancellation = ##t
  \set Staff.forceClef = ##f
  \override Staff.BarLine #'hair-thickness = #0.3
  \skip 1*2 \break % Prima pars
  \skip 1*6 \break
  \skip 1*6 \break
  \skip 1*6 \break
  \skip 1*6 \break
  \skip 1*6
  \once \override Staff.BarLine #'transparent = ##f
  \bar || \pageBreak

  \skip 1*8 \break % Secunda pars
  \skip 1*8 \break
  \skip 1*7
  % let finis bar go through all staves
  \override Staff.BarLine #'transparent = ##f

  % finis bar
  \bar |.
}

\layout {
  \context {
  \Lyrics
  \consists Bar_engraver
  \consists Separating_line_group_engraver
  \override BarLine #'transparent = ##t
  }
}

isUp = ^\markup \sharp
esUp = ^\markup \flat
nUp = ^\markup \natural

cantusNotes = {
  \transpose c' c'' {
\set Staff.instrument = Cantus
\set Staff.midiInstrument = acoustic grand

% incipit
\clef treble
a\breve g1 r2 a2. a4 a2  % 4
\skip 1*1 % extra bar

% main
\clef treble
\once \override TextScript #'extra-offset = #'(-8 . 2)
a1^\markup {\large \bold Prima pars} | g2 r4 a4~ |% 3
a8 a a4 bes2~ | bes4 a 

Re: lyrics clashing with barlines

2006-12-12 Thread Maurits Lamers



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


Re: Fwd: lilypond and editors

2006-12-12 Thread Roland Goretzki
Hello list, hello Arjan,

You wrote:
 Remember: While all editors can save your files, only one can save
 your soul.
 (Per Abrahamsen on alt.religion.emacs)

In deed, what he means, is the vi.
:)

Best Regards   Roland


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


Re: lilypond and editors

2006-12-12 Thread Erik Sandberg
On Saturday 09 December 2006 10:27, Bertalan Fodor wrote:
 Well, what is extremely important: development time is so little in Java
 and with JEdit (compared to any alternatives), that I won't change this
 platform. The price is that it will remain slow if you don't have much
 memory in the machine.

I'm not a java expert, but wouldn't it get a lot faster if you compiled 
everything to native machine code (using gcj, for instance)?

-- 
Erik


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


Re: feature request: read standard input

2006-12-12 Thread Erik Sandberg
On Tuesday 12 December 2006 03:24, Ed Stauff wrote:
 It sure would be helpful to have an option for reading the standard input,
 so I can pipe the output of a program that generates LilyPond code directly
 into LilyPond.exe.

try:

lilypond -

-- 
Erik


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


Output quality in the current Lilypond

2006-12-12 Thread Syepi

Hello. I have been using Lilypond 1.6. Now I tried some current version, and
just from the skimming of the output I have found that I like it much less.
In particular, the arpeggios are almost glued to the bars and some ties are
pointing somewhere behind the note heads. Now, it's the matter of taste, I
guess someone changed the code to make it better in his or her opinion, but
it would be nice if there were some options to set the preferences. Is this
possible to set the arpeggios and the ties as they were in 1.6? That is, set
the horizontal spacing of arpeggios and make the ties pointing somewhere in
th space behing noteheads to point at the heads.

By the way, the scripts from 1.6 are no more compilable, updating them with
the lilypond tool makes a lot of warnings. What for is the constant fomar
change?

--
Syepi

-- 
View this message in context: 
http://www.nabble.com/Output-quality-in-the-current-Lilypond-tf2807924.html#a7834550
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 and editors

2006-12-12 Thread Bertalan Fodor
Certainly not. Actually the java code is compiled to machine code at 
runtime. This is slower than precompiling, but the compiled code can run 
faster than its precompiled counterpart, because the runtime machine 
will have information about how often a certain part of the code is 
called, and those calls can be made inline. Running inline code is much 
faster than procedure calls.


Bert

Erik Sandberg írta:

On Saturday 09 December 2006 10:27, Bertalan Fodor wrote:
  

Well, what is extremely important: development time is so little in Java
and with JEdit (compared to any alternatives), that I won't change this
platform. The price is that it will remain slow if you don't have much
memory in the machine.



I'm not a java expert, but wouldn't it get a lot faster if you compiled 
everything to native machine code (using gcj, for instance)?


  





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


Why are these lyrics being left aligned?

2006-12-12 Thread Eduardo Vieira

Hello, list! I've been reviewing one of my first songs typesetted with Lilypond
and noticed a problem that I don't know how to solve:

The words for the tenor and bass  become left aligned after these voices are
splitted and put back together.

See the picture where it shows the words O do not falter (on the bottom)

Attached goes the source file.

How can I arrange the lyrics placement so that O do not falter don't become
left aligned?

Eduardo
___
Com o Click21 você tem sempre vantagens! Além do email com 1 Gb, Acelerador, 
Blog,
Flog, Games e atendimento 24 horas, voce também pode falar minutos DDD com a
promoção Click 21 Minutos. Quanto mais você navega mais fala DDD.


problemsnapshot.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Entire Mozart Catalogue Online

2006-12-12 Thread Mike Blackstock

now *here's* an xmas gift:

The International Mozart Foundation in Salzburg, Austria, has
made all the scores of Wolfgang Amadeus Mozart's works available
online.
...
More than 25,000 pages of music are available as PDF files
through the site.

http://www.cbc.ca/arts/music/story/2006/12/12/mozart-online.html#skip300x250 





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