#'break-visibility = #begin-of-line-invisible
\override Score.RehearsalMark #'self-alignment-X = #right
- \set Staff.instrument = \markup{ \column{ Alto solo } }
+ \set Staff.instrumentName = \markup{ \column{ Alto solo } }
c2^\markup{ don't be \flat }
\override TextSpanner #'edge-text = #(cons (markup #:italic "rit" ) "")
b2\startTextSpan
used, for the following ones, @code{instr} is used.
@lilypond[quote,verbatim,ragged-right,relative=1,fragment]
-\set Staff.instrument = "Ploink "
-\set Staff.instr = "Plk "
+\set Staff.instrumentName = "Ploink "
+\set Staff.shortInstrumentName = "Plk "
c1
\break
c''
names, for example
@lilypond[quote,fragment,verbatim,ragged-right]
-\set Staff.instrument = \markup {
+\set Staff.instrumentName = \markup {
\column { "Clarinetti"
\line { "in B" \smaller \flat } } }
c''1
@lilypond[quote,verbatim,ragged-right]
{ <<
\new Staff {
- \set Staff.instrument = \markup {
+ \set Staff.instrumentName = \markup {
\center-align { "Clarinetti"
\line { "in B" \smaller \flat } } }
c''1
}
\new Staff {
- \set Staff.instrument = \markup{ \center-align { Vibraphone }}
+ \set Staff.instrumentName = \markup{ \center-align { Vibraphone }}
c''1
}
>>
\new StaffGroup \relative
<<
\new Staff {
- \set Staff.instrument
- = \markup { \hcenter-in #10 "blabla" }
+ \set Staff.instrumentName = \markup { \hcenter-in #10 "blabla" }
c1 c1
}
\new Staff {
- \set Staff.instrument
- = \markup { \hcenter-in #10 "blo" }
+ \set Staff.instrumentName = \markup { \hcenter-in #10 "blo" }
c1 c1
}
>>
@lilypond[quote,ragged-right,verbatim]
{
\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
- \set Staff.instrument = \markup {
+ \set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
\time 2/4
add notes, and you're finished!
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
melody = \relative c' {
\clef treble
\key c \major
line.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
melody = \relative c' {
\clef treble
\key c \major
Want to prepare a lead sheet with a melody and chords? Look no further!
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
melody = \relative c' {
\clef treble
\key c \major
This template allows you to prepare a song with melody, words, and chords.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
melody = \relative c' {
\clef treble
\key c \major
Here is a simple piano staff.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
upper = \relative c'' {
\clef treble
\key c \major
\score {
\new PianoStaff <<
- \set PianoStaff.instrument = "Piano "
+ \set PianoStaff.instrumentName = "Piano "
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
piano accompaniment underneath.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
melody = \relative c'' {
\clef treble
\key c \major
the lyrics between the piano staff (and omit the separate melody staff).
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
upper = \relative c'' {
\clef treble
\key c \major
tweaking yourself.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
upper = \relative c'' {
\clef treble
\key c \major
section for time and key signatures.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
global= {
\time 4/4
}
violinOne = \new Voice { \relative c''{
- \set Staff.instrument = "Violin 1 "
+ \set Staff.instrumentName = "Violin 1 "
c2 d e1
\bar "|." }}
violinTwo = \new Voice { \relative c''{
- \set Staff.instrument = "Violin 2 "
+ \set Staff.instrumentName = "Violin 2 "
g2 f e1
\bar "|." }}
viola = \new Voice { \relative c' {
- \set Staff.instrument = "Viola "
+ \set Staff.instrumentName = "Viola "
\clef alto
e2 d c1
\bar "|." }}
cello = \new Voice { \relative c' {
- \set Staff.instrument = "Cello "
+ \set Staff.instrumentName = "Cello "
\clef bass
c2 b a1
@verbatim
%%%%% piece.ly
-\version "2.7.39"
+\version "2.9.13"
global= {
\time 4/4
}
Violinone = \new Voice { \relative c''{
- \set Staff.instrument = "Violin 1 "
+ \set Staff.instrumentName = "Violin 1 "
c2 d e1
\bar "|." }} %*********************************
Violintwo = \new Voice { \relative c''{
- \set Staff.instrument = "Violin 2 "
+ \set Staff.instrumentName = "Violin 2 "
g2 f e1
\bar "|." }} %*********************************
Viola = \new Voice { \relative c' {
- \set Staff.instrument = "Viola "
+ \set Staff.instrumentName = "Viola "
\clef alto
e2 d c1
\bar "|." }} %*********************************
Cello = \new Voice { \relative c' {
- \set Staff.instrument = "Cello "
+ \set Staff.instrumentName = "Cello "
\clef bass
c2 b a1
%%%%% score.ly
-\version "2.7.39"
+\version "2.9.13"
\include "piece.ly"
#(set-global-staff-size 14)
\score {
%%%%% vn1.ly
-\version "2.7.39"
+\version "2.9.13"
\include "piece.ly"
\score {
\keepWithTag #'vn1 \music
%%%%% vn2.ly
-\version "2.7.39"
+\version "2.9.13"
\include "piece.ly"
\score {
\keepWithTag #'vn2 \music
%%%%% vla.ly
-\version "2.7.39"
+\version "2.9.13"
\include "piece.ly"
\score {
\keepWithTag #'vla \music
%%%%% vlc.ly
-\version "2.7.39"
+\version "2.9.13"
\include "piece.ly"
\score {
\keepWithTag #'vlc \music
always the same for all parts.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
global = {
\key c \major
\time 4/4
apply to the piano reduction.
@lilypond[quote,verbatim,ragged-right]
-\version "2.7.39"
+\version "2.9.13"
global = {
\key c \major
\time 4/4
staves rather than on the staves.
@lilypond[quote,verbatim,line-width=11.0\cm]
-\version "2.7.39"
+\version "2.9.13"
global = {
\set Score.skipBars = ##t
discantusNotes = {
\transpose c' c'' {
- \set Staff.instrument = "Discantus "
+ \set Staff.instrumentName = "Discantus "
% incipit
\clef "neomensural-c1"
altusNotes = {
\transpose c' c'' {
- \set Staff.instrument = "Altus "
+ \set Staff.instrumentName = "Altus "
% incipit
\clef "neomensural-c3"
tenorNotes = {
\transpose c' c' {
- \set Staff.instrument = "Tenor "
+ \set Staff.instrumentName = "Tenor "
% incipit
\clef "neomensural-c4"
bassusNotes = {
\transpose c' c' {
- \set Staff.instrument = "Bassus "
+ \set Staff.instrumentName = "Bassus "
% incipit
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
\include "gregorian-init.ly"
-\version "2.8.0"
+\version "2.9.13"
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.7.39"
+\version "2.9.13"
\header {
title = "Song"
subtitle = "(tune)"
}
trumpet = {
\global
- \set Staff.instrument = #"Trumpet"
+ \set Staff.instrumentName = #"Trumpet"
\clef treble
<<
\trpt
}
altosax = {
\global
- \set Staff.instrument = #"Alto Sax"
+ \set Staff.instrumentName = #"Alto Sax"
\clef treble
<<
\alto
}
barisax = {
\global
- \set Staff.instrument = #"Bari Sax"
+ \set Staff.instrumentName = #"Bari Sax"
\clef treble
<<
\bari
}
trombone = {
\global
- \set Staff.instrument = #"Trombone"
+ \set Staff.instrumentName = #"Trombone"
\clef bass
<<
\tbone
}
guitar = {
\global
- \set Staff.instrument = #"Guitar"
+ \set Staff.instrumentName = #"Guitar"
\clef treble
<<
\gtr
piano = {
<<
- \set PianoStaff.instrument = #"Piano"
+ \set PianoStaff.instrumentName = #"Piano"
\new Staff = "upper" \PianoRH
\new Staff = "lower" \PianoLH
>>
}
bass = {
\global
- \set Staff.instrument = #"Bass"
+ \set Staff.instrumentName = #"Bass"
\clef bass
<<
\Bass
drumContents = {
\global
<<
- \set DrumStaff.instrument = #"Drums"
+ \set DrumStaff.instrumentName = #"Drums"
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
@ The `line-width' is for \header.
@li lypond[quote,verbatim,ragged-right,line-width]
-\version "2.7.39"
+\version "2.9.13"
\header {
dedication = "dedication"
title = "Title"