Mercurial > hg > amuse
comparison base/generics.lisp @ 67:8b31d54c95be
base/: {TIME-SIGNATURE,KEY-SIGNATURE,TEMPO}-EQUAL moved here from implementations/mtp/
darcs-hash:20070706093228-c0ce4-9ca0951f98303474fb5da95fc20ebdb2c3fa4db0.gz
author | Marcus Pearce <m.pearce@gold.ac.uk> |
---|---|
date | Fri, 06 Jul 2007 10:32:28 +0100 |
parents | 0f31919a855d |
children | 9960645779f0 |
comparison
equal
deleted
inserted
replaced
66:6c8fd815603e | 67:8b31d54c95be |
---|---|
219 ;;; Time Signature | 219 ;;; Time Signature |
220 | 220 |
221 (defgeneric get-applicable-time-signatures (anchored-period composition) | 221 (defgeneric get-applicable-time-signatures (anchored-period composition) |
222 (:method (ap c) (find-overlapping ap (time-signatures c)))) | 222 (:method (ap c) (find-overlapping ap (time-signatures c)))) |
223 | 223 |
224 (defgeneric time-signature-equal (ts1 ts2)) | |
225 | |
224 ;;; Tempo | 226 ;;; Tempo |
225 | 227 |
226 (defgeneric get-applicable-tempi (anchored-period composition) | 228 (defgeneric get-applicable-tempi (anchored-period composition) |
227 (:method (ap c) (find-overlapping ap (tempi c)))) | 229 (:method (ap c) (find-overlapping ap (tempi c)))) |
228 | 230 |
231 (defgeneric tempo-equal (t1 t2)) | |
232 | |
229 ;;; Tonality (Key Signature / Mode) | 233 ;;; Tonality (Key Signature / Mode) |
230 | 234 |
231 (defgeneric get-applicable-key-signatures (object1 object2)) | 235 (defgeneric get-applicable-key-signatures (object1 object2)) |
236 | |
237 (defgeneric key-signature-equal (ks1 ks2)) | |
232 | 238 |
233 ;;; Dynamics | 239 ;;; Dynamics |
234 ;;; Voice | 240 ;;; Voice |
235 ;;; Boundary Strength (phrasing) | 241 ;;; Boundary Strength (phrasing) |
236 | 242 |