Next: sporchq, Previous: Command-Line Interface, Up: Command-Line Interface
Usage: sporchdb [OPTION]... [DB-DIR]... Options: -h [ --help ] print help message -v [ --version ] print version
sporchdb analyzes instrument sample sound files and compiles analysis information into a single database file. The database is then used by sporchq, sporch and the libsporch.so library. The only option (besides -h for help and -v for version) is the pathname to the root sound file directory, though it is more convenient to put this in a file named .sporch in your home directory like this:
‘db-dir = /home/me/path/to/soundfile/dir’
Then you only need to type this to run it:
‘sporchdb’
In addition to knowing the root sound file/database directory, sporchdb needs the following:
sporchdb uses cache files to store analysis data so subsequent runs are much faster. You won't see output for cached analyses. Changes to tunings or any other significant parameters in the insts or conf files can cause sporchdb to reanalyze a sound file. Cache files are hidden files (beginning with a dot) and end with .dat by default.