annotate implementations/midi-db/examples/example.lisp @ 330:2fbff655ba47
tip
Removed cpitch-adj and cents SQL columns
author |
Jeremy Gow <jeremy.gow@gmail.com> |
date |
Mon, 21 Jan 2013 11:08:11 +0000 |
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
|