The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse by title Contributing Snippet database Browsing items 70−79 out of 943

Pitches entry 1

The notes are specified by the letters a through g. The octave is formed with notes ranging from c to b. The pitch c is an octave below middle C and the letters span the octave above that C.

Pitches entry 1

Pitches entry 2 - accidental signs

A sharp is formed by adding -is to the end of a pitch name and a flat is formed by adding -es. Double sharps and double flats are obtained by adding -isis or -eses. These names are the Dutch note names. In Dutch, aes is contracted to as, but both forms are accepted. Similarly, both es and ees are accepted.

Pitches entry 2 - accidental signs

Pitches entry 3 - octaves

The optional octave specification takes the form of a series of single quote (`'') characters or a series of comma (`,') characters. Each ' raises the pitch by one octave; each , lowers the pitch by an octave

Pitches entry 3 - octaves

Changing the appearance of forced, cautionary and suggested accidentals

Normally accidentals are printed automatically where needed, but it is also possible to force them to be printed. A reminder accidental can be forced by adding an exclamation mark after the pitch. A cautionary accidental (i.e. an accidental within parentheses) can be obtained by adding a question mark after the pitch.

The size of cautionary accidentals can be changed and the parentheses removed if required.

Suggested accidentals are a part of ancient music (known as annotational accidentals) and are printed above the note. Their size can also be changed and paretheses added if desired.

Changing the appearance of forced, cautionary and suggested accidentals

Microtones - quarter tones

Half-flats and half-sharps are formed by adding -eh and -ih; the following is a series of Cs with increasing pitches. Micro tones are also exported to the MIDI file. There are no generally accepted standards for denoting three quarter flats, so LilyPond's symbol does not conform to any standard.

Microtones - quarter tones

Chords entry - simultaneous notes

A chord is formed by a enclosing a set of pitches in < and >. A chord may be followed by a duration, and a set of articulations, just like simple notes

Chords entry - simultaneous notes

Adding rests

Rests are entered like notes, with the note name r, so just type r followed by the duration.

Adding rests

Rests vertical position

A rest's vertical position may be explicitly specified by entering a note with the \rest keyword appended, the rest will be placed at the note's place. This makes manual formatting in polyphonic music easier. Automatic rest collision formatting will leave these rests alone.

Rests vertical position

Skips

An invisible rest (also called a `skip') can be entered like a note with note name `s' or with \skip duration.

Skips

Skips in lyric mode

The s syntax for skips is only available in note mode and chord mode. In other situations, for example, when entering lyrics, using the \skip command is recommended.

Skips in lyric mode

⇦ Previous 1 2 3 4 5 6 7 8 9 10 Next ⇨