e.g. :

\version "2.19.35"

blankBar =
#(define-music-function (my-duration notes) (integer? ly:music?)
  #{
  \set Score.proportionalNotationDuration = #(ly:make-moment 1 my-duration)
  \hideNotes
  #notes
  \unHideNotes
  \unset Score.proportionalNotationDuration
#})

\relative {
  %% example 1
  c' d e f
  %% Notes are known but won't be shown
  \blankBar #64 { g a b c }
  c b a g
 
  %% example 2
  \break
  c d e f
  %% Unknown notes 
  \blankBar #1 { s1 }
  c4 b a g
} 

Cheers,
~Pierre



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Blank-bars-for-scribbling-in-tp186334p186337.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to