Using IPA lyrics

View: New views
5 Messages — Rating Filter:   Alert me  

Using IPA lyrics

by Glendan Lawler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, I need some help:  I'm trying to put some IPA lyrics to a song, and it's not coming out right.  Some of the characters are all the way on top of eachother.... How can I fix this?  It wouldn't let me post my code in the body, so I attached both my code in .txt format, and the output I got from it.  Can anyone help?  Thanks!

Glendan

\version "2.12.2"


% Voices

top = \relative f' <<

  { f8 [f] f [(a g)] f | e4 f r | a8 [a] a [(g16 a bes8)] a | g4 a r \break
    \repeat volta 2 { a8 [a] a4 g8 [(bes)] | a16 [(g) f (e)] f4 e | a8 [a] bes [(a)] g <f a>
    << {\voiceTwo e4} \new Voice{\voiceOne a8 [e]}>> \oneVoice f4 r } }

  { d8 [d] d [(f e)] d | a4 d r | f8 [f] f [(e16 f g8)] f | c4 f r \break
    \repeat volta 2 { f8 [f] f4 e8 [(g)] | f16 [(e) d (cis)] d4 a | f'8 [f] g [(f)] e d | a4 d r } } >>



ukr = \lyricmode { Но -- ва ра -- дість ста -- ла, Я -- ка не бу -- ва -- ла:
                   Над вер -- те -- пом звіз -- да яс -- на У -- весь світ о -- сі -- я -- ла. }

eng = \lyricmode { No -- va ra -- dist' sta -- la, Ja -- ka ne bu -- va -- la:
                   Nad ver -- te -- pom zviz -- da jas -- na U -- ves' svit o -- si -- ja -- la. }

ipa = \lyricmode { n̪ɔ -- ʋɑ rɑ -- dʲisʲtʲ s̪t̪ɑ -- l̪ɑ jɑ -- kɑ ɳɛ bu -- ʋɑ -- l̪ɑ
                   n̪ɑd ʋɛr -- tʲɛ -- pɔm sʲʋʲiz̪ -- d̪ɑ jɑs̪ -- n̪ɑ u -- ʋɛsʲ sʲʋʲit̪ o -- sʲi -- jɑ -- l̪ɑ }



#(set-default-paper-size "letter")
#(set-global-staff-size 17.0)

\paper{

  top-margin = 1\in
  bottom-margin = 1\in
  left-margin = 0.75\in
  print-page-number = ##f

}


\header { title = "НОВА РАДІСТЬ СТАЛА"
          composer = "Traditional Ukrainian Carol                    " }


\score{
 
  \new Staff << { \key d \minor \time 3/4 \new Voice = "top" { \top } }
                  \new Lyrics \lyricsto "top" { \ukr }
                  \new Lyrics \lyricsto "top" { \eng }
                  \new Lyrics \lyricsto "top" { \ipa } >>
 
  \layout { indent = 0 line-width = 7\in
            \context {\Lyrics \override LyricText #'font-name = #"Times New Roman"} }
 
%  \midi { \context {\Score tempoWholesPerMinute = #(ly:make-moment 80 4)} }
 
}
[Nova Radist Stala - Diphonic.ly]

\version "2.12.2"


% Voices

top = \relative f' <<

  { f8 [f] f [(a g)] f | e4 f r | a8 [a] a [(g16 a bes8)] a | g4 a r \break
    \repeat volta 2 { a8 [a] a4 g8 [(bes)] | a16 [(g) f (e)] f4 e | a8 [a] bes [(a)] g <f a>
    << {\voiceTwo e4} \new Voice{\voiceOne a8 [e]}>> \oneVoice f4 r } }

  { d8 [d] d [(f e)] d | a4 d r | f8 [f] f [(e16 f g8)] f | c4 f r \break
    \repeat volta 2 { f8 [f] f4 e8 [(g)] | f16 [(e) d (cis)] d4 a | f'8 [f] g [(f)] e d | a4 d r } } >>



ukr = \lyricmode { Но -- ва ра -- дість ста -- ла, Я -- ка не бу -- ва -- ла:
                   Над вер -- те -- пом звіз -- да яс -- на У -- весь світ о -- сі -- я -- ла. }

eng = \lyricmode { No -- va ra -- dist' sta -- la, Ja -- ka ne bu -- va -- la:
                   Nad ver -- te -- pom zviz -- da jas -- na U -- ves' svit o -- si -- ja -- la. }

ipa = \lyricmode { n̪ɔ -- ʋɑ rɑ -- dʲisʲtʲ s̪t̪ɑ -- l̪ɑ jɑ -- kɑ ɳɛ bu -- ʋɑ -- l̪ɑ
                   n̪ɑd ʋɛr -- tʲɛ -- pɔm sʲʋʲiz̪ -- d̪ɑ jɑs̪ -- n̪ɑ u -- ʋɛsʲ sʲʋʲit̪ o -- sʲi -- jɑ -- l̪ɑ }



#(set-default-paper-size "letter")
#(set-global-staff-size 17.0)

\paper{

  top-margin = 1\in
  bottom-margin = 1\in
  left-margin = 0.75\in
  print-page-number = ##f

%{  #(define fonts (make-pango-font-tree "Times New Roman"
                                       "Lucida Sans Unicode"
                                       "DejaVu Sans Mono" (/ myStaffSize 17))) %}

}


\header { title = "НОВА РАДІСТЬ СТАЛА"
          composer = "Traditional Ukrainian Carol                    " }


\score{
 
  \new Staff << { \key d \minor \time 3/4 \new Voice = "top" { \top } }
                  \new Lyrics \lyricsto "top" { \ukr }
                  \new Lyrics \lyricsto "top" { \eng }
                  \new Lyrics \lyricsto "top" { \ipa } >>
 
  \layout { indent = 0 line-width = 7\in
            \context {\Lyrics \override LyricText #'font-name = #"Times New Roman"} }
 
%  \midi { \context {\Score tempoWholesPerMinute = #(ly:make-moment 80 4)} }
 
}


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Using IPA lyrics

by David Bobroff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just tried your *.ly code on my machine and it came out fine.  I don't
see characters on top of each other.  I'm using version 2.13.5.  I can't
say for sure if there is an issue with IPA and v2.12.2 but it's possible.

-David

Glendan Lawler wrote:

> Hello, I need some help:  I'm trying to put some IPA lyrics to a song,
> and it's not coming out right.  Some of the characters are all the way
> on top of eachother.... How can I fix this?  It wouldn't let me post my
> code in the body, so I attached both my code in .txt format, and the
> output I got from it.  Can anyone help?  Thanks!
>
> Glendan
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@...
> http://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Using IPA lyrics

by Robin Bannister :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It looks fine here too, with 2.12.1.  

But I noticed my editor was garbling some IPA.
It is set to use DejaVu Sans Mono.  

If  I change your lyrics font override to DejaVu Sans Mono,
then Lilpond garbles my output too.  


Cheers,
Robin



_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Parent Message unknown Re: Re: Using IPA lyrics

by Glendan Lawler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Problem Unresolved and Worsened....

So not only is the old problem of garbled IPA still there, now I'm having problems with basic Latin as well.  For the staff lyrics, it seems I'm now also having trouble with the letter capital "N", which for some inexplicable reason is now being rendered in the pdf as an under-dotted capital "Ị".  I'm not sure what to make of this... does anyone have any ideas what might be wrong, and how I might be able to fix it?  I would really appreciate it...

I will reattach the code (there's a little more of it now), and I wanted to post a .jpg of the pdf, so you all could see what I saw, but the moderator said it was too large, so o well.

On Wed, Oct 21, 2009 at 1:48 AM, Robin Bannister <rcb@...> wrote:
It looks fine here too, with 2.12.1.  
But I noticed my editor was garbling some IPA. It is set to use DejaVu Sans Mono.  
If  I change your lyrics font override to DejaVu Sans Mono, then Lilpond garbles my output too.  

Cheers,
Robin





\version "2.12.2"


% Voices

top = \relative f' <<

  { f8 [f] f [(a g)] f | e4 f r | a8 [a] a [(g16 a bes8)] a | g4 a r \break
    \repeat volta 2 { a8 [a] a4 g8 [(bes)] | a16 [(g) f (e)] f4 e | a8 [a] bes [(a)] g <f a>
    << {\voiceTwo e4} \new Voice{\voiceOne a8 [e]}>> \oneVoice f4 r } }

  { d8 [d] d [(f e)] d | a4 d r | f8 [f] f [(e16 f g8)] f | c4 f r \break
    \repeat volta 2 { f8 [f] f4 e8 [(g)] | f16 [(e) d (cis)] d4 a | f'8 [f] g [(f)] e d | a4 d r } } >>



ukri = \lyricmode { Но -- ва ра -- дість ста -- ла, Я -- ка не бу -- ва -- ла:
                    Над вер -- те -- пом звіз -- да яс -- на У -- весь світ о -- сі -- я -- ла. }

engi = \lyricmode { No -- va ra -- dist' sta -- la, Ja -- ka ne bu -- va -- la:
                    Nad ver -- te -- pom zviz -- da jas -- na U -- ves' svit o -- si -- ja -- la. }

ipai = \lyricmode { n̪ɔ -- ʋɑ rɑ -- dʲisʲtʲ s̪t̪ɑ -- l̪ɑ jɑ -- kɑ ɳɛ bu -- ʋɑ -- l̪ɑ
                    n̪ɑd ʋɛr -- tʲɛ -- pɔm sʲʋʲiz̪ -- d̪ɑ jɑs̪ -- n̪ɑ u -- ʋɛsʲ sʲʋʲit̪ o -- sʲi -- jɑ -- l̪ɑ }


ukrii = \lyricmode { Де Хри -- стос ро -- див -- ся, з Ді -- ви во -- пло -- тив -- ся,
                     Як чо -- ло -- вік пе -- ле -- на -- ми у -- бо -- го по -- вив -- ся. }

engii = \lyricmode { De Xri -- stos ro -- dyv -- sja, z di -- vy -- vo -- plo -- tyv -- sja,
                     Jak cho -- lo -- vik pe -- le -- na -- my u -- bo -- ho po -- vyv -- sja. }


#(set-default-paper-size "letter")
#(set-global-staff-size 17.0)

\paper{

  top-margin = 1\in
  bottom-margin = 1\in
  left-margin = 0.75\in
  print-page-number = ##f

}


\header { title = "НОВА РАДІСТЬ СТАЛА"
          composer = "Traditional Ukrainian Carol                    " }


\score{
 
  \new Staff << { \key d \minor \time 3/4 \new Voice = "top" { \top } }
                  \new Lyrics \lyricsto "top" { \ukri }
                  \new Lyrics \lyricsto "top" { \engi }
                  \new Lyrics \lyricsto "top" { \ipai } >>
 
  \layout { indent = 0 line-width = 7\in
            \context {\Lyrics \override LyricText #'font-name = #"Times New Roman"} }
 
%  \midi { \context {\Score tempoWholesPerMinute = #(ly:make-moment 80 4)} }
 
}


\markup {
  \fill-line {
    \pad-markup #5 { \column {
      \line { \bold "2." \column { "Де Христос родився, з Діви воплотився," "Як чоловік пеленами убого повився."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"De Xristos rodyvsja, z divy voplotyvsja," "Jak cholovik pelenamy ubovo polyvcja."} } }
      \pad-markup #2 { \null }
      \line { \bold "3." \column { "Пастирі з ягнятком Перед тим дитятком" "На коліна припадають, Царя-Бога вихваляють."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"Pastyri z jahnjatkom Pered tym dytjatkom"
                                            "Na kolina prypadajut', Tsarja-Boha vyxvaljajut'."} } }
    } }
   
    \pad-markup #5 { \column {
      \line { \bold "4." \column { "Просимо Тебе Царю, небесний Владарю," "Даруй літа щасливії цього дому господарю."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"Prosymo Tebe Tsarju, nebesnyj Vladarju,"
                                            "Daruj lita shchaslybiji ts'oho domu hospodarju."} } }
      \pad-markup #2 { \null }
      \line { \bold "5." \column { "Даруй господарю, його господині," "Даруй літа щасливії нашій неньці Україні."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"Daruj hospodarju, joho hospodyni,"
                                            "Daruj lita shchaslybiji nashij nen'tsi Ukrajini."} } }

    } }
   
    \hspace #0.05
  }
}
[Nova Radist Stala - Diphonic.ly]

\version "2.12.2"


% Voices

top = \relative f' <<

  { f8 [f] f [(a g)] f | e4 f r | a8 [a] a [(g16 a bes8)] a | g4 a r \break
    \repeat volta 2 { a8 [a] a4 g8 [(bes)] | a16 [(g) f (e)] f4 e | a8 [a] bes [(a)] g <f a>
    << {\voiceTwo e4} \new Voice{\voiceOne a8 [e]}>> \oneVoice f4 r } }

  { d8 [d] d [(f e)] d | a4 d r | f8 [f] f [(e16 f g8)] f | c4 f r \break
    \repeat volta 2 { f8 [f] f4 e8 [(g)] | f16 [(e) d (cis)] d4 a | f'8 [f] g [(f)] e d | a4 d r } } >>



ukri = \lyricmode { Но -- ва ра -- дість ста -- ла, Я -- ка не бу -- ва -- ла:
                    Над вер -- те -- пом звіз -- да яс -- на У -- весь світ о -- сі -- я -- ла. }

engi = \lyricmode { No -- va ra -- dist' sta -- la, Ja -- ka ne bu -- va -- la:
                    Nad ver -- te -- pom zviz -- da jas -- na U -- ves' svit o -- si -- ja -- la. }

ipai = \lyricmode { n̪ɔ -- ʋɑ rɑ -- dʲisʲtʲ s̪t̪ɑ -- l̪ɑ jɑ -- kɑ ɳɛ bu -- ʋɑ -- l̪ɑ
                    n̪ɑd ʋɛr -- tʲɛ -- pɔm sʲʋʲiz̪ -- d̪ɑ jɑs̪ -- n̪ɑ u -- ʋɛsʲ sʲʋʲit̪ o -- sʲi -- jɑ -- l̪ɑ }


ukrii = \lyricmode { Де Хри -- стос ро -- див -- ся, з Ді -- ви во -- пло -- тив -- ся,
                     Як чо -- ло -- вік пе -- ле -- на -- ми у -- бо -- го по -- вив -- ся. }

engii = \lyricmode { De Xri -- stos ro -- dyv -- sja, z di -- vy -- vo -- plo -- tyv -- sja,
                     Jak cho -- lo -- vik pe -- le -- na -- my u -- bo -- ho po -- vyv -- sja. }


#(set-default-paper-size "letter")
#(set-global-staff-size 17.0)

\paper{

  top-margin = 1\in
  bottom-margin = 1\in
  left-margin = 0.75\in
  print-page-number = ##f

}


\header { title = "НОВА РАДІСТЬ СТАЛА"
          composer = "Traditional Ukrainian Carol                    " }


\score{
 
  \new Staff << { \key d \minor \time 3/4 \new Voice = "top" { \top } }
                  \new Lyrics \lyricsto "top" { \ukri }
                  \new Lyrics \lyricsto "top" { \engi }
                  \new Lyrics \lyricsto "top" { \ipai } >>
 
  \layout { indent = 0 line-width = 7\in
            \context {\Lyrics \override LyricText #'font-name = #"Times New Roman"} }
 
%  \midi { \context {\Score tempoWholesPerMinute = #(ly:make-moment 80 4)} }
 
}


\markup {
  \fill-line {
    \pad-markup #5 { \column {
      \line { \bold "2." \column { "Де Христос родився, з Діви воплотився," "Як чоловік пеленами убого повився."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"De Xristos rodyvsja, z divy voplotyvsja," "Jak cholovik pelenamy ubovo polyvcja."} } }
      \pad-markup #2 { \null }
      \line { \bold "3." \column { "Пастирі з ягнятком Перед тим дитятком" "На коліна припадають, Царя-Бога вихваляють."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"Pastyri z jahnjatkom Pered tym dytjatkom"
                                            "Na kolina prypadajut', Tsarja-Boha vyxvaljajut'."} } }
    } }
   
    \pad-markup #5 { \column {
      \line { \bold "4." \column { "Просимо Тебе Царю, небесний Владарю," "Даруй літа щасливії цього дому господарю."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"Prosymo Tebe Tsarju, nebesnyj Vladarju,"
                                            "Daruj lita shchaslybiji ts'oho domu hospodarju."} } }
      \pad-markup #2 { \null }
      \line { \bold "5." \column { "Даруй господарю, його господині," "Даруй літа щасливії нашій неньці Україні."
                                   \hspace #0.1 % adds vertical spacing between verses
                                   \italic {"Daruj hospodarju, joho hospodyni,"
                                            "Daruj lita shchaslybiji nashij nen'tsi Ukrajini."} } }

    } }
   
    \hspace #0.05
  }
}


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Using IPA lyrics

by Michael Lauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Glendan Lawler <glendan.lawler <at> gmail.com> writes:

> Problem Unresolved and Worsened....So not only is the old problem of garbled
IPA still there, now I'm having problems with basic Latin as well.  For the
staff lyrics, it seems I'm now also having trouble with the letter capital "N",
which for some inexplicable reason is now being rendered in the pdf as an under-
dotted capital "Ị". 

Believe it or not, this is a problem with the font. See

http://old.nabble.com/Character-change-on-Vista-td20146841.html

It's fixed in the version that ships with Windows 7 (I don't have the
version number handy).

> It looks fine here too, with 2.12.1.   But I noticed my editor was garbling
some IPA. It is set to use DejaVu Sans Mono.  
>
> If  I change your lyrics font override to DejaVu Sans Mono, then Lilpond
garbles my output too.  Cheers,Robin
>

The DejaVu Sans Mono results look to me like there might be a bug
in the font, but really I have no idea.

But I think you don't want DejaVu Sans Mono or TNR anyway; you want a serif
font that really and truly supports IPA. Look at Gentium, Doulos, and
Charis from SIL:

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=FontDownloads

HTH,
Michael




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user