X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdrums.scm;h=9162e6821fe9457b1f43e2f5687c9db23cce033b;hb=3fa062e7d1030394256f6ad698942996fcc6afa1;hp=8c1a7efc8b2c6f514a0c792907e1ebc4a00d525b;hpb=2f8bac678c2220dab5342bc36acccb5b7c06ed36;p=lilypond.git diff --git a/scm/drums.scm b/scm/drums.scm index 8c1a7efc8b..9162e6821f 100644 --- a/scm/drums.scm +++ b/scm/drums.scm @@ -1,4 +1,4 @@ -;;;; 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 ;;;; changed eval to primitive-eval for guile 1.4/1.4.1 compatibility --jcn @@ -172,7 +172,7 @@ ;; 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)) ) @@ -254,7 +254,7 @@ (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) ) @@ -267,7 +267,7 @@ ;; 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))