lilypond-user
[Top][All Lists]
Advanced

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

Re: Issue with durations and roman numeral analysis tool


From: David Nalesnik
Subject: Re: Issue with durations and roman numeral analysis tool
Date: Tue, 30 Apr 2024 19:11:46 -0500

Hi Joe,

On Tue, Apr 30, 2024 at 6:55 PM Joseph Srednicki <jos.srednicki@verizon.net> wrote:

Based on the input, I expect the vi 6 4 to appear beneath the final sixteenth note of the second beat of the measure. However, the vi 6 4 appears under the first note of the third beat in the measure.

Can anyone please help detect the error that I am making? 

By using \lyricsto, you override the specified durations.  See the change I made inline below: 


\version "2.24.0"
\language "english"
% Change the following line to the path of the roman numeral analysis tool on your computer
\include "C:/docs/frescobaldi/roman_num/roman_numeral_analysis_tool.ily"

global = {
  \key ef \major
  \time 3/4
}

right = \relative c'' {
  \global
   r4 r2
}

leftOne = \relative c'' {
  \global \clef treble
  r4 g8. af16 f8.\prall e32 f  
}

leftTwo = \relative c' {
  \global
  r4 bf8. c16 af8._\prall g32 af | % 1
}

pedal = \relative c {
  \global
  \clef bass
  ef,4 ef' bf | % 1
}

analysis = \lyricmode {
  \override LyricText.self-alignment-X = #-0.6
  \offset StanzaNumber.X-offset #-3
  \set stanza  = \markup{E \flat:}
  \skip 4 \markup \rN { I }8. \markup \rN { vi 6 4 }16 % 1
}

\score {
  <<
    \new PianoStaff <<
      \new Staff = "right" \right
      \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
    >>
    \context Staff = "pedal"
    <<
      \context Voice = pedal { << \pedal >> }
    %%  \new Lyrics \with {
     %% } \lyricsto "pedal" { \analysis }
      \new Lyrics \analysis 
    >>
  >>
}


reply via email to

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