Mercurial > hg > amuse
view implementations/midi/constructors.lisp @ 162:110e957a7e3c
Add get-composition methods for gsharp
darcs-hash:20071218104432-40ec0-5fdd50a969609f1f50623d2c88a1746f391c984a.gz
author | d.lewis <d.lewis@gold.ac.uk> |
---|---|
date | Tue, 18 Dec 2007 10:44:32 +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))