Hi Gabriel,

Am 24.01.26 um 21:21 schrieb Gabriel Ellsworth:

Does anyone have thoughts on the attached PDF or .ly file? I welcome any input/questions before I post this snippet to the Wiki. Feedback from the following groups would be especially helpful: singers, voice teachers and vocal coaches, conductors who conduct vocalists, musicologists who work with historically informed pronunciation, etc.

Just a proposal for a perhaps more convenient user interface:

%%%  SNIPPET BEGINS

\version "2.24.4"

\layout { indent = 0 }

\markup \wordwrap { \circle 0 When you want IPA only under certain lyric words, you can use a dedicated function provided an IPA Lyrics context is alive and well: }

withIPA =
#(define-music-function (IPA word) (ly:music? ly:music?)
   #{
     <<
       \context Lyrics = IPA { #IPA }
       #word
     >>
   #})

melody = \relative c'' {
  \key e \major \time 3/4
  r2 b4 | e2 gis,8. fis16 | e2 cis'4 |
  a4.( gis8) a4 | gis gis r |
}

textMarked = \lyricmode {
  I know that _ \withIPA maɪ my Re --
  dee -- mer \withIPA lɪ li -- veth,
}

\score {
  <<
    \new Voice = "sop" \melody
    \new Lyrics \with {
      \override VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = 2
    } \lyricsto "sop" \textMarked
    \new Lyrics = IPA \with {
      \override LyricText.font-name = "Times New Roman,"
      \override LyricText.font-size = #-1
    } \lyricsto "sop" { \repeat unfold #(length (music-pitches melody)) \skip 1 }
  >>
}

%%%  SNIPPET ENDS

Reply via email to