[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:Automatic note splitting, Next:, Previous:Ties, Up:Note entry



Automatic note splitting

LilyPond can automatically converting long notes to tied notes. This is done by replacing the Note_heads_engraver by the Completion_heads_engraver.

     \score{
       \notes\relative c'{ \time 2/4
       c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2
       }
       \paper{ \translator{
           \ThreadContext
           \remove "Note_heads_engraver"
           \consists "Completion_heads_engraver"
       } } }
     

[picture of music]

This engraver splits all running notes at the bar line, and inserts ties. One of its uses is to debug complex scores: if the measures are not entirely filled, then the ties exactly show how much each measure is off.

BUGS

Not all durations (especially those containing tuplets) can be represented exactly; the engraver will not insert tuplets.

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.