view implementations/midi-db/examples/example.lisp @ 267:89c20fd8abc0

make sure ioi-from-bar is normalised to crotchet duration
author Jamie Forth <j.forth@gold.ac.uk>
date Mon, 11 Apr 2011 12:14:49 +0100
parents 6a3adca16910
children
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)))