Wiki » History » Version 4

Luis Figueira, 2011-11-24 11:56 AM
added meeting link

1 1 Luis Figueira
h1. Wiki
2 1 Luis Figueira
3 4 Luis Figueira
h2. Meetings 
4 4 Luis Figueira
5 4 Luis Figueira
* [[MeetingQMUL11May2011|AudioDB Meeting 11/05/2011]]
6 1 Luis Figueira
7 2 Luis Figueira
h2. AudioDB as Software Sustainability Challenge Meeting Notes
8 1 Luis Figueira
9 1 Luis Figueira
People: Chris Cannam, Christophe Rhodes, Tim Crawford, Benjamin Fields, Luis Figueira
10 1 Luis Figueira
Where: QMUL, 11 May 2011
11 1 Luis Figueira
12 1 Luis Figueira
h3. Current state of AudioDB
13 1 Luis Figueira
14 1 Luis Figueira
* AudioDB is some way from being ready for general use; it may be classified as research-grade code.
15 1 Luis Figueira
* Christophe has some pending fixes which need to be committed to the new repository.
16 1 Luis Figueira
17 2 Luis Figueira
h3. What works/state of tools and documentation
18 1 Luis Figueira
19 2 Luis Figueira
* C API (Christophe)
20 2 Luis Figueira
** This is an acceptable design and working correctly
21 1 Luis Figueira
22 2 Luis Figueira
* Command-line interface (Christophe)
23 2 Luis Figueira
** Pre-dates the current C API.  Deprecated; should be redesigned
24 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
25 1 Luis Figueira
26 2 Luis Figueira
* Indexing code using locality-sensitive hashing (LSH) (Michael Casey)
27 2 Luis Figueira
** Implementation is hurried, provisional, unreliable
28 2 Luis Figueira
** Code is currently omitted entirely from our repository in order to avoid conflict with potential commercial applications
29 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
30 1 Luis Figueira
31 2 Luis Figueira
* Unit tests (Christophe)
32 2 Luis Figueira
** Tests exist for most of the library API, and also covering the same ground with the command-line interface
33 1 Luis Figueira
34 2 Luis Figueira
* Language bindings
35 2 Luis Figueira
** Common Lisp (Christophe): complete, with unit tests
36 2 Luis Figueira
** Python (Ben): incomplete, with some unit tests
37 2 Luis Figueira
** pd (Ian Knopke, rewritten by Christophe): suspect
38 2 Luis Figueira
** Java (Mike Jewell): probably incomplete, some unit tests using JUnit
39 2 Luis Figueira
** ActionScript (Mike Jewell): probably incomplete
40 1 Luis Figueira
41 2 Luis Figueira
* Tools
42 2 Luis Figueira
** “Fake” RDF triple store that invents triples on the fly (Mike Jewell): working, with limitations
43 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
44 2 Luis Figueira
** Demonstration Web interface using PHP and command line scripts: probably broken
45 2 Luis Figueira
** SOAP service (Michael Casey): deprecated and probably broken
46 1 Luis Figueira
47 2 Luis Figueira
* Feature extraction
48 2 Luis Figueira
** By far the most resource-intensive part of populating a database
49 2 Luis Figueira
** Recommended default method is to use Sonic Annotator with the NNLS Chroma plugin
50 3 Luis Figueira
** There's a C script (populate) to load databases from Sonic Annotator output
51 2 Luis Figueira
** Former audioDB feature extractor (fftExtract) is deprecated and broken
52 1 Luis Figueira
53 2 Luis Figueira
* Documentation
54 2 Luis Figueira
** Very little:
55 2 Luis Figueira
*** Obsolete database population tutorial: http://omras2.org/audioDB/tutorial1
56 2 Luis Figueira
*** Tiny and not very helpful query tutorial: http://omras2.org/audioDB/tutorial2
57 2 Luis Figueira
*** Not especially successful hip-hop example: http://omras2.org/audioDB/tutorial3
58 2 Luis Figueira
*** Man page included with software
59 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
60 2 Luis Figueira
*** Christophe is working on a formal specification for the database semantics, but this is of little use to end users
61 1 Luis Figueira
62 2 Luis Figueira
* Database filesystem notes
63 2 Luis Figueira
** Currently the database is just one big sparse file
64 2 Luis Figueira
** Portability problems with this: for example, HFS+ (Mac default filesystem) doesn't support sparse files
65 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
66 2 Luis Figueira
** Christophe would like to change this so as to have one file per column, append-only
67 1 Luis Figueira
68 2 Luis Figueira
h3.  Aspirational use cases
69 1 Luis Figueira
70 2 Luis Figueira
* Christophe: Intelligent classical music player – find examples of Bach reusing this particular theme
71 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)
72 2 Luis Figueira
* Christophe: Observes that other Goldsmiths researchers are interested in treating multimedia data also (e.g. streetview-like scene data)
73 2 Luis Figueira
* Tim: Studying Wagner's use of leitmotif
74 2 Luis Figueira
* Tim: Live querying from musical input device
75 2 Luis Figueira
* Tim: Categorising musical samples for performance use
76 2 Luis Figueira
* Tim: Film music analysis – is all John Williams the same?
77 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?
78 2 Luis Figueira
* Also noted: Not just music databases: bird songs, street sounds, etc
79 1 Luis Figueira
80 2 Luis Figueira
h3. Possible easy gains
81 1 Luis Figueira
82 2 Luis Figueira
(But for which target user?  Consumer-level or API-level?)
83 1 Luis Figueira
84 2 Luis Figueira
* Christophe: Suggests aiming at the Red Dwarf example, improve data load for a “standard” data set and query by example
85 2 Luis Figueira
* Ben: Build a standard database using either the Million-Song Dataset or the subset of it that was provided alongside it
86 2 Luis Figueira
87 2 Luis Figueira
h3. Next steps
88 2 Luis Figueira
89 2 Luis Figueira
* Christophe: Commit pending bug fixes to new repository
90 2 Luis Figueira
* Chris and Luis: Build the code and run the unit tests, possibly under coverage analysis
91 2 Luis Figueira
* Chris and Luis: Test and improve the Java and Python bindings
92 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)
93 1 Luis Figueira
94 3 Luis Figueira
Note: there's a project grant submission on indexing and PostgresSQL integration.