view implementations/midi-db/examples/example.lisp @ 326:5271a0aa06d6

Add extra event slots for articulation, commas and ornaments to amuse-mtp.
author Marcus Pearce <marcus.pearce@eecs.qmul.ac.uk>
date Fri, 27 Apr 2012 10:27:57 +0100
parents f99fd6a7bbfc
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)))