lilypond-user
[Top][All Lists]
Advanced

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

Re: Equal spacing of notes in a bar


From: Simon Albrecht
Subject: Re: Equal spacing of notes in a bar
Date: Tue, 25 Aug 2015 13:18:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 25.08.2015 um 02:51 schrieb William Marchant:
Thanks to Simon and Abraham. I found the quoted reference on my own, but I need something which can be applied to several single bars throughout the music. It is the lyrics which are distorting just a few bars. I had hoped there would be a snippet I am unable to find. Is there one? TIA.
Bill
There are several issues in our tracker concerned with the shortcomings of Lily’s current behaviour, since indeed note spacing should only in extreme cases by distorted by lyrics. What can be done?
– Choose a narrower font for lyrics.
– Play with LyricText.self-alignment-X, e.g. (gross exaggeration :-))
%%%%%%%%%%%%%%%
\version "2.18.2"

selfAl = #(define-music-function (parser location num) (number?)
            #{ \once \override LyricText . self-alignment-X  = $num #})

mus = { g'8 f'8 e'8 }
text = \lyricmode { \selfAl 1.2 straight straight \selfAl #-1 straight }

\score {
  <<
    \mus
    \addlyrics \text
  >>
}
%%%%%%%%%%%%%%%%%

– choose a wider horizontal spacing in general, either through the methods in <http://lilypond.org/doc/v2.18/Documentation/notation/changing-horizontal-spacing>
– or by ‘brute force’: something like \paper { system-count = 10 }.

HTH, Simon


On 15-08-24 03:56 PM, Simon Albrecht wrote:
Hi Bill,

‘proportional notation’ is the magic word: <http://lilypond.org/doc/v2.18/Documentation/notation/proportional-notation>.

HTH, Simon

Am 24.08.2015 um 20:54 schrieb William Marchant:
I have looked though the documentation without finding what I need. The attached code gives me a triplet whose notes are spaced according to the words. I would like to equalize the spacing between the notes. Is there a snippet I have missed, or some technique that will provide this?
Bill

\version "2.18.2"
global = {
  \language "english"
  \key bf \major
  \time 3/4
}
melody = \relative c' {
    \tuplet 3/2 { bf8 c d }  c2 |
}
  VerseOne = \lyricmode {
  Give me a big
  }
 \score {
  \new ChoirStaff <<
    \new Staff <<
      \new Voice = "Song" {
        \global
        \melody
      }
      \new Lyrics \lyricsto "Song" {
        \VerseOne
      }
    >>
  >>
  \layout {
    \context {
      \Score
    }
  }
}


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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