Wiki » History » Version 2

Luis Figueira, 2011-05-13 12:57 PM
formatted correctly

1 1 Luis Figueira
h1. Wiki
2 1 Luis Figueira
3 1 Luis Figueira
4 2 Luis Figueira
h2. AudioDB as Software Sustainability Challenge Meeting Notes
5 1 Luis Figueira
6 1 Luis Figueira
People: Chris Cannam, Christophe Rhodes, Tim Crawford, Benjamin Fields, Luis Figueira
7 1 Luis Figueira
Where: QMUL, 11 May 2011
8 1 Luis Figueira
9 1 Luis Figueira
h3. Current state of AudioDB
10 1 Luis Figueira
11 1 Luis Figueira
* AudioDB is some way from being ready for general use; it may be classified as research-grade code.
12 1 Luis Figueira
* Christophe has some pending fixes which need to be committed to the new repository.
13 1 Luis Figueira
14 2 Luis Figueira
h3. What works/state of tools and documentation
15 1 Luis Figueira
16 2 Luis Figueira
* C API (Christophe)
17 2 Luis Figueira
** This is an acceptable design and working correctly
18 1 Luis Figueira
19 2 Luis Figueira
* Command-line interface (Christophe)
20 2 Luis Figueira
** Pre-dates the current C API.  Deprecated; should be redesigned
21 2 Luis Figueira
** Although designed as an introspection tool, it is now (sometimes) used to generate real results which involves taking output that was not intended to be parseable and parsing it using e.g. awk – this is extremely brittle
22 1 Luis Figueira
23 2 Luis Figueira
* Indexing code using locality-sensitive hashing (LSH) (Michael Casey)
24 2 Luis Figueira
** Implementation is hurried, provisional, unreliable
25 2 Luis Figueira
** Code is currently omitted entirely from our repository in order to avoid conflict with potential commercial applications
26 2 Luis Figueira
** Useful for large collections of songs (>1Million) but not typically necessary for small-collection use cases where an exhaustive search is practicable
27 1 Luis Figueira
28 2 Luis Figueira
* Unit tests (Christophe)
29 2 Luis Figueira
** Tests exist for most of the library API, and also covering the same ground with the command-line interface
30 1 Luis Figueira
31 2 Luis Figueira
* Language bindings
32 2 Luis Figueira
** Common Lisp (Christophe): complete, with unit tests
33 2 Luis Figueira
** Python (Ben): incomplete, with some unit tests
34 2 Luis Figueira
** pd (Ian Knopke, rewritten by Christophe): suspect
35 2 Luis Figueira
** Java (Mike Jewell): probably incomplete, some unit tests using JUnit
36 2 Luis Figueira
** ActionScript (Mike Jewell): probably incomplete
37 1 Luis Figueira
38 2 Luis Figueira
* Tools
39 2 Luis Figueira
** “Fake” RDF triple store that invents triples on the fly (Mike Jewell): working, with limitations
40 2 Luis Figueira
** Cocoa app (Mike Jewell, Ben): only example of an application that covers the complete range from low-level API to end-user interface; not a very pleasant interface however
41 2 Luis Figueira
** Demonstration Web interface using PHP and command line scripts: probably broken
42 2 Luis Figueira
** SOAP service (Michael Casey): deprecated and probably broken
43 1 Luis Figueira
44 2 Luis Figueira
* Feature extraction
45 2 Luis Figueira
** By far the most resource-intensive part of populating a database
46 2 Luis Figueira
** Recommended default method is to use Sonic Annotator with the NNLS Chroma plugin
47 2 Luis Figueira
** Shell script exists (populate.sh) to load databases from Sonic Annotator output
48 2 Luis Figueira
** Former audioDB feature extractor (fftExtract) is deprecated and broken
49 1 Luis Figueira
50 2 Luis Figueira
* Documentation
51 2 Luis Figueira
** Very little:
52 2 Luis Figueira
*** Obsolete database population tutorial: http://omras2.org/audioDB/tutorial1
53 2 Luis Figueira
*** Tiny and not very helpful query tutorial: http://omras2.org/audioDB/tutorial2
54 2 Luis Figueira
*** Not especially successful hip-hop example: http://omras2.org/audioDB/tutorial3
55 2 Luis Figueira
*** Man page included with software
56 2 Luis Figueira
*** Probably the best overview of the purpose and design of audioDB currently is in “Investigating Music Collections at Different Scales with AudioDB ” (Christophe Rhodes, Tim Crawford, Michael Casey, Mark d’Inverno, JNMR 2010).  A number of earlier publications also refer to audioDB
57 2 Luis Figueira
*** Christophe is working on a formal specification for the database semantics, but this is of little use to end users
58 1 Luis Figueira
59 2 Luis Figueira
* Database filesystem notes
60 2 Luis Figueira
** Currently the database is just one big sparse file
61 2 Luis Figueira
** Portability problems with this: for example, HFS+ (Mac default filesystem) doesn't support sparse files
62 2 Luis Figueira
** Also maintenance problems: database needs to be sized in advance and resized as needed, cannot just append data – this is certainly doable but is not very convenient
63 2 Luis Figueira
** Christophe would like to change this so as to have one file per column, append-only
64 1 Luis Figueira
65 2 Luis Figueira
h3.  Aspirational use cases
66 1 Luis Figueira
67 2 Luis Figueira
* Christophe: Intelligent classical music player – find examples of Bach reusing this particular theme
68 2 Luis Figueira
* Ben: Treating playlists (rather than songs) as sequences of features where social tags constitute a feature; he published on this in “Using Song Social Tags and Topic Models to Describe and Compare Playlists ” (WOMRAD 2010)
69 2 Luis Figueira
* Christophe: Observes that other Goldsmiths researchers are interested in treating multimedia data also (e.g. streetview-like scene data)
70 2 Luis Figueira
* Tim: Studying Wagner's use of leitmotif
71 2 Luis Figueira
* Tim: Live querying from musical input device
72 2 Luis Figueira
* Tim: Categorising musical samples for performance use
73 2 Luis Figueira
* Tim: Film music analysis – is all John Williams the same?
74 2 Luis Figueira
* Chris: Is the start of the old Red Dwarf opening credit a quote from Mahler or Bruckner, or does it just sound like one?
75 2 Luis Figueira
* Also noted: Not just music databases: bird songs, street sounds, etc
76 1 Luis Figueira
77 2 Luis Figueira
h3. Possible easy gains
78 1 Luis Figueira
79 2 Luis Figueira
(But for which target user?  Consumer-level or API-level?)
80 1 Luis Figueira
81 2 Luis Figueira
* Christophe: Suggests aiming at the Red Dwarf example, improve data load for a “standard” data set and query by example
82 2 Luis Figueira
* Ben: Build a standard database using either the Million-Song Dataset or the subset of it that was provided alongside it
83 2 Luis Figueira
84 2 Luis Figueira
h3. Next steps
85 2 Luis Figueira
86 2 Luis Figueira
* Christophe: Commit pending bug fixes to new repository
87 2 Luis Figueira
* Chris and Luis: Build the code and run the unit tests, possibly under coverage analysis
88 2 Luis Figueira
* Chris and Luis: Test and improve the Java and Python bindings
89 2 Luis Figueira
* Chris and Luis: Produce a more user-friendly import tool using the Python bindings (but still running Sonic Annotator behind the scenes)
90 1 Luis Figueira
91 1 Luis Figueira
Note: there's a project grant submission on indexing and PostgresSQL integration – so e.g. re-adding indexing is not currently a priority.