A music similarity library, returning a weighted combination of several API and tool results.
npm install compilation``bash`
npm install compilation
For now, see the tests.
Returns Promise resolving to an Array, ordered by similarity:
`javascript`
[ { name: 'Johannes Brahms',
similarity: 0.5204596666666667,
href: 'https://api.spotify.com/v1/artists/5wTAi7QkpP6kp8a54lmTOq' },
{ name: 'Carl Maria von Weber',
similarity: 0.49999999999999983,
href: 'http://www.last.fm/music/Carl+Maria+von+Weber' },
...
]
Backends:
- Pandora
- Last.fm
- Spotify
Returns Promise resolving to an Array, ordered by similarity:
`javascript``
[ { name: 'The Plug',
similarity: 0.3333333333333333,
href: 'http://www.last.fm/music/Bonobo/_/The+Plug',
artist:
{ name: 'Bonobo',
href: 'http://www.last.fm/music/Bonobo' } },
...
]
Backends:
- Last.fm