view implementations/midi/constructors.lisp @ 55:ba65f66a713e

fix amuse-tabcode asd file darcs-hash:20070621121319-df18d-6acb5778101c57d511ab2189e00e55e713e896f6.gz
author csr21 <csr21@cantab.net>
date Thu, 21 Jun 2007 13:13:19 +0100
parents 5bec705db9d6
children 70c716a6eb72
line wrap: on
line source
(cl:in-package #:amuse-midi)

(defun make-midi-pitched-event (pitch-number velocity patch
				channel track onset duration)
  (make-instance 'midi-pitched-event
		 :number pitch-number
		 :velocity velocity
		 :patch patch
		 :channel channel
		 :track track
		 :time onset
		 :interval duration))

(defun make-midi-percussive-event (pitch-number velocity patch
				   channel track onset duration)
  (make-instance 'midi-percussive-event
		 :sound pitch-number
		 :velocity velocity
		 :patch patch
		 :channel channel
		 :track track
		 :time onset
		 :interval duration))