Mercurial > hg > amuse
view implementations/midi/constructors.lisp @ 40:5bec705db9d6
Move midi-key-signature from implementations/midi to base/
darcs-hash:20070606134940-aa3d6-69b8a531ef8ae393234d065ff6105ed9ecd18434.gz
author | m.pearce <m.pearce@gold.ac.uk> |
---|---|
date | Wed, 06 Jun 2007 14:49:40 +0100 |
parents | fe73cc3f1605 |
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))