annotate implementations/midi-db/examples/example.lisp @ 253:b5ffec94ae6d

some very sketchy Charm constituent code
author Jamie Forth <j.forth@gold.ac.uk>
date Thu, 24 Feb 2011 11:23:18 +0000
parents 6a3adca16910
children
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)))