view implementations/gsharp/classes.lisp @ 162:110e957a7e3c

Add get-composition methods for gsharp darcs-hash:20071218104432-40ec0-5fdd50a969609f1f50623d2c88a1746f391c984a.gz
author d.lewis <d.lewis@gold.ac.uk>
date Tue, 18 Dec 2007 10:44:32 +0000
parents fd85f52d9f9d
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"))