[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Node:Thread, Next:, Previous:TabVoice, Up:Contexts



Thread

Handles note heads, and is contained in the Voice context. You have to instantiate this explicitly if you want to adjust the style of individual note heads.

This context creates the following grobs: Dots, Glissando, LigatureHead, NoteHead, Rest and VoiceFollower.

This context sets the following properties:

  • Set translator property localKeySignature to '()

This context is a `bottom' context; it can not contain other contexts.

This context is built from the following engravers:


Engraver_group_engraver
A group of engravers taken together
Output_property_engraver
Interpret Music of Output_property type, and apply a function to any Graphic objects that satisfies the predicate.

Music types accepted: layout-instruction

Note_head_line_engraver
Engrave a line between two note heads, for example a glissando. If followVoice is set, staff switches also generate a line.

Music types accepted: glissando-event

Properties (read)


followVoice (boolean)
if set, note heads are tracked across staff switches by a thin line
This engraver creates the following grobs: Glissando and VoiceFollower.
Rest_engraver

Music types accepted: rest-event

Properties (read)


centralCPosition (number)
Place of the central C, measured in half staffspaces. Usually determined by looking at clefPosition and clefGlyph.
This engraver creates the following grobs: Dots and Rest.
Note_heads_engraver
Generate noteheads (also serves a double functions: makes ligatures.

Music types accepted: abort-event, ligature-event, busy-playing-event and note-event

Properties (read)


centralCPosition (number)
Place of the central C, measured in half staffspaces. Usually determined by looking at clefPosition and clefGlyph.
This engraver creates the following grobs: Dots, LigatureHead and NoteHead.
Thread_devnull_engraver
Kill elements whenever we are Voice called `two' and either unison, unisilence or soloADue is set.1. This engraver works closely together with the part combiner. When the part combiner notices that two threads are identical, it tells the Thread_devnull_engraver to discard everything in the second thread.
Font_size_engraver
Puts fontSize into font-relative-size grob property.

Properties (read)


fontSize (integer)
Used to set the relative size of all grobs in a context. This is done using the Font_size_engraver.


Footnotes

  1. On unix systems, the file /dev/null is special device: anything written to it is discarded.


Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.