[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guitar chord mode no longer produces MIDI file with chords
From: |
David Bellows |
Subject: |
Re: Guitar chord mode no longer produces MIDI file with chords |
Date: |
Wed, 25 Mar 2015 17:08:54 -0700 |
> Could you confirm that it works for you?
I copy and pasted it directly in and it doesn't change the behavior.
I've attached my file. And forgive the odd formatting, I have a
program that generates this code.
> Then I'll put up an issue on the tracker. Patch will follow soon.
Awesome. This isn't mission critical so I can wait.
On Wed, Mar 25, 2015 at 4:46 PM, Thomas Morley <address@hidden> wrote:
> 2015-03-25 23:28 GMT+01:00 Nathan Ho <address@hidden>:
>> On Wed, Mar 25, 2015 at 2:08 PM, David Bellows <address@hidden> 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
>> address@hidden
>> 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
Classical_guitar_Simple_Guitar_Chords.ly
Description: Text Data