> 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 <[email protected]> wrote:
> 2015-03-25 23:28 GMT+01:00 Nathan Ho <[email protected]>:
>> On Wed, Mar 25, 2015 at 2:08 PM, David Bellows <[email protected]> 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
>> [email protected]
>> 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
\version "2.19.17" 

\header { 
}

\include "scripts/merge-rests"
\language "english"
\include "predefined-guitar-fretboards.ly"



melody = {
	\key c \major
	\clef "treble_8"
	\time 4/4
	\tempo "Adagio" 4 = 60
}


\paper {#(set-paper-size "letter")}\score {
<<
	 \new ChordNames { 
		 \chordmode { 
			f8 c4 g4 a8:m f4 a4:m a4:m a4 a4:m c4 f8 a4 \bar "|."

		} 
	}
	\new FretBoards {
		\chordmode {
			f8 c4 g4 a8:m f4 a4:m a4:m a4 a4:m c4 f8 a4 \bar "|."

		} 
	}
	\new Voice \with {\consists "Pitch_squash_engraver" \remove "Forbid_line_break_engraver"}
	{
	\melody
		\relative c'' { 
			\improvisationOn 
			f8\ff c4 g4 a8 f4 a4 a4 a4 a4 c4 f8 a4 
		}
	}
>>
	 \layout {
	   \context {
	     \type "Performer_group"
	     \consists "Staff_performer"
	     \name ChordNames
	     \defaultchild Voice
	   }
	 }
	 \midi{}
       }
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to