annotate implementations/gsharp/classes.lisp @ 296:68aadc4eb96d
add chromatic-pitch reader method
Ignore-this: 1aba35b7d196e0994a817609337746e1
darcs-hash:20090828145217-16a00-312e63170f50f0bf2834b8959a72e5c857cba9b8.gz
author |
j.forth <j.forth@gold.ac.uk> |
date |
Fri, 28 Aug 2009 15:52:17 +0100 |
parents |
4a0e15e2829a |
children |
22ac5ec1733c |
rev |
line source |
csr21@59
|
1 (cl:in-package "AMUSE-GSHARP")
|
csr21@59
|
2
|
d@168
|
3 (defclass gsharp-object ()())
|
d@168
|
4
|
d@168
|
5 (defclass gsharp-composition (amuse:standard-composition gsharp-object)
|
csr21@59
|
6 ((buffer :initarg :buffer :reader buffer)
|
csr21@59
|
7 (tempi :initarg :tempi :reader tempi)))
|
csr21@59
|
8
|
d@168
|
9 (defclass gsharp-pitched-event (standard-chromatic-pitched-event gsharp-object)
|
c@61
|
10 ((note :initarg :note :reader note)
|
c@61
|
11 (slice-index :initarg :slice-index)))
|
d@162
|
12
|
d@169
|
13 (defclass gsharp-identifier (composition-identifier gsharp-object)
|
d@162
|
14 ((pathname :initarg :path
|
d@162
|
15 :reader %gsharp-identifier-pathname
|
d@162
|
16 :initform 'nil))
|
d@162
|
17 (:documentation "Identifier for files that can be read in GSharp,
|
d@162
|
18 containing pathname information"))
|
d@162
|
19
|
d@162
|
20 (defclass gsharp-gsh-identifier (gsharp-identifier)
|
d@162
|
21 ()
|
d@162
|
22 (:documentation "Identifier for .gsh files for gsharp"))
|
d@162
|
23
|
d@162
|
24 (defclass gsharp-mxml-identifier (gsharp-identifier)
|
d@162
|
25 ()
|
d@162
|
26 (:documentation "Identifier for MusicXML files for gsharp"))
|
d@162
|
27
|