Am 2006-01-05 um 05:54 schrieb Ray:

Alternatively, additional templates might be nice, ones
that address non-classical music forms.

Here's a two-voices-with-lyrics-and-chords template for you.
(It's public domain, use and distribute at will.)

3. A dictionary of syntax codes, linked (again) directly to larger examples so that we can see how they work. Saying "\score { . . . } doesn't really help us if what's inside the brackets is a multi-nested set of commands.

That would be really valuable!

6. Perhaps, some clearer discussion about how to best _organize_ a song so that as one writes, changes lyrics, switches notes around, the piece needs as
little rewriting as possible.

I'd appreciate comments on the attachment.

7.  The MIDI info seems quite thin.

The MIDI output of LilyPond is poor; I'd offer some Euros for an enhancment, as mentioned in the "Why aren't repeats unfolded automatically in MIDI?" thread.


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
http://www.cacert.org (I'm an assurer)
\version "2.6.3"

\header{
	title = "Your Song"
	poet = "T: "
	composer = "M: "
%	instrument = "2 voc + git"
	source = ""
	maintainer = "Henning Hraban Ramm"
	maintainerWeb = "http://angerweit.tikon.ch/lieder/";
	lastupdated = "2006-01-05"
	tagline = ""
	copyright = ""
}

global = {
	\clef treble
	\key a \minor
	\time 4/4
}

guitarChords = \chordmode {
	% put your guitar chords here
	% use the same repeats as in the voices!
}

dynamics = \relative c {
	% use this to influence MIDI dynamics
	r1\mp
}

% if you use \voiceOne and \voiceTwo,
% you can print two voices on one staff

upperVoice = \relative c'' {
	%\voiceOne
	\repeat volta 2 {
	}
	\alternative {
		{  }
		{  }
	}
}

lowerVoice = \relative c' {
	%\voiceTwo
	\repeat volta 2 {
	}
	\alternative {
		{  }
		{  }
	}	
}

text = \lyricmode {
	%\set stanza = "1. "
	% You know how to write ly -- rics, don’t you?
}

% Paper Output
\score {
	<<
		\context ChordNames {
			% \germanChords
			\set chordChanges = ##t
			\guitarChords
		}
		\context Staff = Upper <<
			\global
			\context Voice = "one" \upperVoice
			%\context Voice = "two" \lowerVoice
		>>
		\lyricsto "one" \new Lyrics { \text }
		% comment this if you need only one voice:
		\context Staff = Lower <<
			\global
			%\context Voice = "one" \upperVoice
			\context Voice = "two" \lowerVoice
		>>
	>>
	\layout { 
		indent = 0\cm
	}
}

% MIDI Output
\score {
	\unfoldRepeats { % otherwise you get no repeats in the MIDI
		<<
			\context Staff = chords <<
				\set Staff.midiInstrument = "fx 4 (atmosphere)"
				\context Voice = chords {
					<< \dynamics \akkorde >>
				}
			>>
			\context Staff = Upper <<
				\set Staff.midiInstrument = "violin"
				\context Voice = ober \upperVoice
			>>
			\context Staff = Lower <<
				\set Staff.midiInstrument = "viola"
				\context Voice = unter \lowerVoice
			>>
		>>
	}
	\midi{ \tempo 4=180 } % tempo doesn't change in most players
}

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to