Mercurial > hg > audiodb
comparison audioDB.h @ 697:2741bbda39d7
actually implement the sampling functionality requested
The -f flag at the audioDB command line when sampling causes a datum x db
sampling to occur, using the feature file's information. At present, no
support for thresholding based on power or duration information.
author | mas01cr |
---|---|
date | Thu, 22 Apr 2010 21:04:10 +0000 |
parents | b1723ae7675e |
children | b9dbe4611dde |
comparison
equal
deleted
inserted
replaced
696:bb9478d5b57e | 697:2741bbda39d7 |
---|---|
277 ~audioDB(); | 277 ~audioDB(); |
278 int processArgs(const unsigned argc, const char* argv[]); | 278 int processArgs(const unsigned argc, const char* argv[]); |
279 void create(const char* dbName); | 279 void create(const char* dbName); |
280 void insert(const char* dbName, const char* inFile); | 280 void insert(const char* dbName, const char* inFile); |
281 void batchinsert(const char* dbName, const char* inFile); | 281 void batchinsert(const char* dbName, const char* inFile); |
282 void datumFromFiles(adb_datum_t *datum); | |
282 void query(const char* dbName, const char* inFile, struct soap *soap=0, adb__queryResponse *adbQueryResponse=0); | 283 void query(const char* dbName, const char* inFile, struct soap *soap=0, adb__queryResponse *adbQueryResponse=0); |
283 void status(const char* dbName, adb__statusResponse *adbStatusResponse=0); | 284 void status(const char* dbName, adb__statusResponse *adbStatusResponse=0); |
284 | 285 |
285 unsigned random_track(unsigned *propTable, unsigned total); | 286 unsigned random_track(unsigned *propTable, unsigned total); |
286 void sample(const char *dbName); | 287 void sample(const char *dbName); |