Mercurial > hg > amuse
comparison implementations/mtp/classes.lisp @ 46:34fb42cba5b9
basic mtp amuse implementation
darcs-hash:20070615111202-aa3d6-498f4d035964f6f8e8803de9cbf6f50974affe88.gz
author | m.pearce <m.pearce@gold.ac.uk> |
---|---|
date | Fri, 15 Jun 2007 12:12:02 +0100 |
parents | |
children | ce4a90427366 |
comparison
equal
deleted
inserted
replaced
45:0f31919a855d | 46:34fb42cba5b9 |
---|---|
1 (cl:in-package #:amuse-mtp) | |
2 | |
3 (defclass mtp-composition-identifier (identifier) | |
4 ((dataset-id :initarg :dataset-id :accessor dataset-id) | |
5 (composition-id :initarg :composition-id :accessor composition-id))) | |
6 | |
7 (defclass mtp-composition (amuse:composition) | |
8 ((dataset-id :initarg :dataset-id :accessor dataset-id) | |
9 (composition-id :initarg :composition-id :accessor composition-id) | |
10 (description :initarg :description :accessor description))) | |
11 | |
12 (defclass mtp-event (amuse:pitched-event) | |
13 ((dataset-id :initarg :dataset-id :accessor dataset-id) | |
14 (composition-id :initarg :composition-id :accessor composition-id) | |
15 (event-id :initarg :event-id :accessor event-id) | |
16 ;;(onset :initarg :onset :accessor %mtp-onset) - (timepoint ...) | |
17 ;;(dur :initarg :dur :accessor %mtp-accidental) - (duration ...) | |
18 (deltast :initarg :deltast :accessor %mtp-deltast) | |
19 (cpitch :initarg :cpitch :accessor %mtp-cpitch) | |
20 (mpitch :initarg :mpitch :accessor %mtp-mpitch) | |
21 (accidental :initarg :accidental :accessor %mtp-accidental) | |
22 (keysig :initarg :keysig :accessor %mtp-keysig) | |
23 (mode :initarg :mode :accessor %mtp-mode) | |
24 (barlength :initarg :barlength :accessor %mtp-barlength) | |
25 (pulses :initarg :pulses :accessor %mtp-pulses) | |
26 (phrase :initarg :phrase :accessor %mtp-phrase) | |
27 (tempo :initarg :tempo :accessor %mtp-tempo) | |
28 (dyn :initarg :dyn :accessor %mtp-dyn) | |
29 (voice :initarg :voice :accessor %mtp-voice))) |