Package be.panako.util
Enum Class Key
- All Implemented Interfaces:
Serializable
,Comparable<Key>
,Constable
Defines which values can be configured and their respective
default values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of processors available to Panako.Checks the data store if the file # is already added.Enabling the ffmpeg pipe allows support for almost all audio formats in the known universe.The buffer used to cache the results from the pipe.The command that streams PCM audio to a pipeThe pipe command environmentThe pipe command argumentThe log file for the pipe decoder.The maximum file size (in MB) of files that are stored.The overlap, also in seconds.The step size while monitoring a long audio fragment, in seconds.File cache directory for bulk importThe folder to store the LMDB databaseThe storage to use: MEM|LMDB Stands for Memory, files on disk or the LMDB key-value storeThe storage to use: MEM|LMDB Stands for Memory, files on disk or the LMDB key-value storeThe strategy (algorithm) to use, OLAF|PANAKO|PCH. -
Method Summary
-
Enum Constant Details
-
CHECK_DUPLICATE_FILE_NAMES
Checks the data store if the file # is already added. Set this to false if a large number of unique files are added for a small performance gain. -
MAX_FILE_SIZE
The maximum file size (in MB) of files that are stored. Default is 6000 megabytes. -
MONITOR_STEP_SIZE
The step size while monitoring a long audio fragment, in seconds. -
MONITOR_OVERLAP
The overlap, also in seconds. By default detection resolution is 25-5=20 seconds. -
DECODER
Enabling the ffmpeg pipe allows support for almost all audio formats in the known universe. When disabled Panako supports 16bit mono WAV. -
DECODER_PIPE_ENVIRONMENT
The pipe command environment -
DECODER_PIPE_ENVIRONMENT_ARG
The pipe command argument -
DECODER_PIPE_COMMAND
The command that streams PCM audio to a pipe -
DECODER_PIPE_BUFFER_SIZE
The buffer used to cache the results from the pipe. 44100 bytes is half a second. -
DECODER_PIPE_LOG_FILE
The log file for the pipe decoder. -
AVAILABLE_PROCESSORS
The number of processors available to Panako. If zero (or less) all available processors are used. -
STRATEGY
The strategy (algorithm) to use, OLAF|PANAKO|PCH. -
NUMBER_OF_QUERY_RESULTS
-
PCH_FILES
-
PCH_SAMPLE_RATE
-
PCH_OVERLAP
-
PCH_SIZE
-
OLAF_STORAGE
The storage to use: MEM|LMDB Stands for Memory, files on disk or the LMDB key-value store -
OLAF_LMDB_FOLDER
The folder to store the LMDB database -
OLAF_CACHE_FOLDER
File cache directory for bulk import -
OLAF_CACHE_TO_FILE
-
OLAF_USE_CACHED_PRINTS
-
OLAF_SAMPLE_RATE
-
OLAF_SIZE
-
OLAF_STEP_SIZE
-
OLAF_MIN_HITS_UNFILTERED
-
OLAF_MIN_HITS_FILTERED
-
OLAF_MIN_TIME_FACTOR
-
OLAF_MAX_TIME_FACTOR
-
OLAF_MIN_SEC_WITH_MATCH
-
OLAF_MIN_MATCH_DURATION
-
OLAF_FREQ_MAX_FILTER_SIZE
-
OLAF_TIME_MAX_FILTER_SIZE
-
OLAF_FP_MIN_FREQ_DIST
-
OLAF_FP_MAX_FREQ_DIST
-
OLAF_FP_MIN_TIME_DIST
-
OLAF_FP_MAX_TIME_DIST
-
OLAF_QUERY_RANGE
-
PANAKO_FREQ_MAX_FILTER_SIZE
-
PANAKO_TIME_MAX_FILTER_SIZE
-
PANAKO_FP_MIN_FREQ_DIST
-
PANAKO_FP_MAX_FREQ_DIST
-
PANAKO_FP_MIN_TIME_DIST
-
PANAKO_FP_MAX_TIME_DIST
-
PANAKO_AUDIO_BLOCK_SIZE
-
PANAKO_AUDIO_BLOCK_OVERLAP
-
PANAKO_SAMPLE_RATE
-
PANAKO_TRANSF_MIN_FREQ
-
PANAKO_TRANSF_MAX_FREQ
-
PANAKO_TRANSF_REF_FREQ
-
PANAKO_TRANSF_BANDS_PER_OCTAVE
-
PANAKO_TRANSF_TIME_RESOLUTION
-
PANAKO_QUERY_RANGE
-
PANAKO_MIN_HITS_UNFILTERED
-
PANAKO_MIN_HITS_FILTERED
-
PANAKO_MIN_TIME_FACTOR
-
PANAKO_MAX_TIME_FACTOR
-
PANAKO_MIN_FREQ_FACTOR
-
PANAKO_MAX_FREQ_FACTOR
-
PANAKO_MIN_SEC_WITH_MATCH
-
PANAKO_MIN_MATCH_DURATION
-
PANAKO_STORAGE
The storage to use: MEM|LMDB Stands for Memory, files on disk or the LMDB key-value store -
PANAKO_LMDB_FOLDER
-
PANAKO_CACHE_FOLDER
-
PANAKO_CACHE_TO_FILE
-
PANAKO_USE_CACHED_PRINTS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDefaultValue
-