lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make note spacing disregard lyrics


From: Eyolf Østrem
Subject: Re: How to make note spacing disregard lyrics
Date: Tue, 25 Nov 2008 18:09:13 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On 25.11.2008 (16:26), Trevor Daniels wrote:
> Eyolf
>
> Does this do what you want?  I'm not sure what it is you want to do, so 
> this may be wide of the mark.  The quotes make a phrase into one big 
> syllable which can then be placed by specifying its musical length.  The 
> notes are spaced out to fit each phrase, but that can be controlled by 
> changing the musical length.

Sorry, I wasn't clear. What I'm after is a way to mimic the ligatures of
plainchant in ordinary notation. I've found that the easiest way to do that
(without fiddling with scheme) is to use  \time 1/4 and set all the
"neumes" as subdivisions of a quarter note. With \override BarLine
#'X-extent = #'(-1.5 . 1.5), each neume will then be separated into nice
groups, without having to resort to slurs etc.
BUT the problem that remains is that long syllables, like "-bum" cause the
notes on that syllable to be spread wider apart than e.g. with "-ri-", as
in the following example:

\include "gregorian.ly"

spiritusC = \relative c' {
  \time 1/4
  \override Lyrics.LyricSpace #'minimum-distance = #0
  d4 \times 2/3 { f8 a g } g a a4 g f8 e 
  d4 f8 g g8 d f g a g f4 g8 a a4   
  \times 2/3 {  g8 f d } e f g a g4  }

spirLyr = \lyricmode {
  Spi -- ri -- _ _ tus  _ Do -- mi -- ni  _ 
  re -- ple -- _ vit _ or -- _ bem _  ter -- ra -- _ rum, 
  al -- _ _ le -- _ lu -- _ ia.
}
\score {
  \new Staff <<
    \new Voice = "melody" \spiritusC
    \new Lyrics = "one" \lyricsto melody \spirLyr
  >>
  \layout {
    \context {
      \Staff
      \remove "Time_signature_engraver"
      \remove "Collision_engraver"
      \override BarLine #'X-extent = #'(-1.5 . 1.5)
      \override Stem #'transparent = ##t
      \override Beam #'transparent = ##t
      \override BarLine #'transparent = ##t
      \override TupletNumber #'transparent = ##t
    }
  }
}


I should also say that if there is a better way of doing this, I will stop
my search here and now.

eyolf

-- 
James Bond: Oh, thanks for deserting me back there.
Major Anya Amasova: Every woman for herself, remember?
James Bond: Well, you did save my life. Thank you.
Major Anya Amasova: We all make mistakes, Mr. Bond.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]