r2 - 22 Aug 2008 - 17:49:05 - MichaelCaseyYou are here: OMRAS2 >  Main Web  >  TWikiUsers > MichaelCasey > AudioDB > AudioDBDeveloperDiscussionPage > LargeADB

LARGE AUDIODB SUPPORT

  • AudioDB now has the option to leave features on the filesystem
  • Only works with INDEXING, assumes large number of tracks make brute force intractable
  • Compile with -DO2_LSH_N_POINT_BITS 12 for 1M tracks with 4096 points each

Usage

Large AudioDB creation

  • audioDB -N -d large.adb --ntracks 50000 // makes large.adb in current directory, --ntracks > 20000 makes it a LARGE_ADB
  • audioDB -L -d large.adb // turn on unit norming
  • audioDB -P -d large.adb // turn on power thresholding

Large AudioDB Insertion

  • audioDB -d large.adb -B -F fileList.txt -W powerList.txt -K keyList.txt (if filenames are relative paths then you will want to use --adb_feature_root later)

Large AudioDB indexing

  • same as non-large AudioDB (but scale up parameters for size of database)
  • audioDB -d large.adb --adb_root PATH_TO_DATABASE --adb_feature_root PATH_TO_FEATURES -X -R 0.1 -l 30 --lsh_k 40 --lsh_m 5 --lsh_N 10000000 --lsh_b 100000 --absolute-threshold -4.5

Large AudioDB query

  • same as non-large AudioDB query (except that you may need to "locate" the features with --adb_feature_root)
  • audioDB -d large.adb --adb_root PATH_TO_DATABASE --adb_feature_root PATH_TO_FEATURES -Q seq -R 0.2 -l 30 -k xyz_key -e --absolute-threshold -4.5

Large AudioDB Web services

  • audioDB -s 14476 --load_index -d large.adb -R 0.2 -l 30 --adb_root PATH_TO_DATABASE --adb_feature_root PATH_TO_FEATURES

-- MichaelCasey - 21 Aug 2008

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
EPSRC OMRAS2
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding OMRAS2? Send feedback