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
  • Enum Constant Details

    • CHECK_DUPLICATE_FILE_NAMES

      public static final Key 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

      public static final Key MAX_FILE_SIZE
      The maximum file size (in MB) of files that are stored. Default is 6000 megabytes.
    • MONITOR_STEP_SIZE

      public static final Key MONITOR_STEP_SIZE
      The step size while monitoring a long audio fragment, in seconds.
    • MONITOR_OVERLAP

      public static final Key MONITOR_OVERLAP
      The overlap, also in seconds. By default detection resolution is 25-5=20 seconds.
    • DECODER

      public static final Key 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

      public static final Key DECODER_PIPE_ENVIRONMENT
      The pipe command environment
    • DECODER_PIPE_ENVIRONMENT_ARG

      public static final Key DECODER_PIPE_ENVIRONMENT_ARG
      The pipe command argument
    • DECODER_PIPE_COMMAND

      public static final Key DECODER_PIPE_COMMAND
      The command that streams PCM audio to a pipe
    • DECODER_PIPE_BUFFER_SIZE

      public static final Key DECODER_PIPE_BUFFER_SIZE
      The buffer used to cache the results from the pipe. 44100 bytes is half a second.
    • DECODER_PIPE_LOG_FILE

      public static final Key DECODER_PIPE_LOG_FILE
      The log file for the pipe decoder.
    • AVAILABLE_PROCESSORS

      public static final Key AVAILABLE_PROCESSORS
      The number of processors available to Panako. If zero (or less) all available processors are used.
    • STRATEGY

      public static final Key STRATEGY
      The strategy (algorithm) to use, OLAF|PANAKO|PCH.
    • NUMBER_OF_QUERY_RESULTS

      public static final Key NUMBER_OF_QUERY_RESULTS
    • PCH_FILES

      public static final Key PCH_FILES
    • PCH_SAMPLE_RATE

      public static final Key PCH_SAMPLE_RATE
    • PCH_OVERLAP

      public static final Key PCH_OVERLAP
    • PCH_SIZE

      public static final Key PCH_SIZE
    • OLAF_STORAGE

      public static final Key OLAF_STORAGE
      The storage to use: MEM|LMDB Stands for Memory, files on disk or the LMDB key-value store
    • OLAF_LMDB_FOLDER

      public static final Key OLAF_LMDB_FOLDER
      The folder to store the LMDB database
    • OLAF_CACHE_FOLDER

      public static final Key OLAF_CACHE_FOLDER
      File cache directory for bulk import
    • OLAF_CACHE_TO_FILE

      public static final Key OLAF_CACHE_TO_FILE
    • OLAF_USE_CACHED_PRINTS

      public static final Key OLAF_USE_CACHED_PRINTS
    • OLAF_SAMPLE_RATE

      public static final Key OLAF_SAMPLE_RATE
    • OLAF_SIZE

      public static final Key OLAF_SIZE
    • OLAF_STEP_SIZE

      public static final Key OLAF_STEP_SIZE
    • OLAF_MIN_HITS_UNFILTERED

      public static final Key OLAF_MIN_HITS_UNFILTERED
    • OLAF_MIN_HITS_FILTERED

      public static final Key OLAF_MIN_HITS_FILTERED
    • OLAF_MIN_TIME_FACTOR

      public static final Key OLAF_MIN_TIME_FACTOR
    • OLAF_MAX_TIME_FACTOR

      public static final Key OLAF_MAX_TIME_FACTOR
    • OLAF_FREQ_MAX_FILTER_SIZE

      public static final Key OLAF_FREQ_MAX_FILTER_SIZE
    • OLAF_TIME_MAX_FILTER_SIZE

      public static final Key OLAF_TIME_MAX_FILTER_SIZE
    • OLAF_FP_MIN_FREQ_DIST

      public static final Key OLAF_FP_MIN_FREQ_DIST
    • OLAF_FP_MAX_FREQ_DIST

      public static final Key OLAF_FP_MAX_FREQ_DIST
    • OLAF_FP_MIN_TIME_DIST

      public static final Key OLAF_FP_MIN_TIME_DIST
    • OLAF_FP_MAX_TIME_DIST

      public static final Key OLAF_FP_MAX_TIME_DIST
    • OLAF_QUERY_RANGE

      public static final Key OLAF_QUERY_RANGE
    • PANAKO_FREQ_MAX_FILTER_SIZE

      public static final Key PANAKO_FREQ_MAX_FILTER_SIZE
    • PANAKO_TIME_MAX_FILTER_SIZE

      public static final Key PANAKO_TIME_MAX_FILTER_SIZE
    • PANAKO_FP_MIN_FREQ_DIST

      public static final Key PANAKO_FP_MIN_FREQ_DIST
    • PANAKO_FP_MAX_FREQ_DIST

      public static final Key PANAKO_FP_MAX_FREQ_DIST
    • PANAKO_FP_MIN_TIME_DIST

      public static final Key PANAKO_FP_MIN_TIME_DIST
    • PANAKO_FP_MAX_TIME_DIST

      public static final Key PANAKO_FP_MAX_TIME_DIST
    • PANAKO_AUDIO_BLOCK_SIZE

      public static final Key PANAKO_AUDIO_BLOCK_SIZE
    • PANAKO_AUDIO_BLOCK_OVERLAP

      public static final Key PANAKO_AUDIO_BLOCK_OVERLAP
    • PANAKO_SAMPLE_RATE

      public static final Key PANAKO_SAMPLE_RATE
    • PANAKO_TRANSF_MIN_FREQ

      public static final Key PANAKO_TRANSF_MIN_FREQ
    • PANAKO_TRANSF_MAX_FREQ

      public static final Key PANAKO_TRANSF_MAX_FREQ
    • PANAKO_TRANSF_REF_FREQ

      public static final Key PANAKO_TRANSF_REF_FREQ
    • PANAKO_TRANSF_BANDS_PER_OCTAVE

      public static final Key PANAKO_TRANSF_BANDS_PER_OCTAVE
    • PANAKO_TRANSF_TIME_RESOLUTION

      public static final Key PANAKO_TRANSF_TIME_RESOLUTION
    • PANAKO_QUERY_RANGE

      public static final Key PANAKO_QUERY_RANGE
    • PANAKO_MIN_HITS_UNFILTERED

      public static final Key PANAKO_MIN_HITS_UNFILTERED
    • PANAKO_MIN_HITS_FILTERED

      public static final Key PANAKO_MIN_HITS_FILTERED
    • PANAKO_MIN_TIME_FACTOR

      public static final Key PANAKO_MIN_TIME_FACTOR
    • PANAKO_MAX_TIME_FACTOR

      public static final Key PANAKO_MAX_TIME_FACTOR
    • PANAKO_MIN_FREQ_FACTOR

      public static final Key PANAKO_MIN_FREQ_FACTOR
    • PANAKO_MAX_FREQ_FACTOR

      public static final Key PANAKO_MAX_FREQ_FACTOR
    • PANAKO_STORAGE

      public static final Key PANAKO_STORAGE
      The storage to use: MEM|LMDB Stands for Memory, files on disk or the LMDB key-value store
    • PANAKO_LMDB_FOLDER

      public static final Key PANAKO_LMDB_FOLDER
    • PANAKO_CACHE_FOLDER

      public static final Key PANAKO_CACHE_FOLDER
    • PANAKO_CACHE_TO_FILE

      public static final Key PANAKO_CACHE_TO_FILE
    • PANAKO_USE_CACHED_PRINTS

      public static final Key PANAKO_USE_CACHED_PRINTS
  • Method Details

    • values

      public static Key[] 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

      public static Key valueOf​(java.lang.String name)
      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 name
      java.lang.NullPointerException - if the argument is null
    • getDefaultValue

      public java.lang.String getDefaultValue()