Next: , Previous: Blank music sheet, Up: Educational use



8.5.3 Hidden notes

Hidden (or invisible or transparent) notes can be useful in preparing theory or composition exercises.

     c4 d4
     \hideNotes
     e4 f4
     \unHideNotes
     g4 a

[image of music]

Hidden notes are also great for performing weird tricks. For example, slurs cannot be attached to rests or spacer rests, but you may wish to include that in your score – string instruments use this notation when doing pizzicato to indicate that the note should ring for as long as possible.

     \clef bass
     << {
       c4^"pizz"( \hideNotes c)
       \unHideNotes c( \hideNotes c)
     } {
       s4 r s r
     } >>

[image of music]

This page is for LilyPond-2.6.3 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.