Mercurial > hg > amuse
view implementations/mtp/classes.lisp @ 79:dc01096751af
implementations/mtp: implement segmentation for mtp backend
darcs-hash:20070713163437-c0ce4-59959032c152aadf21232af08cf14b5efa062268.gz
author | Marcus Pearce <m.pearce@gold.ac.uk> |
---|---|
date | Fri, 13 Jul 2007 17:34:37 +0100 |
parents | ce4a90427366 |
children | 23c3be4c445f |
line wrap: on
line source
(cl:in-package #:amuse-mtp) (defclass mtp-after-segmenter (ground-truth-segmenter after-segmenter) ()) (defclass mtp-before-segmenter (ground-truth-segmenter before-segmenter) ()) (defclass mtp-dataset-identifier (identifier) ((dataset-id :initarg :dataset-id :accessor dataset-id))) (defclass mtp-composition-identifier (identifier) ((dataset-id :initarg :dataset-id :accessor dataset-id) (composition-id :initarg :composition-id :accessor composition-id))) (defclass mtp-dataset (amuse::list-slot-sequence) ((dataset-id :initarg :dataset-id :accessor dataset-id) (description :initarg :description :accessor description) (timebase :initarg :timebase :accessor dataset-timebase) (midc :initarg :midc :accessor dataset-midc))) (defclass mtp-composition (amuse:composition) ((dataset-id :initarg :dataset-id :accessor dataset-id) (composition-id :initarg :composition-id :accessor composition-id) (description :initarg :description :accessor description))) (defclass mtp-event (amuse:pitched-event) ((dataset-id :initarg :dataset-id :accessor dataset-id) (composition-id :initarg :composition-id :accessor composition-id) (event-id :initarg :event-id :accessor event-id) ;;(onset :initarg :onset :accessor %mtp-onset) - (amuse:timepoint ...) ;;(dur :initarg :dur :accessor %mtp-accidental) - (amuse:duration ...) (deltast :initarg :deltast :accessor %mtp-deltast) (cpitch :initarg :cpitch :accessor %mtp-cpitch) (mpitch :initarg :mpitch :accessor %mtp-mpitch) (accidental :initarg :accidental :accessor %mtp-accidental) (keysig :initarg :keysig :accessor %mtp-keysig) (mode :initarg :mode :accessor %mtp-mode) (barlength :initarg :barlength :accessor %mtp-barlength) (pulses :initarg :pulses :accessor %mtp-pulses) (phrase :initarg :phrase :accessor %mtp-phrase) (tempo :initarg :tempo :accessor %mtp-tempo) (dyn :initarg :dyn :accessor %mtp-dyn) (voice :initarg :voice :accessor %mtp-voice)))