public DefaultFingerprintConfiguration()
 {
     SpectrogramConfig = new DefaultSpectrogramConfig();
     HashingConfig     = new DefaultHashingConfig();
     TopWavelets       = 200;
     SampleRate        = 5512;
     HaarWaveletNorm   = System.Math.Sqrt(2);
     Clusters          = Enumerable.Empty <string>();
 }
 public DefaultFingerprintConfiguration()
 {
     SpectrogramConfig = new DefaultSpectrogramConfig();
     HashingConfig     = new DefaultHashingConfig();
     TopWavelets       = 200;
     SampleRate        = 5512;
     NormalizeSignal   = false;
     Clusters          = Enumerable.Empty <string>();
 }
 public DefaultFingerprintConfiguration()
 {
     SpectrogramConfig = new DefaultSpectrogramConfig();
     HashingConfig = new DefaultHashingConfig();
     TopWavelets = 200;
     SampleRate = 5512;
     NormalizeSignal = false;
     Clusters = Enumerable.Empty<string>();
 }
Exemplo n.º 4
0
 public DefaultFingerprintConfiguration()
 {
     SpectrogramConfig          = new DefaultSpectrogramConfig();
     HashingConfig              = new DefaultHashingConfig();
     TopWavelets                = 200;
     SampleRate                 = 5512;
     HaarWaveletNorm            = System.Math.Sqrt(2);
     FingerprintLengthInSeconds = (double)SamplesPerFingerprint / SampleRate;
     OriginalPointSaveTransform = null;
 }
Exemplo n.º 5
0
 public DefaultFingerprintConfiguration()
 {
     SpectrogramConfig           = new DefaultSpectrogramConfig();
     HashingConfig               = new DefaultHashingConfig();
     TopWavelets                 = 200;
     SampleRate                  = 5512;
     HaarWaveletNorm             = Math.Sqrt(2);
     FingerprintLengthInSeconds  = (double)SamplesPerFingerprint / SampleRate;
     OriginalPointSaveTransform  = (_ => Array.Empty <byte>());
     GaussianBlurConfiguration   = GaussianBlurConfiguration.None;
     FrameNormalizationTransform = new LogSpectrumNormalization();
 }
Exemplo n.º 6
0
        public ShortSamplesFingerprintConfiguration()
        {
            SpectrogramConfig = new ShortSamplesSpectrogramConfig();
            HashingConfig     = new DefaultHashingConfig();
            TopWavelets       = 200;

            // Using 32000 (instead of 44100) gives us a max of 16 khz resolution, which is OK for normal adult human hearing
            SampleRate = 32000;         // Original: 5512

            HaarWaveletNorm = System.Math.Sqrt(2);
            Clusters        = Enumerable.Empty <string>();
        }