comparison implementations/geerdes/methods.lisp @ 136:fd85f52d9f9d

Class revolution * PITCH-DESIGNATOR -> PITCH (PITCH removed) * MOMENT-DESIGNATOR -> MOMENT , MOMENT -> STANDARD-MOMENT * PERIOD-DESIGNATOR -> PERIOD , PERIOD -> STANDARD-PERIOD * ANCHORED-PERIOD-DESIGNATOR -> ANCHORED-PERIOD , ANCHORED-PERIOD -> STANDARD-ANCHORED-PERIOD * FLOATING-PERIOD removed * TIME-SIGNATURE-DESIGNATOR -> TIME-SIGNATURE & TIME-SIGNATURE-PERIOD * TIME-SIGNATURE -> STANDARD-TIME-SIGNATURE & STANDARD-TIME-SIGNATURE-PERIOD * KEY-SIGNATURE-DESIGNATOR -> KEY-SIGNATURE (& ...-PERIOD) * KEY-SIGNATURE -> STANDARD-KEY-SIGNATURE (& ...-PERIOD) * TEMPO now abstract (& TEMPO-PERIOD) * STANDARD-TEMPO AND STANDARD-TEMPO-PERIOD * COMPOSITION, CONSTITUENT & TIME-ORDERED-CONSTITUENT all have STANDARD- forms make-x methods and specialisers changes appropriately darcs-hash:20070831142943-f76cc-7be0d08963de06d87b36e4922076287d565c7ee2.gz
author David Lewis <d.lewis@gold.ac.uk>
date Fri, 31 Aug 2007 15:29:43 +0100
parents 188fe5ea837f
children ebfe054eea1c
comparison
equal deleted inserted replaced
135:188fe5ea837f 136:fd85f52d9f9d
148 (= (midi-channel event) 4)) 148 (= (midi-channel event) 4))
149 149
150 (defmethod crotchet ((object geerdes-object)) 150 (defmethod crotchet ((object geerdes-object))
151 (make-instance 'floating-period :interval 1)) 151 (make-instance 'floating-period :interval 1))
152 152
153 (defmethod get-applicable-time-signatures ((anchored-period anchored-period) (composition midi-composition)) 153 (defmethod get-applicable-time-signatures ((anchored-period anchored-period)
154 (composition midi-composition))
154 (%find-overlapping anchored-period (time-signatures composition))) 155 (%find-overlapping anchored-period (time-signatures composition)))
155 (defmethod get-applicable-tempi ((anchored-period anchored-period) (composition midi-composition)) 156 (defmethod get-applicable-tempi ((anchored-period anchored-period)
157 (composition midi-composition))
156 (%find-overlapping anchored-period (tempi composition))) 158 (%find-overlapping anchored-period (tempi composition)))
157 (defmethod get-applicable-key-signatures ((anchored-period anchored-period) (composition midi-composition)) 159 (defmethod get-applicable-key-signatures ((anchored-period anchored-period)
160 (composition midi-composition))
158 (%find-overlapping anchored-period (key-signatures composition))) 161 (%find-overlapping anchored-period (key-signatures composition)))
159 162
160 (defparameter *stuff* nil) 163 (defparameter *stuff* nil)
161 (defun %find-overlapping (period1 period-list) 164 (defun %find-overlapping (period1 period-list)
162 (let ((result-list)) 165 (let ((result-list))