+2002-12-10 Rune Zedeler <rz@daimi.au.dk>
+
+ * scm/drums.scm : use 1.7.x names.
+
+ * input/regression/drums.ly : Don't use << chords >>
+
2002-12-10 Heikki Junes <hjunes@cc.hut.fi>
* lilypond-mode.el: tidy, add TODO
srcdir=`dirname $0`
-if [ stepmake/aclocal.m4 -nt aclocal.m4 ]; then
- echo "stepmake/aclocal.m4 is newer. Copying file."
- cp -f stepmake/aclocal.m4 aclocal.m4
-fi
-
if [ stepmake/autogen.sh -nt autogen.sh ]; then
echo "stepmake/autogen.sh is newer. Copying file."
cp -f stepmake/autogen.sh autogen.sh
% tests drum notation and midi-drums.
-% see ly/drumpitch.ly for list of instruments and paper-kits.
+% see ly/drumpitch-init.ly for list of instruments and paper-kits.
% scm/midi.scm for list of midi-drumkits.
\header {
-texidoc = "Drum notation, although kludgy, should work. "
+texidoc = "Drum notation, although kludgy, should work. Though, << chord >> does not work because the chords need to be split into threads."
}
\include "drumpitch-init.ly"
-\version "1.7.6"
+\version "1.7.9"
drh = \notes { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
-drl = \notes {\repeat "unfold" 3 {bd4 sn8 bd bd4 <<bd ss>>} bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
+drl = \notes {\repeat "unfold" 3 {bd4 sn8 bd bd4 < bd ss > } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
timb = \notes \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb}
\score { \repeat "volta" 2
-;;;; drum-"hack". See input/tricks/drums.ly and ly/drumpitch.ly
+;;;; drum-"hack". See input/regression/drums.ly and ly/drumpitch-init.ly
;;;; 2001/03/25 Rune Zedeler <rune@zedeler.dk>
;;;; changed eval to primitive-eval for guile 1.4/1.4.1 compatibility --jcn
;; adds the articulation script x to m if x is not #f.
(define (add-articulation-script m x)
(if x
- (if (and x (equal? (ly:music-name m) "Event_chord"))
+ (if (and x (equal? (ly:get-mus-property m 'name) 'EventChord))
(ly:set-mus-property! m 'elements
(cons (make-articulation-script x) (ly:get-mus-property m 'elements))
)
(cond ((eq? pitches '())
(begin
(ly:warn (string-append "Kit `" (symbol->string kit) "' doesn't contain drum `" n
- "'\nSee lily/drumpitch.ly for supported drums."))
+ "'\nSee ly/drumpitch-init.ly for supported drums."))
(cdar (primitive-eval kit))
))
((eq? n (caar pitches)) (cdar pitches) )
;; converts a midi-pitched (ly/drumpitch.ly) file to paper output.
(define-public ((drums->paper kit) music)
(begin
- (if (equal? (ly:music-name music) "Event_chord")
+ (if (equal? (ly:get-mus-property music 'name) 'EventChord)
(set! music (make-drum-head kit music))
(let* ((es (ly:get-mus-property music 'elements))
(e (ly:get-mus-property music 'element))