;;;
;;; source file of the GNU LilyPond music typesetter
;;;
-;;; (c) 2000--2003 Jan Nieuwenhuizen <janneke@gnu.org>
+;;; (c) 2000--2004 Jan Nieuwenhuizen <janneke@gnu.org>
(entry (assoc inst instrument-names-alist))
)
(and entry (>= (cdr entry) 32768))
- )
-)
+ ))
+
(define-public (midi-program instrument)
"
returns the program of the instrument
;; urg: we should set this at start of track
(define-public dynamic-default-volume 0.71)
-(define-public (accidentals-in-key pitch-list)
+(define-public (alterations-in-key pitch-list)
"Count number of sharps minus number of flats"
- (apply + (map cdr pitch-list)))
+ (/ (apply + (map cdr pitch-list)) 2))