2015-03-25 23:28 GMT+01:00 Nathan Ho <when.possi...@gmail.com>:
> On Wed, Mar 25, 2015 at 2:08 PM, David Bellows <davebell...@gmail.com> wrote:
>> In the versions of Lilypond I've used up through 2.19.16 when I would
>> compile the attached file the resulting MIDI file would play the
>> entire chord. With 2.19.17 now only the root note is played. I don't
>> really know where to look for this kind of information but I can't
>> tell if this is the new expected result or a bug. In any case I'd like
>> to get the full chords back if possible.
>>
>> Thanks.
>
> I was able to reproduce the issue, and it seems that ChordNames no
> longer produces MIDI output and what you were hearing is the Voice
> context you created. The workaround is to create two scores, one with
> a \layout block and another with the \midi block:
>
> theChords = \chordmode {
>   f8:m c4:m f4:m c8:m f4:m c4:m g4 f4:m g4 c4:m f8:m f4:m \bar "|."
> }
>
> \score {
>   <<
>     \new ChordNames \theChords
>     \new FretBoards \theChords
>     \new Voice { ... }
>   >>
>   \layout { ... }
> }
>
> \score {
>   \new Staff \theChords
>   \midi { }
> }
>
> Regards,
> Nathan
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

This was caused by my patch for Issue 4281, an oversight.

For now I suggest to use:

\layout {
  \context {
    \type "Performer_group"
    \consists "Staff_performer"
    \name ChordNames
    \defaultchild Voice
  }
}

Could you confirm that it works for you?

Then I'll put up an issue on the tracker. Patch will follow soon.


Sorry for the inconvenience,
  Harm

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

Reply via email to