2015-02-07 11:45 GMT+01:00 Thomas Morley <thomasmorle...@gmail.com>:
> 2015-02-07 9:30 GMT+01:00 David Kastrup <d...@gnu.org>:
>> Thomas Morley <thomasmorle...@gmail.com> writes:
>>
>>> returns:
>>> warning: cannot find Voice `DV'
>>>
>>>      \new Lyrics
>>>                  \lyricsto "DV"  { One Two Three Four }
>>>
>>> Coding \layout instead of \midi (or commenting it) will show correct
>>> assigned lyrics, though.
>>
>> The context hierarchy is supposed to behave the same for all outputs (of
>> course, unless you mess around with output definitions).  If it doesn't,
>> that's a bug.  I propose entering it in the tracker.  I don't have a
>> good idea off the bat what may be causing this behavior.
>>
>> --
>> David Kastrup
>
> It's now issue 4281:
> https://code.google.com/p/lilypond/issues/detail?id=4281
>
> Cheers,
>   Harm

Hi Kevin,

in the light of
https://code.google.com/p/lilypond/issues/detail?id=4281#c2
you can do for 2.18.2:

\version "2.18.2"

\paper { ragged-right = ##f }

m =
  <<
    \new DrumStaff
      <<
       \new DrumVoice \drummode { \voiceOne hh4 hh hh r hh }
       \new DrumVoice = "dv" \drummode { \voiceTwo bd4 sn bd r sn }
      >>
    \new Lyrics
      \lyricsto "dv" { One Two Three Four  }
  >>

\score {
  \m
  \layout { }
}

\score {
  \m
  \midi {
    \context {
      \DrumVoice
      \alias Voice
    }
  }
}


Thanks David K.,
  Harm

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

Reply via email to