lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: It is possible to add the note name below the note symbol ?


From: Glen Larsen
Subject: Re: It is possible to add the note name below the note symbol ?
Date: Wed, 28 Dec 2011 15:25:01 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 12/28/2011 10:57 AM, Dimitrios Glentadakis wrote:
Ok i add this in each header of each instrument and it shows the notes names

How can i use the snippets repository? I did nt understand what to do with eg 
the:

scale = \relative c' {
   a4 b c d
   e4 f g a
}

\new Staff {
   <<
     \scale
     \context NoteNames {
       \set printOctaveNames = ##f
       \scale
     }
   >>
   R1
   <<
     \scale
     \context NoteNames {
       \set printOctaveNames = ##t
       \scale
     }
   >>
}


from :
http://lsr.dsi.unimi.it/LSR/Item?id=672

Dimitrios,

You need reference material for Lilypond:

Lilypond web site: http://lilypond.org/website/index.html
Lilypond Snippets Repository (LSR): http://lsr.dsi.unimi.it/

The Lilypond site has links to a nice learning, reference, and internals manual.

The LSR is a searchable collection of short but complete examples. In the example above,

- a short macro called 'scale' is defined to be a series of notes.
- a Staff is created in (default 4/4 time) containing,
    * 2 measures containing the notes (executing the macro \scale)
* the NoteNames context is then used to add note names to that scale without the octave names
    * a full measure rest of one measure (R1)
    * 2 more measures with the octave names

Frescobaldi is a constructive piece of software that integrates Lilypond with tools like a context-sensitive editor, PDF viewer, log viewer, midi player, etc. It will help you write Lilypond and may shorten your learning curve of Lilypond somewhat but, like any powerful typesetting language, it requires you to learn the language.

-glen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]