Module: Chromaprint

Defined in:
lib/chromaprint.rb,
lib/chromaprint/lib.rb,
lib/chromaprint/context.rb,
lib/chromaprint/fingerprint.rb

Overview

Chromaprint is originally written in C/C++, a library which provides tools to calculate fingerprints of audio data. This is its port for the Ruby language.

Defined Under Namespace

Modules: Lib Classes: Context, Fingerprint

Constant Summary collapse

ALGORITHM_TEST1 =

All algorithm constants are taken from chromaprint.h

0
ALGORITHM_TEST2 =

:nodoc:

1
ALGORITHM_TEST3 =

:nodoc:

2
ALGORITHM_DEFAULT =

Default algorithm. Taken from chromaprint.h

ALGORITHM_TEST2
BYTES_PER_SAMPLE =

Chromaprint works with 16 bit samples

2

Class Method Summary collapse

Class Method Details

.lib_versionString

Get version of Chromaprint library

Returns:

  • (String)

    version



28
29
30
# File 'lib/chromaprint.rb', line 28

def self.lib_version
  Lib.chromaprint_get_version
end