annotate implementations/midi-db/examples/example.lisp @ 317:46dd71ef9ab3
Add some more midi setf methods.
Ignore-this: 2e61873995aee02ee7092e76cff9909b
darcs-hash:20100604153347-16a00-6c337a78b01a227049aaa1ce996da506d4951af1.gz
author |
j.forth <j.forth@gold.ac.uk> |
date |
Fri, 04 Jun 2010 16:33:47 +0100 |
parents |
f99fd6a7bbfc |
children |
6a3adca16910 |
rev |
line source |
j@310
|
1 (cl:in-package #:amuse-midi-db)
|
j@310
|
2
|
j@310
|
3 (connect-to-database :database-name "amuse")
|
j@310
|
4
|
j@310
|
5 (list-collections *package*)
|
j@310
|
6
|
j@310
|
7 (list-compositions *package*) ; FIXME: is it a good idea for this to
|
j@310
|
8 ; be general or not?
|
j@310
|
9
|
j@310
|
10 (list-collections *package* :compositions t) ; list both collections
|
j@310
|
11 ; and compositions
|
j@310
|
12
|
j@310
|
13 (defparameter *composition*
|
j@310
|
14 (get-composition (make-midi-db-composition-identifier 1)))
|
j@310
|
15
|