5.1 sporchdb

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:

A file named insts in this directory specifying instruments, techniques, pitch ranges
and tunings that are to be compiled into the database file.
See `insts' File, and `insts' File Example, for more information and examples.

One or more files named conf that sit in the root sound file directory or any of its
subdirectories where there are sound files. These configuration files contain analysis parameters and
instructions on extracting instrument ids, pitches and other information from files names.

Sample configuration files with most of the available settings are installed in share/sporch.
See `conf' Files, and `conf' Files Example, for more information on these.

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.