lilypond-user
[Top][All Lists]
Advanced

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

Re: Regression?: Wrong order of MIDI tracks for lyrics


From: ornello
Subject: Re: Regression?: Wrong order of MIDI tracks for lyrics
Date: Tue, 22 Jan 2013 01:47:05 -0800 (PST)

Hello again,

I have tried to re-import the generated MIDI file using midi2ly. Here is the
result:


\version "2.14.0"

\layout {
  \context {
    \Voice
    \remove "Note_heads_engraver"
    \consists "Completion_heads_engraver"
    \remove "Rest_engraver"
    \consists "Completion_rest_engraver"
  }
}

trackAchannelA = {
  
  % [SEQUENCE_TRACK_NAME] control track
  
  % [TEXT_EVENT] creator: 
  
  % [TEXT_EVENT] GNU LilyPond 2.16.0           
  
  \time 4/4 
  
  \tempo 4 = 60 
  
}

trackA = <<
  \context Voice = voiceA \trackAchannelA
>>


trackBchannelA = {
  
  \set Staff.instrumentName = "Soprano:uniqueContext0"
  
}

trackBchannelB = \relative c {
  c4 
}

trackB = <<

  \clef bass
  
  \context Voice = voiceA \trackBchannelA
  \context Voice = voiceB \trackBchannelB
>>


trackCchannelA = {
  
  \set Staff.instrumentName = "Alto:uniqueContext1"
  
}

trackCchannelB = \relative c {
  c 
}

trackC = <<

  \clef bass
  
  \context Voice = voiceA \trackCchannelA
  \context Voice = voiceB \trackCchannelB
>>


trackDchannelA = {
  
  \set Staff.instrumentName = "Tenor:uniqueContext2"
  
}

trackDchannelB = \relative c {
  c 
}

trackD = <<

  \clef bass
  
  \context Voice = voiceA \trackDchannelA
  \context Voice = voiceB \trackDchannelB
>>


trackEchannelA = {
  
  \set Staff.instrumentName = "Bass:uniqueContext3"
  
}

trackEchannelB = \relative c {
  c 
}

trackE = <<

  \clef bass
  
  \context Voice = voiceA \trackEchannelA
  \context Voice = voiceB \trackEchannelB
>>


trackFchannelA = \lyricmode {
  "Soprano" 
}

trackF = <<
  \context Lyrics = voiceA \trackFchannelA
>>


trackGchannelA = \lyricmode {
  "Alto" 
}

trackG = <<
  \context Lyrics = voiceA \trackGchannelA
>>


trackHchannelA = \lyricmode {
  "Tenor" 
}

trackH = <<
  \context Lyrics = voiceA \trackHchannelA
>>


trackIchannelA = \lyricmode {
  "Bass" 
}

trackI = <<
  \context Lyrics = voiceA \trackIchannelA
>>


\score {
  <<
    \context Staff=trackB \trackA
    \context Staff=trackB \trackB
    \context Staff=trackC \trackA
    \context Staff=trackC \trackC
    \context Staff=trackD \trackA
    \context Staff=trackD \trackD
    \context Staff=trackE \trackA
    \context Staff=trackE \trackE
    \context Lyrics=trackF \trackF
    \context Lyrics=trackG \trackG
    \context Lyrics=trackH \trackH
    \context Lyrics=trackI \trackI
  >>
  \layout {}
  %\midi {}
}


It shows that the music and lyric tracks could not be mapped. Lyrics are
generated in track order, therefore only "Alto" and "Soprano" show up.


I also tried to use \lyricmode instead of \addlyrics:


\version "2.16.0"

\score {
\new ChoirStaff
<<
    \new Staff = "Soprano" {
        <<
          \new Voice="Soprano" { r c }
          \lyricmode { "Soprano" }
        >>
    }
    \new Staff = "Alto" {
        <<
          \new Voice="Alto" { c }
          \lyricmode { "Alto" }
        >>
    }
    \new Staff = "Tenor" {
        <<
          \new Voice="Tenor" { c }
          \lyricmode { "Tenor" }
        >>
    }
    \new Staff = "Bass" {
        <<
          \new Voice="Bass" { c }
          \lyricmode { "Bass" }
        >>
}
>>
    \midi { }
}


But then meta text events are generated in the MIDI instead of meta lyric
events.

I think this behaviour is unclear and should be clarified/documented.

Dominik



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Regression-Wrong-order-of-MIDI-tracks-for-lyrics-tp21244p139943.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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