Re: Guitar chord mode no longer produces MIDI file with chords

2015-03-26 Thread Thomas Morley
2015-03-26 2:40 GMT+01:00 Thomas Morley thomasmorle...@gmail.com:
 2015-03-26 1:08 GMT+01:00 David Bellows davebell...@gmail.com:
 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.

 Silly me. Must be heavily overtired...
 It needs to be put into \midi {}, like:

 \score {
   \new ChordNames \chordmode { f1:m }
   \midi {
 \context {
   \type Performer_group
   \consists Staff_performer
   \name ChordNames
   \defaultchild Voice
 }
   }
 }


 Cheers,
   Harm

It's now
https://code.google.com/p/lilypond/issues/detail?id=4330

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


Re: Guitar chord mode no longer produces MIDI file with chords

2015-03-26 Thread David Bellows
 Silly me. Must be heavily overtired...
It needs to be put into \midi {}, like:

Yep, that does it!

 It's now
https://code.google.com/p/lilypond/issues/detail?id=4330

Thanks for this!

On Thu, Mar 26, 2015 at 3:16 AM, Thomas Morley thomasmorle...@gmail.com wrote:
 2015-03-26 2:40 GMT+01:00 Thomas Morley thomasmorle...@gmail.com:
 2015-03-26 1:08 GMT+01:00 David Bellows davebell...@gmail.com:
 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.

 Silly me. Must be heavily overtired...
 It needs to be put into \midi {}, like:

 \score {
   \new ChordNames \chordmode { f1:m }
   \midi {
 \context {
   \type Performer_group
   \consists Staff_performer
   \name ChordNames
   \defaultchild Voice
 }
   }
 }


 Cheers,
   Harm

 It's now
 https://code.google.com/p/lilypond/issues/detail?id=4330

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


Guitar chord mode no longer produces MIDI file with chords

2015-03-25 Thread David Bellows
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.
\version 2.19.17 

\header { 
}

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

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


\paper {#(set-paper-size letter)}\score {

	 \new ChordNames { 
		 \chordmode { 
			f8:m c4:m f4:m c8:m f4:m c4:m g4 f4:m g4 c4:m f8:m f4:m \bar |.

		} 
	}
	\new FretBoards {
		\chordmode {
			f8:m c4:m f4:m c8:m f4:m c4:m g4 f4:m g4 c4:m f8:m f4:m \bar |.

		} 
	}
	\new Voice \with {\consists Pitch_squash_engraver \remove Forbid_line_break_engraver}
	{
	\melody
		\relative c'' { 
			\improvisationOn 
			f8\ff c4 f4 c8 f4 c4 g4 f4 g4 c4 f8 f4 
		}
	}

	\layout{ragged-bottom = ##t ragged-right = ##t \context { \Voice \remove Note_heads_engraver \consists Completion_heads_engraver \remove Rest_engraver \consists Completion_rest_engraver}}
	\midi{}
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar chord mode no longer produces MIDI file with chords

2015-03-25 Thread Nathan Ho
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


Re: Guitar chord mode no longer produces MIDI file with chords

2015-03-25 Thread Thomas Morley
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


Re: Guitar chord mode no longer produces MIDI file with chords

2015-03-25 Thread David Bellows
 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 thomasmorle...@gmail.com wrote:
 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
\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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar chord mode no longer produces MIDI file with chords

2015-03-25 Thread Thomas Morley
2015-03-26 1:08 GMT+01:00 David Bellows davebell...@gmail.com:
 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.

Silly me. Must be heavily overtired...
It needs to be put into \midi {}, like:

\score {
  \new ChordNames \chordmode { f1:m }
  \midi {
\context {
  \type Performer_group
  \consists Staff_performer
  \name ChordNames
  \defaultchild Voice
}
  }
}


Cheers,
  Harm

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