[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replace dot symbol?
From: |
Paul Morris |
Subject: |
Re: Replace dot symbol? |
Date: |
Sun, 16 Mar 2014 14:00:41 -0700 (PDT) |
David Stephen Grant wrote
> Ideally I'd like to be able to append something other than . to a
> duration,
> that would then automatically assign the correct duration value to the
> note, and change the dot symbol.
Hello, the next step would be to put your solution in a music function as
shown below. Then you would just add \crs (or whatever you called your
fuction) before any dotted note you wanted to make a "crossed" note. Pretty
close to your ideal scenario, but not all the way.
HTH,
-Paul
\version "2.18.0"
crs =
#(define-music-function
(parser location note)
(ly:music?)
#{
\once \override Dots #'stencil = #ly:text-interface::print
\once \override Dots #'text = \markup {
\halign #-2
\abs-fontsize #6
\musicglyph #"noteheads.s2cross"
}
\scaleDurations 5/6 { #note }
#})
\relative c' {
<<
\new Staff {
c4 c16 a a8 a2 a1
}
\new Staff {
\crs c4.
a16
a8 a2 a1
}
\new Staff {
c4.
a8 a2 a1
}
>>
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Replace-dot-symbol-tp160473p160477.html
Sent from the User mailing list archive at Nabble.com.
- Replace dot symbol?, David Stephen Grant, 2014/03/16
- Re: Replace dot symbol?,
Paul Morris <=
- Message not available
- Fwd: Replace dot symbol?, David Stephen Grant, 2014/03/16
- Re: Fwd: Replace dot symbol?, Paul Morris, 2014/03/16
- Re: Fwd: Replace dot symbol?, Simon Albrecht, 2014/03/16
- Re: Fwd: Replace dot symbol?, Paul Morris, 2014/03/16
- Re: Fwd: Replace dot symbol?, Marc Hohl, 2014/03/17