Mercurial > hg > amuse
view implementations/midi/classes.lisp @ 87:19a263fb92d1
implementations/mtp/: faster implementations of GET-COMPOSITION and GET-DATASET
darcs-hash:20070718151258-c0ce4-6431a2c8e4939fefeb0c7d6c9e2aa91d9474c232.gz
author | Marcus Pearce <m.pearce@gold.ac.uk> |
---|---|
date | Wed, 18 Jul 2007 16:12:58 +0100 |
parents | 5bec705db9d6 |
children | cf198383852d |
line wrap: on
line source
(cl:in-package #:amuse-midi) (defclass midi-composition (amuse:composition) ((time-signatures :initarg :time-signatures :initform 'nil :accessor %midi-time-signatures) (tempi :initarg :tempi :initform 'nil :accessor %midi-tempi) (misc-controllers :initarg :controllers :initform 'nil :accessor %midi-misc-controllers))) (defclass midi-message () ;? ((channel :accessor %midi-message-channel :initarg :channel) (track :accessor %midi-message-track :initarg :track))) (defclass midi-pitched-event (chromatic-pitched-event midi-message) ((velocity :initarg :velocity :accessor %midi-pitched-event-velocity) (patch :initarg :patch :accessor %midi-pitched-event-patch))) (defclass midi-percussive-event (percussive-event midi-message) ((velocity :initarg :velocity :accessor %midi-percussive-event-velocity) (patch :initarg :patch :accessor %midi-percussive-event-patch) (sound :initarg :sound :accessor %midi-percussive-event-sound)))