Mercurial > hg > amuse
view implementations/midi/constructors.lisp @ 257:30b6b848ec75
add comment explaining the linked events loop in %init-midifile-comp
author | Jamie Forth <j.forth@gold.ac.uk> |
---|---|
date | Thu, 24 Feb 2011 18:40:23 +0000 |
parents | bba5e8571b92 |
children |
line wrap: on
line source
(cl:in-package #:amuse-midi) (defun make-midifile-identifier (pathname) (make-instance 'midifile-identifier :path pathname)) (defun make-midi-pitched-event (pitch-number velocity patch channel track onset duration &optional composition) (make-instance 'midi-pitched-event :number pitch-number :velocity velocity :patch patch :channel channel :track track :time onset :interval duration :composition composition)) (defun make-midi-percussive-event (sound velocity patch channel track onset duration &optional composition) (make-instance 'midi-percussive-event :sound sound :velocity velocity :patch patch :channel channel :track track :time onset :interval duration :composition composition))