Mercurial > hg > amuse
view implementations/midi/constructors.lisp @ 163:83023a2668d2
Add constructors for gsharp identifiers
darcs-hash:20071218120203-40ec0-dc2bf7d840f4459d4277b11a70b4b9895d0eaf7d.gz
author | d.lewis <d.lewis@gold.ac.uk> |
---|---|
date | Tue, 18 Dec 2007 12:02:03 +0000 |
parents | 70c716a6eb72 |
children | 1f3873585a5d 819277b20b98 |
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) (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))