Mercurial > hg > amuse
view implementations/midi-db/examples/example.lisp @ 242:66f9c2913ac7
twiddle midi-db import example
Ignore-this: cf975529b1d8ad8af507e7dd2144ccea
darcs-hash:20100416180846-16a00-a91855cc12370a9198448353f4438647d4cdfdae.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 |
line wrap: on
line source
(cl:in-package #:amuse-midi-db) (connect-to-database :database-name "amuse") (list-collections *package*) (list-compositions *package*) ; FIXME: is it a good idea for this to ; be general or not? (list-collections *package* :compositions t) ; list both collections ; and compositions (defparameter *composition* (get-composition (make-midi-db-composition-identifier 1)))