Menu

#247 lyrics attached to Devnull are left-aligned instead of center-aligned

Duplicate
nobody
None
Ugly
2014-06-28
2007-01-18
Anonymous
No

Originally created by: *anonymous

Originally created by: gpermus@gmail.com

Lyrics attached to a Voice are center-aligned if attached to a single
note, and left-aligned if attached to a melisma. Lyrics attached to a
Devnull context, however, are always left-aligned.

\version "2.11.12"
text = \lyricmode { foo bar baz quux }
notes = { c'4 c' c' c' }
\score {
  <<
    \new Staff { \new Voice = "staffVoice" \notes }
    \new Devnull = "devnullVoice" \notes
    \new Lyrics \lyricsto "staffVoice" \text
    \new Lyrics \lyricsto "devnullVoice" \text
  >>
}

1 Attachments

Discussion

  • Google Importer

    Google Importer - 2007-01-19

    Originally posted by: hanw...@gmail.com

    how is this a bug, ie. what should the alignment be for the devnull case?

     
  • Google Importer

    Google Importer - 2007-01-19

    Originally posted by: djohn...@theologian.org

    I would expect the alignment to be the same as if the lyrics had been attached to a
    Voice, i.e. using notes in the music-expression as notes rather than as musical
    moments.  I am working on a 19th-century opera piano-reduction score in which the
    choir is reduced to a single staff, and I use a Devnull to simplify lyric placement.
    However, it doesn't always line up with the lyrics on the soloists' staves.

     
  • Google Importer

    Google Importer - 2007-01-19

    Originally posted by: hanw...@gmail.com

    lyrics are aligned to the note heads of the associated voice. Where do the noteheads
    come from if the lyrics are associated to a devnull ?

     
  • Google Importer

    Google Importer - 2007-01-22

    Originally posted by: hanw...@gmail.com

    #248.

    Status: Duplicate

     
  • Google Importer

    Google Importer - 2007-09-26

    Originally posted by: gpermus@gmail.com

    (No comment was entered for this change.)

    Status: Verified

     
  • Google Importer

    Google Importer - 2007-09-27

    Originally posted by: gpermus@gmail.com

    Mats wrote:

    I don't agree that this bug report should just be ignored.
    It should certainly be possible to specify the alignment of
    lyrics syllables even if the duration of each syllable is specified explicitly (i.e.
    not using \lyricsto) or equivalently
    if the durations are copied from a DevNull context.

    What I mean is that the alignment should be done relative to the
    note column at the same time position within the measure (if there
    is one). Of course, we cannot support the automatic difference in
    alignment of melismata compared to non-melismata syllables, but it should at least be
    possible to change the alignment by setting
    self-alignment-X of the LyricText object.

    If this is technically difficult with the current implementation, we should still
    keep it as a feature request for future versions.

    Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low
    Status: Accepted

     
  • Google Importer

    Google Importer - 2008-11-04

    Originally posted by: v.villenave

    Perhaps this problem should be handled when taking care of Issue 707 (another
    Enhancement request).

     
  • Google Importer

    Google Importer - 2011-09-16

    Originally posted by: pkx1...@gmail.com

    With 2.15.11 using the above snippet:

    text = \lyricmode { foo bar baz quux }
    notes = { c'4 c' c' c' }
    \score {
      <<
        \new Staff { \new Voice = "staffVoice" \notes }
        \new Devnull = "devnullVoice" \notes
        \new Lyrics \lyricsto "staffVoice" \text
        \new Lyrics \lyricsto "devnullVoice" \text
      >>
    }

    I get a compilation error:
    Parsing...
    Interpreting music...
    C:/Documents and Settings/Administrator/Desktop/test.ly:2:20: warning: Lyric syllable does not have note. Use \lyricsto or associatedVoice.
    text = \lyricmode {
                        foo bar baz quux }

    C:/Documents and Settings/Administrator/Desktop/test.ly:2:24: warning: Lyric syllable does not have note. Use \lyricsto or associatedVoice.
    text = \lyricmode { foo
                            bar baz quux }

    C:/Documents and Settings/Administrator/Desktop/test.ly:2:28: warning: Lyric syllable does not have note. Use \lyricsto or associatedVoice.
    text = \lyricmode { foo bar
                                baz quux }

    C:/Documents and Settings/Administrator/Desktop/test.ly:2:32: warning: Lyric syllable does not have note. Use \lyricsto or associatedVoice.
    text = \lyricmode { foo bar baz
                                    quux }

    --snip--

    The output seems to be the same as it was in 2.11.12 though

    Labels: -Type-Enhancement -Priority-Low Type-Ugly
    Owner: ---

     
  • Google Importer

    Google Importer - 2014-06-22

    Originally posted by: janek.li...@gmail.com

    I've found this issue when working on alignment of lyrics without associatedVoice (i.e. with explicit durations).  Since it's a similar problem, i've extended my patch for that issue to fix this one as well.

    Mergedinto: 3254
    Status: Duplicate

     
  • Google Importer

    Google Importer - 2014-06-28

    Originally posted by: janek.li...@gmail.com

    Just for the sake of the archives, this was fixed with

    commit [rc73b41b3e7be6d7280c6336cf03610cd7aed3000]
    Author: Janek Warchoł <lemniskata.bernoullego@gmail.com>
    Date:   Sun Mar 17 21:22:32 2013 +0100

         Issue 3254 : align unassociated lyrics using NoteColumn extent.
       
        This makes unassociated lyrics behave consistently with
        associated lyrics.  Until now, "standalone" lyrics
        were left-aligned (more precisely: their X-offset was 0);
        changing self-alignment-X didn't have any effect on them.
        Now it's possible to specify their alignment, like with
        associated lyrics.
       
        Also, this changes how  issue 104  was resolved (see 0b14e8b2e122d) -
        alignment of syllables that are associated to a context without
        noteheads is no longer aborted - and solves  issue 247 .
       
        Later on, these changes should allow using aligned_on_parent for
        other grobs (such as DynamicTexts).
       
        Expected changes in output: all lyrics should be centered by default.