add notes, and you're finished!
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
melody = \relative c' {
\clef treble
\key c \major
\score {
\new Staff \melody
\layout { }
- \midi {}
+ \midi { \tempo 4=60 }
}
@end lilypond
line.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
melody = \relative c' {
\clef treble
\key c \major
\new Lyrics \lyricsto "one" \text
>>
\layout { }
- \midi { }
+ \midi { \tempo 4=60 }
}
@end lilypond
Want to prepare a lead sheet with a melody and chords? Look no further!
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
melody = \relative c' {
\clef treble
\key c \major
>>
\layout{ }
- \midi { }
+ \midi { \tempo 4=60}
}
@end lilypond
This template allows you to prepare a song with melody, words, and chords.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
melody = \relative c' {
\clef treble
\key c \major
\new Lyrics \lyricsto "one" \text
>>
\layout { }
- \midi { }
+ \midi { \tempo 4=60 }
}
@end lilypond
Here is a simple piano staff.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
upper = \relative c'' {
\clef treble
\key c \major
\score {
\new PianoStaff <<
- \set PianoStaff.instrumentName = "Piano "
+ \set PianoStaff.instrument = "Piano "
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
\layout { }
- \midi { }
+ \midi { \tempo 4=60 }
}
@end lilypond
piano accompaniment underneath.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
melody = \relative c'' {
\clef treble
\key c \major
\layout {
\context { \RemoveEmptyStaffContext }
}
- \midi { }
+ \midi { \tempo 4=60 }
}
@end lilypond
the lyrics between the piano staff (and omit the separate melody staff).
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
upper = \relative c'' {
\clef treble
\key c \major
\context { \GrandStaff \accepts "Lyrics" }
\context { \Lyrics \consists "Bar_engraver" }
}
- \midi { }
+ \midi { \tempo 4=60 }
}
@end lilypond
tweaking yourself.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
upper = \relative c'' {
\clef treble
\key c \major
section for time and key signatures.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
global= {
\time 4/4
}
violinOne = \new Voice { \relative c''{
- \set Staff.instrumentName = "Violin 1 "
+ \set Staff.instrument = "Violin 1 "
c2 d e1
\bar "|." }}
violinTwo = \new Voice { \relative c''{
- \set Staff.instrumentName = "Violin 2 "
+ \set Staff.instrument = "Violin 2 "
g2 f e1
\bar "|." }}
viola = \new Voice { \relative c' {
- \set Staff.instrumentName = "Viola "
+ \set Staff.instrument = "Viola "
\clef alto
e2 d c1
\bar "|." }}
cello = \new Voice { \relative c' {
- \set Staff.instrumentName = "Cello "
+ \set Staff.instrument = "Cello "
\clef bass
c2 b a1
\new Staff << \global \cello >>
>>
\layout { }
- \midi { }
+ \midi { \tempo 4=60}
}
@end lilypond
@verbatim
%%%%% piece.ly
-\version "2.9.13"
+\version "2.7.39"
global= {
\time 4/4
}
Violinone = \new Voice { \relative c''{
- \set Staff.instrumentName = "Violin 1 "
+ \set Staff.instrument = "Violin 1 "
c2 d e1
\bar "|." }} %*********************************
Violintwo = \new Voice { \relative c''{
- \set Staff.instrumentName = "Violin 2 "
+ \set Staff.instrument = "Violin 2 "
g2 f e1
\bar "|." }} %*********************************
Viola = \new Voice { \relative c' {
- \set Staff.instrumentName = "Viola "
+ \set Staff.instrument = "Viola "
\clef alto
e2 d c1
\bar "|." }} %*********************************
Cello = \new Voice { \relative c' {
- \set Staff.instrumentName = "Cello "
+ \set Staff.instrument = "Cello "
\clef bass
c2 b a1
%%%%% score.ly
-\version "2.9.13"
+\version "2.7.39"
\include "piece.ly"
#(set-global-staff-size 14)
\score {
\new StaffGroup \keepWithTag #'score \music
\layout { }
- \midi { }
+ \midi { \tempo 4 = 60 }
}
%%%%% vn1.ly
-\version "2.9.13"
+\version "2.7.39"
\include "piece.ly"
\score {
\keepWithTag #'vn1 \music
%%%%% vn2.ly
-\version "2.9.13"
+\version "2.7.39"
\include "piece.ly"
\score {
\keepWithTag #'vn2 \music
%%%%% vla.ly
-\version "2.9.13"
+\version "2.7.39"
\include "piece.ly"
\score {
\keepWithTag #'vla \music
%%%%% vlc.ly
-\version "2.9.13"
+\version "2.7.39"
\include "piece.ly"
\score {
\keepWithTag #'vlc \music
always the same for all parts.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
global = {
\key c \major
\time 4/4
apply to the piano reduction.
@lilypond[quote,verbatim,ragged-right]
-\version "2.9.13"
+\version "2.7.39"
global = {
\key c \major
\time 4/4
staves rather than on the staves.
@lilypond[quote,verbatim,line-width=11.0\cm]
-\version "2.9.13"
+\version "2.7.39"
global = {
\set Score.skipBars = ##t
discantusNotes = {
\transpose c' c'' {
- \set Staff.instrumentName = "Discantus "
+ \set Staff.instrument = "Discantus "
% incipit
\clef "neomensural-c1"
altusNotes = {
\transpose c' c'' {
- \set Staff.instrumentName = "Altus "
+ \set Staff.instrument = "Altus "
% incipit
\clef "neomensural-c3"
tenorNotes = {
\transpose c' c' {
- \set Staff.instrumentName = "Tenor "
+ \set Staff.instrument = "Tenor "
% incipit
\clef "neomensural-c4"
bassusNotes = {
\transpose c' c' {
- \set Staff.instrumentName = "Bassus "
+ \set Staff.instrument = "Bassus "
% incipit
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
\include "gregorian-init.ly"
-\version "2.9.13"
+\version "2.8.0"
chant = \relative c' {
\set Score.timing = ##f
@c The `line-width' argument is for the \header.
@lilypond[quote,verbatim,ragged-right,line-width]
-\version "2.9.13"
+\version "2.7.39"
\header {
title = "Song"
subtitle = "(tune)"
}
trumpet = {
\global
- \set Staff.instrumentName = #"Trumpet"
+ \set Staff.instrument = #"Trumpet"
\clef treble
<<
\trpt
}
altosax = {
\global
- \set Staff.instrumentName = #"Alto Sax"
+ \set Staff.instrument = #"Alto Sax"
\clef treble
<<
\alto
}
barisax = {
\global
- \set Staff.instrumentName = #"Bari Sax"
+ \set Staff.instrument = #"Bari Sax"
\clef treble
<<
\bari
}
trombone = {
\global
- \set Staff.instrumentName = #"Trombone"
+ \set Staff.instrument = #"Trombone"
\clef bass
<<
\tbone
}
guitar = {
\global
- \set Staff.instrumentName = #"Guitar"
+ \set Staff.instrument = #"Guitar"
\clef treble
<<
\gtr
piano = {
<<
- \set PianoStaff.instrumentName = #"Piano"
+ \set PianoStaff.instrument = #"Piano"
\new Staff = "upper" \PianoRH
\new Staff = "lower" \PianoLH
>>
}
bass = {
\global
- \set Staff.instrumentName = #"Bass"
+ \set Staff.instrument = #"Bass"
\clef bass
<<
\Bass
drumContents = {
\global
<<
- \set DrumStaff.instrumentName = #"Drums"
+ \set DrumStaff.instrument = #"Drums"
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
}
}
- \midi { }
+ \midi { \tempo 4 = 75 }
}
@end lilypond
@ The `line-width' is for \header.
@li lypond[quote,verbatim,ragged-right,line-width]
-\version "2.9.13"
+\version "2.7.39"
\header {
dedication = "dedication"
title = "Title"