view implementations/gsharp/classes.lisp @ 163:83023a2668d2

Add constructors for gsharp identifiers darcs-hash:20071218120203-40ec0-dc2bf7d840f4459d4277b11a70b4b9895d0eaf7d.gz
author d.lewis <d.lewis@gold.ac.uk>
date Tue, 18 Dec 2007 12:02:03 +0000
parents 110e957a7e3c
children f1d0ea63581c
line wrap: on
line source
(cl:in-package "AMUSE-GSHARP")

(defclass gsharp-composition (amuse:standard-composition)
  ((buffer :initarg :buffer :reader buffer)
   (tempi :initarg :tempi :reader tempi)))

(defclass gsharp-pitched-event (standard-chromatic-pitched-event)
  ((note :initarg :note :reader note)
   (slice-index :initarg :slice-index)))

(defclass gsharp-identifier (identifier)
  ((pathname :initarg :path
             :reader %gsharp-identifier-pathname
	     :initform 'nil))
  (:documentation "Identifier for files that can be read in GSharp,
  containing pathname information"))

(defclass gsharp-gsh-identifier (gsharp-identifier)
  ()
  (:documentation "Identifier for .gsh files for gsharp"))

(defclass gsharp-mxml-identifier (gsharp-identifier)
  ()
  (:documentation "Identifier for MusicXML files for gsharp"))