Node.js module that fetches comments and streams from SoundCloud and tries to recognize commented fragments via audio recognition services.
This library can be installed through npm:
$ npm install --save soundcloud-track-recognizer
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.
soundcloud-track-recognizer is licensed under the MIT License.