iammordaty / soundcloud-track-recognizer

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

Home Page:https://www.npmjs.com/package/soundcloud-track-recognizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://www.npmjs.com/package/soundcloud-track-recognizer


Languages

Language:JavaScript 100.0%