Mercurial > hg > amuse
view implementations/mtp/classes.lisp @ 108:b445959f4cc1
MIPS generic functions and methods for diatonic pitches
Define and implement DIATONIC-PITCH-MP and DIATONIC-PITCH-CP for mips-pitches
(soon to be diatonic-pitches). Supersedes MEREDITH-FOO
darcs-hash:20070726131018-dc3a5-3421fb2c4beceae2370932768fefa1115050cfdd.gz
author | c.rhodes <c.rhodes@gold.ac.uk> |
---|---|
date | Thu, 26 Jul 2007 14:10:18 +0100 |
parents | 23c3be4c445f |
children | dc862a0c7b9c |
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-monody (amuse:monody mtp-composition) ()) (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)))