Mercurial > hg > amuse
comparison base/classes.lisp @ 44:085c1728480c
"Prefix initargs with colons."
darcs-hash:20070614160242-aa3d6-7f7722cbe2fec0425475a3f8ff3ce9eeb07bee54.gz
author | m.pearce <m.pearce@gold.ac.uk> |
---|---|
date | Thu, 14 Jun 2007 17:02:42 +0100 |
parents | 5bec705db9d6 |
children | cace0cf82aee |
comparison
equal
deleted
inserted
replaced
43:2fd7ebed5b87 | 44:085c1728480c |
---|---|
71 | 71 |
72 (defclass basic-key-signature (key-signature) | 72 (defclass basic-key-signature (key-signature) |
73 ;; Only has line-of-fifths distance from c, so custom signatures | 73 ;; Only has line-of-fifths distance from c, so custom signatures |
74 ;; won't work | 74 ;; won't work |
75 ((sharp-count :accessor %basic-key-signature-sharp-count | 75 ((sharp-count :accessor %basic-key-signature-sharp-count |
76 :initarg sharp-count))) | 76 :initarg :sharp-count))) |
77 | 77 |
78 (defclass midi-key-signature (basic-key-signature) | 78 (defclass midi-key-signature (basic-key-signature) |
79 ;; Is mode ever used in real life? Is it ever accurately used in | 79 ;; Is mode ever used in real life? Is it ever accurately used in |
80 ;; real life? | 80 ;; real life? |
81 ((mode :accessor %midi-key-signature-mode | 81 ((mode :accessor %midi-key-signature-mode |
82 :initarg mode))) | 82 :initarg :mode))) |
83 | 83 |
84 (defclass tempo (anchored-period) | 84 (defclass tempo (anchored-period) |
85 ;; accel and rit in symbolic encoding will need other structures, as | 85 ;; accel and rit in symbolic encoding will need other structures, as |
86 ;; will textual tempo markings. | 86 ;; will textual tempo markings. |
87 ((bpm :accessor %tempo-bpm | 87 ((bpm :accessor %tempo-bpm |