0.0.5 • Published 5 years ago

soundcloud-track-recognizer v0.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

soundcloud-track-recognizer

Node.js module that fetches comments and streams from SoundCloud and tries to recognize commented fragments via audio recognition services.

Table of Contents

Requirements

Installation

This library can be installed through npm:

$ npm install --save soundcloud-track-recognizer

Usage

const SoundCloudTrackRecognizer = require('soundcloud-track-recognizer');

const config = {/* ... */};
const recognizer = new SoundCloudTrackRecognizer(config);

// fetch user's comments and commented track data
const username = 'username';
const filter = 'id?'
const limit = 10;

const commentedTracks = await recognizer.getCommentedTracks({ username, filter, limit });

// download tracks and extract fragments
const fragments = await recognizer.createFragments(commentedTracks);

// recognize fragments
const results = await recognizer.recognize(fragments);

See soundcloud-track-recognizer-cli for more information.

Further information

See also

License

soundcloud-track-recognizer is licensed under the MIT License.