annotate implementations/midi/constructors.lisp @ 330:2fbff655ba47
tip
Removed cpitch-adj and cents SQL columns
author |
Jeremy Gow <jeremy.gow@gmail.com> |
date |
Mon, 21 Jan 2013 11:08:11 +0000 |
parents |
819277b20b98 |
children |
|
rev |
line source |
m@25
|
1 (cl:in-package #:amuse-midi)
|
m@25
|
2
|
m@144
|
3 (defun make-midifile-identifier (pathname)
|
m@144
|
4 (make-instance 'midifile-identifier :path pathname))
|
m@144
|
5
|
m@25
|
6 (defun make-midi-pitched-event (pitch-number velocity patch
|
m@25
|
7 channel track onset duration)
|
j@308
|
8 "FIXME: This is never called."
|
m@25
|
9 (make-instance 'midi-pitched-event
|
m@25
|
10 :number pitch-number
|
m@25
|
11 :velocity velocity
|
m@25
|
12 :patch patch
|
m@25
|
13 :channel channel
|
m@25
|
14 :track track
|
m@25
|
15 :time onset
|
m@25
|
16 :interval duration))
|
m@25
|
17
|
m@25
|
18 (defun make-midi-percussive-event (pitch-number velocity patch
|
m@25
|
19 channel track onset duration)
|
j@308
|
20 "FIXME: This is never called."
|
m@25
|
21 (make-instance 'midi-percussive-event
|
m@25
|
22 :sound pitch-number
|
m@25
|
23 :velocity velocity
|
m@25
|
24 :patch patch
|
m@25
|
25 :channel channel
|
m@25
|
26 :track track
|
m@25
|
27 :time onset
|
m@25
|
28 :interval duration))
|
m@25
|
29
|
m@25
|
30
|