annotate implementations/midi-db/examples/example.lisp @ 318:c4e792b9b898

Add some ideas for charm constituents. Not particularly useful in its own right, but contains some possibly useful ideas related to the generalisation of db-compositions.
author Jamie Forth <j.forth@gold.ac.uk>
date Thu, 30 Sep 2010 15:35:15 +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