annotate implementations/midi-db/examples/example.lisp @ 245:70969555ca07
Twiddle comment separators.
Ignore-this: ff8dea522834ce66c6b0aee3bc54dd27
darcs-hash:20100604153923-16a00-029be21bba10fa97e77a694aec54086cc27003e8.gz
committer: Jamie Forth <j.forth@gold.ac.uk>
author |
j.forth <j.forth@gold.ac.uk> |
date |
Thu, 24 Feb 2011 11:23:18 +0000 |
parents |
a5d065905f6d |
children |
6a3adca16910 |
rev |
line source |
j@236
|
1 (cl:in-package #:amuse-midi-db)
|
j@236
|
2
|
j@236
|
3 (connect-to-database :database-name "amuse")
|
j@236
|
4
|
j@236
|
5 (list-collections *package*)
|
j@236
|
6
|
j@236
|
7 (list-compositions *package*) ; FIXME: is it a good idea for this to
|
j@236
|
8 ; be general or not?
|
j@236
|
9
|
j@236
|
10 (list-collections *package* :compositions t) ; list both collections
|
j@236
|
11 ; and compositions
|
j@236
|
12
|
j@236
|
13 (defparameter *composition*
|
j@236
|
14 (get-composition (make-midi-db-composition-identifier 1)))
|
j@236
|
15
|