Mercurial > hg > amuse
comparison implementations/midi/classes.lisp @ 25:fe73cc3f1605
implementations/midi: move MIDI implementation to subdirectory.
darcs-hash:20061215162417-aa3d6-164486669cc7e76206afd76f5c9cdd4fb2ba5b75.gz
author | m.pearce <m.pearce@gold.ac.uk> |
---|---|
date | Fri, 15 Dec 2006 16:24:17 +0000 |
parents | |
children | 5e705b6f94b6 |
comparison
equal
deleted
inserted
replaced
24:8d2b1662f658 | 25:fe73cc3f1605 |
---|---|
1 (cl:in-package #:amuse-midi) | |
2 | |
3 (defclass midi-message () ;? | |
4 ((channel :accessor %midi-message-channel :initarg :channel) | |
5 (track :accessor %midi-message-track :initarg :track))) | |
6 | |
7 (defclass midi-pitched-event (chromatic-pitched-event midi-message) | |
8 ((velocity :initarg :velocity) | |
9 (patch :initarg :patch))) | |
10 | |
11 (defclass midi-percussive-event (percussive-event midi-message) | |
12 ((velocity :initarg :velocity) | |
13 (patch :initarg :patch) | |
14 (sound :initarg :sound))) | |
15 | |
16 (defclass midi-key-signature (basic-key-signature) | |
17 ;; Is mode ever used in real life? Is it ever accurately used in | |
18 ;; real life? | |
19 ((mode :accessor %midi-key-signature-mode | |
20 :initarg mode))) |