fingerprinting

package
v0.0.0-...-6217932 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2016 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Compute audio fingerprints of songs using the Echonest analyzers.

Index

Constants

This section is empty.

Variables

View Source
var (

	// Errors
	NoAudioFiles = errors.New("No audio files")
)

Functions

func GetSongFingerprint

func GetSongFingerprint(song *api.Song, db services.Database, storage services.Storage) (string, string, error)

func RunCodegen

func RunCodegen(tempName string) (string, string, error)

Types

type Echonest

type Echonest struct {
	// contains filtered or unexported fields
}

func NewEchonest

func NewEchonest(apiKey string) *Echonest

func (*Echonest) Identify

func (e *Echonest) Identify(fingerprint, version string) (*api.Meta, error)

Identify performs a query to the Echonest public servers to identify a song given a fingerprint. The fingerprint is actually some JSON-encoded data coming directly from 'echoprint-codegen'.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL