Documentation
¶
Overview ¶
Package gochroma provides a high-level API to the acoustic fingerprinting library chromaprint.
Index ¶
Constants ¶
View Source
const ( Algorithm1 = chromaprint.CHROMAPRINT_ALGORITHM_TEST1 Algorithm2 = chromaprint.CHROMAPRINT_ALGORITHM_TEST2 Algorithm3 = chromaprint.CHROMAPRINT_ALGORITHM_TEST3 Algorithm4 = chromaprint.CHROMAPRINT_ALGORITHM_TEST4 AlgorithmDefault = chromaprint.CHROMAPRINT_ALGORITHM_DEFAULT )
Available algorithms for fingerprinting.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
A Printer is a fingerprint.Calculator backed by libchromaprint.
func New ¶
New creates new Printer. Returned Printer must be closed with Close(). Note that if libchromaprint is compiled with FFTW, New should be called only from one goroutine at a time.
func (*Printer) Fingerprint ¶
func (p *Printer) Fingerprint(i fingerprint.RawInfo) (fprint string, err error)
Fingerprint implements fingerprint.Calculator interface.
func (*Printer) RawFingerprint ¶
func (p *Printer) RawFingerprint(i fingerprint.RawInfo) (fprint []int32, err error)
RawFingerprint implements fingerprint.Calculator interface.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package chromaprint is a Go binding to acoustic fingerprinting library chromaprint.
|
Package chromaprint is a Go binding to acoustic fingerprinting library chromaprint. |
Click to show internal directories.
Click to hide internal directories.