Mercurial > hg > amuse
view implementations/midi/constructors.lisp @ 128:46c2ea86650f
implementations/mtp/: add mtp-music-object
darcs-hash:20070730142311-c0ce4-739cab39d35e6b8e480c67aef8f9469727d089ab.gz
author | Marcus Pearce <m.pearce@gold.ac.uk> |
---|---|
date | Mon, 30 Jul 2007 15:23:11 +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))