view implementations/mtp/constructors.lisp @ 108:b445959f4cc1

MIPS generic functions and methods for diatonic pitches Define and implement DIATONIC-PITCH-MP and DIATONIC-PITCH-CP for mips-pitches (soon to be diatonic-pitches). Supersedes MEREDITH-FOO darcs-hash:20070726131018-dc3a5-3421fb2c4beceae2370932768fefa1115050cfdd.gz
author c.rhodes <c.rhodes@gold.ac.uk>
date Thu, 26 Jul 2007 14:10:18 +0100
parents ce4a90427366
children
line wrap: on
line source
(cl:in-package #:amuse-mtp) 

(defun make-mtp-dataset-identifier (dataset-id)
  (make-instance 'mtp-dataset-identifier :dataset-id dataset-id))

(defun make-mtp-composition-identifier (dataset-id composition-id)
  (make-instance 'mtp-composition-identifier 
                 :dataset-id dataset-id :composition-id composition-id))

(defun make-mtp-dataset (&rest args)
  (apply #'make-instance 'mtp-dataset args))

(defun make-mtp-composition (&rest args) 
  (apply #'make-instance 'mtp-composition args))

(defun make-mtp-event (&rest args) 
  (apply #'make-instance 'mtp-event args))