[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Blank bars for scribbling in
From: |
Schneidy |
Subject: |
Re: Blank bars for scribbling in |
Date: |
Sun, 24 Jan 2016 03:47:26 -0700 (MST) |
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.