A note is printed by specifying its pitch and then its duration.
What's this? Searching the LSR Browse by date Contributing Snippet database | Browsing items 40−49 out of 924 |
The syntax is : \addNote \melody \newNotes
Here :
melody = \relative {c'4.-> d8-. c4(\p b8) r c4\f c c2}
newnotes = {e f e d e s e}
Note that with this function, you can easily create some other useful functions. For example, a function \doubleOctave is shown here. This doubles each note with the note an octave higher.
\cueWhile
takes four arguments: the music from which the cue
is to be taken, as defined by \addQuote
, the name to be
inserted before the cue notes, then either #UP
or #DOWN
to specify either \voiceOne
with the name above the staff or
\voiceTwo
with the name below the staff, and finally the piano
music in parallel with which the cue notes are to appear. The name
of the cued instrument is positioned to the left of the cued notes.
Many passages can be cued, but they cannot overlap each other in time.
There are a couple ways to get the current date in your score - using Scheme and a header that suits you (as you may find in the Adding the current date to a score
example), or placing the same Scheme code in a \markup
block.
One more option is to place the date in the tagline. This places the date at the bottom of the last page and appears like this -
Engraved on April 26, 2009 with Lilypond 2.12.2 (http://lilypond.org)
The format of the date can be changed according to these parameters: