annotate implementations/meredith/classes.lisp @ 330:2fbff655ba47 tip

Removed cpitch-adj and cents SQL columns
author Jeremy Gow <jeremy.gow@gmail.com>
date Mon, 21 Jan 2013 11:08:11 +0000
parents f5734df598f4
children
rev   line source
j@286 1 (cl:in-package #:amuse-meredith)
j@286 2
j@286 3 ;;; Top-level class
j@286 4
j@286 5 (defclass meredith-data-object (amuse:amuse-object) ())
j@286 6
j@286 7 ;;; Identifiers
j@286 8
j@286 9 (defclass meredith-identifier (meredith-data-object) ())
j@286 10
j@286 11 (defclass meredith-composition-identifier (composition-identifier
j@286 12 meredith-identifier)
j@286 13 ((composition-id
j@286 14 :initarg :composition-id
j@286 15 :reader composition-id)))
j@286 16
j@286 17 (defclass meredith-event-identifier (event-identifier
j@286 18 meredith-identifier)
j@286 19 ((event-id :initarg :event-id
j@286 20 :reader event-id)))
j@286 21
j@286 22 ;;; Music objects
j@286 23
j@286 24 (defclass meredith-music-object (meredith-data-object) ())
j@286 25
j@286 26 (defclass meredith-composition (amuse:standard-composition
j@286 27 meredith-music-object)
j@286 28 ((identifier :initarg :identifier :reader identifier)
j@286 29 (description :initarg :description :reader description)))
j@286 30
j@286 31 (defclass meredith-event (amuse:chromatic-pitched-event
j@286 32 amuse:diatonic-pitched-event
j@286 33 amuse:standard-anchored-period
j@299 34 amuse:linked-event
j@286 35 meredith-music-object)
j@286 36 ((identifier :initarg :identifier :accessor identifier)
j@286 37 (tatum-on :initarg :tatum-on :accessor tatum-on)
j@286 38 (tatum-dur :initarg :tatum-dur :accessor tatum-dur)
j@286 39 (tactus-on :initarg :tactus-on :accessor tactus-on)
j@286 40 (tactus-dur :initarg :tactus-dur :accessor tactus-dur)
j@286 41 (tatum-on-ms :initarg :tatum-on-ms :accessor tatum-on-ms)
j@286 42 (tatum-dur-ms :initarg :tatum-dur-ms :accessor tatum-dur-ms)
j@286 43 (beat-on-ms :initarg :beat-on-ms :accessor beat-on-ms)
j@286 44 (beat-dur-ms :initarg :beat-dur-ms :accessor beat-dur-ms)
j@286 45 (crot-on-ms :initarg :crot-on-ms :accessor crot-on-ms)
j@286 46 (crot-dur-ms :initarg :crot-dur-ms :accessor crot-dur-ms)
j@286 47 (pitch-name :initarg :pitch-name :accessor pitch-name)
j@286 48 (voice :initarg :voice :accessor voice)))
j@286 49
j@286 50