Package be.panako.util
Enum Key
java.lang.Object
java.lang.Enum<Key>
be.panako.util.Key
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Key>,java.lang.constant.Constable
public enum Key extends java.lang.Enum<Key>
Defines which values can be configured and their respective
default values.
- Author:
- Joren Six
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringgetDefaultValue()static KeyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Key[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
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_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_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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDefaultValue
public java.lang.String getDefaultValue()
-