{"id":21994208,"url":"https://github.com/markbrouch/identify-song","last_synced_at":"2025-08-12T18:14:32.219Z","repository":{"id":57271202,"uuid":"70287945","full_name":"markbrouch/identify-song","owner":"markbrouch","description":"Listens to song over microphone and identifies using audio fingerprint on ACRCloud.","archived":false,"fork":false,"pushed_at":"2016-10-07T23:38:54.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T07:45:33.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markbrouch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-07T22:41:07.000Z","updated_at":"2023-11-26T22:45:22.000Z","dependencies_parsed_at":"2022-09-01T00:40:10.590Z","dependency_job_id":null,"html_url":"https://github.com/markbrouch/identify-song","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/markbrouch/identify-song","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2Fidentify-song","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2Fidentify-song/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2Fidentify-song/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2Fidentify-song/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markbrouch","download_url":"https://codeload.github.com/markbrouch/identify-song/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markbrouch%2Fidentify-song/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270110328,"owners_count":24529044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T21:07:58.292Z","updated_at":"2025-08-12T18:14:32.178Z","avatar_url":"https://github.com/markbrouch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# identify-song\nListens to song over microphone and identifies using audio fingerprint on ACRCloud.\n\n## Installation\n```\nnpm install identify-song\n```\n\n## Dependencies\n`identify-song` uses [ACRCloud](https://www.acrcloud.com/) for audio fingerprinting technology API. Sign up for a free developer account to get the required API access keys.\n\n`identify-song` requires the use of [SoX](http://sox.sourceforge.net) to read audio from the microphone.\n\n### For Mac OS\n`brew install sox`\n\n### For Linux\n`sudo apt-get install sox libsox-fmt-all`\n\n### For Windows\n[download the binaries](http://sourceforge.net/projects/sox/files/latest/download)\n\n## Usage\n`identify-song` is a function that when invoked creates a `Promise` delivering the JSON result from the ACRCloud API on success.\n\n```js\nconst identifySong = require('identify-song');\n\nidentifySong({\n  host: '\u003cACRCloud host\u003e', // i.e. 'us-west-2.api.acrcloud.com'\n  access_key: '\u003cACRCloud access key\u003e',\n  access_secret: '\u003cACRCloud access secret'\n})\n.then(response =\u003e console.log(response))\n.catch(error =\u003e console.error(error));\n```\n\n## Tips\nIf you keep getting 'No result' code 1001 in the response, make sure your microphone volume is set appropriately (not too quiet, but not so loud that audio is cut off).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbrouch%2Fidentify-song","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkbrouch%2Fidentify-song","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkbrouch%2Fidentify-song/lists"}