* Documentation/user/examples.itely: second, third, fourth, and fifth sections added.
+ * input/template/{various}: removed files included in examples.itely.
+
2004-08-26 Juergen Reuter <reuter@ipd.uka.de>
* lily/stem.cc: bugfix: adjust-if-on-staffline: use
+++ /dev/null
-\version "2.3.8"
-
-\header {
- texidoc = "@cindex Bagpipe Music
-Here's an example of bagpipe music.
-"
-}
-
-\paper {
- linewidth = 14.0 \cm
- indent = 0.0 \cm
- \context {
- \Staff
- \override TimeSignature #'style = #'C
- \override TimeSignature #'break-visibility = #begin-of-line-visible
- }
-}
-
-taor = { \grace {
- g32[ d' g e']
-}
- }
-grip = {
- \grace {
- g32[ b g ]
- }
-}
-thrd = {
- \grace {
- g32[ d' c']
- }
-}
-birl = {
- \grace {
- g32[ a g]
- }
-}
-gstd = {
- \grace {
- g'32[ d' g]
- }
-}
-lgg = {
- \grace {
- g32
- }
-}
-lag = {
- \grace {
- a32
- }
-}
-fgg = {
- \grace {
- f32[ g'32]
- }
-}
-dblb = {
- \grace {
- g'32[ b d']
- }
-}
-dblc = {
- \grace {
- g'32[ c' d']
- }
-}
-dble = {
- \grace {
- g'32[ e' f']
- }
-}
-dblf = {
- \grace {
- g'32[ f' g']
- }
-}
-dblg = {
- \grace {
- g'32[ f']
- }
-}
-dbla = {
- \grace {
- a'32[ g']
- }
-}
-cg = {
- \grace {
- c'32
- }
-}
-eg = {
- \grace {
- e'32
- }
-}
-gg = {
- \grace {
- g'32
- }
-}
-dg = {
- \grace {
- d'32
- }
-}
-hag = {
- \grace {
- a'32
- }
-}
-gefg = {
- \grace {
- g'32[ e' f']
- }
-}
-efg = {
- \grace {
- e'32[ f']
- }
-}
-gdcg = {
- \grace {
- g'32[ d' c']
- }
-}
-gcdg = {
- \grace {
- g'32[ c' d']
- }
-}
-
-\transpose a a' {
- #(add-grace-property 'Voice 'Stem 'length 6)
- \time 6/8 \partial 4
- \tieUp
- \slurUp
-
- f'4 |
- \gg f'4 e'8 \thrd d'4. |
- \eg a4.(a4) d'8 |
- \gg d'4 f'8 \dble e'4. ( | \noBreak
- e'8) d'4 \gg d'4 e'8 |
-
-%{
-
- \break
- \time 9/8
- \dblf f'2.( f'4) d'8 |
- \time 6/8
- \dblg g'4 a'8 \gg a'4. |
- \thrd d'4.( d'4) \eg a8 |
- \time 9/8
- \dble e'4 \lag e'8 \gg e'16[ d'8. e'8] \gg f'4 g'8 |
-
- \break
- \time 6/8
- \gg f'4 e'8 \thrd d'4. |
- \eg a4.( a4) d'8 |
- \dblg g'4 a'8 \gg a'4. |
- \thrd d'4.( d'4) f'8 |
-
- \break
- \dblg g'4 e'8( e'8) \dblf f'8.[ e'16] |
- \thrd d'4.( d'4) \cg d'8 |
- \gg c'4 e'8 \thrd d'4.( |
- d'4.) \gdcg d'4.
-
-%}
-}
+++ /dev/null
-\version "2.3.8"
-
-
-\header {
-texidoc = "Modern transcriptions of gregrorian music.
-Gregorian music has no measure, no stems; it uses only half and quarter notes,
-and two types of barlines, a short one indicating a rest, and a second one
-indicating a breath mark."
-}
-
-
-barOne = { \once \override Staff.BarLine #'bar-size = #2
- \bar "|" }
-barTwo = { \once \override Staff.BarLine #'extra-offset = #'(0 . 2)
-
- \once \override Staff.BarLine #'bar-size = #2
- \bar "|" }
-\score {
-
- \relative c' {
- \set Score.timing = ##f
- \override Staff.Stem #'transparent = ##t
- f4 a2 \barTwo g4 a2 f2 \barOne g4( f) f(
- \bar "empty"
- \break
- g) a2
-}
-
-}
+++ /dev/null
-\version "2.3.8"
-\header {
- dedication = "dedication"
- title = "Title"
- subtitle = "Subtitle"
- subsubtitle = "Subsubtitle"
- composer = "Composer (xxxx-yyyy)"
- opus = "Opus 0"
- piece = "Piece I"
- instrument = "Instrument"
- arranger = "Arranger"
- poet = "Poet"
- texttranslator = "Translator"
- copyright = "public domain"
- source = "urtext "
- enteredby = "your name here"
- maintainerEmail = "your email here"
- texidoc = "The standard header that ought to be in top of a file."
-
-}
-
-% insert a score otherwise lilypond-book gets confused.
-\score {
- {
- c'4
- }
-}
+++ /dev/null
-\version "2.3.8"
-\header {
- title = "Song"
- subtitle = "(tune)"
- composer = "Me"
- meter = "moderato"
- piece = "Swing"
- tagline = "LilyPond example file by Amelie Zapf, Berlin 07/07/2003"
- texidoc = "Jazz tune for combo (horns, guitar, piano, bass, drums)."
-}
-
-#(set-global-staff-size 16)
-\include "english.ly"
-
-%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
-
-sl = {
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
-}
-nsl = {
- \revert NoteHead #'style
- \revert Stem #'transparent
-}
-cr = \override NoteHead #'style = #'cross
-ncr = \revert NoteHead #'style
-
-%% insert chord name style stuff here.
-
-jzchords = { }
-
-
-%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
-
-global = {
- \time 4/4
-}
-
-Key = { \key c \major }
-
-% ############ Horns ############
-% ------ Trumpet ------
-trpt = \transpose c d \relative c'' {
- \Key
- c1 c c
-}
-
-trpharmony = \transpose c' d { \jzchords }
-trumpet = {
- \global
- \set Staff.instrument = #"Trumpet"
- \clef treble
- \context Staff <<
- \trpt
- >>
-}
-
-% ------ Alto Saxophone ------
-alto = \transpose c a \relative c' {
- \Key
- c1 c c
-}
-
-altoharmony = \transpose c' a { \jzchords }
-altosax = {
- \global
- \set Staff.instrument = #"Alto Sax"
- \clef treble
- \context Staff <<
- \alto
- >>
-}
-
-% ------ Baritone Saxophone ------
-bari = \transpose c a' \relative c {
- \Key
- c1 c \sl d4^"Solo" d d d \nsl
-}
-
-bariharmony = \transpose c' a \chords { \jzchords s1 s d2:maj e:m7 }
-barisax = {
- \global
- \set Staff.instrument = #"Bari Sax"
- \clef treble
- \context Staff <<
- \bari
- >>
-}
-% ------ Trombone ------
-tbone = \relative c {
- \Key
- c1 c c
-}
-
-tboneharmony = \chords { \jzchords }
-trombone = {
- \global
- \set Staff.instrument = #"Trombone"
- \clef bass
- \context Staff <<
- \tbone
- >>
-}
-% ############ Rhythm Section #############
-% ------ Guitar ------
-gtr = \relative c'' {
- \Key
- c1 \sl b4 b b b \nsl c1
-}
-
-gtrharmony = \chords { \jzchords
- s1 c2:min7+ d2:maj9
-}
-
-guitar = {
- \global
- \set Staff.instrument = #"Guitar"
- \clef treble
- \context Staff <<
- \gtr
- >>
-}
-
-%% ------ Piano ------
-rhUpper = \relative c'' {
- \voiceOne
- \Key
- c1 c c
-}
-
-rhLower = \relative c' {
- \voiceTwo
- \Key
- e1 e e
-}
-
-lhUpper = \relative c' {
- \voiceOne
- \Key
- g1 g g
-}
-
-lhLower = \relative c {
- \voiceTwo
- \Key
- c1 c c
-}
-
-PianoRH = {
- \clef treble
- \global
- \set Staff.midiInstrument = "acoustic grand"
- \context Staff <<
- \context Voice = one \rhUpper
- \context Voice = two \rhLower
- >>
-}
-
-PianoLH = {
- \clef bass
- \global
- \set Staff.midiInstrument = "acoustic grand"
- \context Staff <<
- \context Voice = one \lhUpper
- \context Voice = two \lhLower
- >>
-}
-
-piano = {
- \context PianoStaff <<
- \set PianoStaff.instrument = #"Piano"
- \context Staff = upper \PianoRH
- \context Staff = lower \PianoLH
- >>
-}
-
-% ------ Bass Guitar ------
-bass = \relative c {
- \Key
- c1 c c
-}
-
-bass = {
- \global
- \set Staff.instrument = #"Bass"
- \clef bass
- \context Staff <<
- \bass
- >>
-}
-
- % ------ Drums ------
-
-up = \drums {
- hh4 <hh sn>4 hh <hh sn> hh <hh sn>4
- hh4 <hh sn>4
- hh4 <hh sn>4
- hh4 <hh sn>4
-}
-
-down = \drums {
- bd4 s bd s bd s bd s bd s bd s
-}
-
-drumContents = {
- \global
- <<
- \set DrumStaff.instrument = #"Drums"
- \new DrumVoice { \voiceOne \up }
- \new DrumVoice { \voiceTwo \down }
- >>
-}
-
-%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
-
-\score {
-<<
- \context StaffGroup = horns <<
- \context Staff = trumpet \trumpet
-
- \context Staff = altosax \altosax
-
- \context ChordNames = barichords \bariharmony
-
- \context Staff = barisax \barisax
-
- \context Staff = trombone \trombone
- >>
-
- \context StaffGroup = rhythm <<
- \context ChordNames = chords \gtrharmony
- \context Staff = guitar \guitar
- \context PianoStaff = piano \piano
-
- \context Staff = bass \bass
-
- \new DrumStaff { \drumContents }
- >>
->>
- \paper {
- linewidth = 15.0 \cm
- \context { \RemoveEmptyStaffContext }
- \context {
- \Score
- \override BarNumber #'padding = #3
- \override RehearsalMark #'padding = #2
- skipBars = ##t
- }
- }
- \midi { \tempo 4 = 75 }
-}
+++ /dev/null
-\version "2.3.8"
-
-\header {
- texidoc = "Lead sheet format: chords with melody."
-}
-
-harmonies = \chords {
- c4:m f:min7 g:maj c:aug d2:dim b:sus
-}
-
-melody = \relative c' {
- f4 e8[ c] d4 g | a2 ~ a2
-}
-
-\score {
- <<
- \context ChordNames {
- \set chordChanges = ##t
- \harmonies
- }
- \context Staff = one \melody
- >>
-
- \paper{ }
- \midi{ }
-}
+++ /dev/null
-\version "2.3.8"
-\header
-{
- texidoc = "Popsong format: chords, melody and lyrics."
-}
-
-melody = \relative c'
-{
- a b c d
-}
-
-text = \lyrics {
- Aaa Bee Cee Dee
-}
-
-accompaniment = \chords {
- a2 c2
-}
-
-\score {
- <<
- \context ChordNames \accompaniment
- \context Voice = one {
- \autoBeamOff
- \melody
- }
- \lyricsto "one" \new Lyrics \text
- >>
- \paper { }
- \midi { }
-}
+++ /dev/null
-\version "2.3.8"
-
-\header {
- texidoc = "Melody and lyrics."
-}
-
-melody = \relative c'' {
- a b c d
-}
-
-text = \lyrics {
- Aaa Bee Cee Dee
-}
-
-\score {
- <<
- \context Voice = one {
- \set Staff.autoBeaming = ##f
- \melody
- }
- \lyricsto "one" \new Lyrics \text
- >>
- \paper { }
- \midi { }
-}
+++ /dev/null
-\version "2.3.8"
-
-\header {
- texidoc = "Only a melody."
-}
-
-melody = \relative c' {
- a b c d
-}
-
-\score {
- \context Staff \melody
- \paper { }
- \midi { }
-}
+++ /dev/null
-
-\version "2.3.8"
-\header {
- texidoc ="Classical song format: one staff with melody and lyrics,
-and piano accompaniment."
-
-}
-
-melody = \relative c'' {
- a b c d
-}
-
-text = \lyrics {
- Aaa Bee Cee Dee
-}
-
-upper = \relative c'' {
- a b c d
-}
-
-lower = \relative c {
- a2 c
-}
-
-\score {
- <<
- \context Voice = mel {
- \autoBeamOff
- \melody
- }
- \lyricsto mel \new Lyrics \text
-
- \context PianoStaff <<
- \context Staff = upper \upper
- \context Staff = lower <<
- \clef bass
- \lower
- >>
- >>
- >>
- \paper {
- \context { \RemoveEmptyStaffContext }
- }
- \midi { }
-}
+++ /dev/null
-\version "2.3.8"
-
-\header {
- texidoc = "Simple piano music."
-}
-
-upper = \relative c'' {
- a b c d
-}
-
-lower = \relative c {
- a2 c
-}
-
-\score {
- \context PianoStaff <<
- \set PianoStaff.instrument = "Piano " % set instrument name.
- \context Staff = upper \upper
- \context Staff = lower <<
- \clef bass
- \lower
- >>
- >>
- \paper { }
- \midi { }
-}
+++ /dev/null
-\version "2.3.8"
-\header {
-
- texidoc = "
- Four-part (SATB) vocal score.
-"
-}
-
-sopMusic = \relative c'' { c4 c c8[( b)] c4 }
-sopWords = \lyrics { hi4 hi hi hi }
-
-altoMusic = \relative c' { e4 f d e }
-altoWords =\lyrics { ha4 ha ha ha }
-
-tenorMusic = \relative c' { g4 a f g }
-tenorWords = \lyrics { hu4 hu hu hu }
-
-bassMusic = \relative c { c4 c g c }
-bassWords = \lyrics { ho4 ho ho ho }
-
-\score {
- \context StaffGroup <<
- \context Lyrics = sopranos { s1 }
- \context Staff = women <<
- \context Voice = sopranos { \voiceOne \sopMusic }
- \context Voice = altos { \voiceTwo \altoMusic }
- >>
- \context Lyrics = altos { s1 }
- \context Lyrics = tenors { s1 }
- \context Staff = men <<
- \clef bass
- \context Voice = tenors { \voiceOne \tenorMusic }
- \context Voice = basses { \voiceTwo \bassMusic }
- >>
- \context Lyrics = basses { s1 }
-
-
- \context Lyrics = sopranos \lyricsto sopranos \sopWords
- \context Lyrics = altos \lyricsto altos \altoWords
- \context Lyrics = tenors \lyricsto tenors \tenorWords
- \context Lyrics = basses \lyricsto basses \bassWords
-
- >>
- \paper {
- \context {
-
- % a little smaller so lyrics can be closer to the staff.
- \Staff
- minimumVerticalExtent = #'(-3 . 3)
- }
- }
-}