Mercurial > hg > amuse
view implementations/midi/constructors.lisp @ 130:b849c4fc4c26
implementation/midi and /geerdes: add midi-object and geerdes-object
darcs-hash:20070730164010-f76cc-baca3a289ca6c022c0085177d539e8c5c6fbea4e.gz
author | David Lewis <d.lewis@gold.ac.uk> |
---|---|
date | Mon, 30 Jul 2007 17:40:10 +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))