{"id":19676806,"url":"https://github.com/victordibia/beats","last_synced_at":"2026-03-09T12:04:22.662Z","repository":{"id":77574347,"uuid":"74284706","full_name":"victordibia/beats","owner":"victordibia","description":"Nodejs (javascript) app to extract amplitude data from sound file and infer beats.","archived":false,"fork":false,"pushed_at":"2016-11-27T06:33:37.000Z","size":868,"stargazers_count":41,"open_issues_count":0,"forks_count":28,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-05T13:51:38.965Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victordibia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-20T15:45:09.000Z","updated_at":"2024-11-12T11:11:33.000Z","dependencies_parsed_at":"2023-06-16T22:00:54.707Z","dependency_job_id":null,"html_url":"https://github.com/victordibia/beats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victordibia/beats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordibia%2Fbeats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordibia%2Fbeats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordibia%2Fbeats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordibia%2Fbeats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victordibia","download_url":"https://codeload.github.com/victordibia/beats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victordibia%2Fbeats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30294713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11T17:30:17.320Z","updated_at":"2026-03-09T12:04:22.640Z","avatar_url":"https://github.com/victordibia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extract Peaks from Audio File\n\u003cimg src=\"/images/beats.gif\" width=\"100%\"\u003e\n\n\u003e Nodejs app to process a sound file, identify peaks\n\n[Blog post here](http://denvycom.com/blog/detect-beats-extract-amplitude-data-from-an-audio-file-using-nodejs/)\n\nThis project provides Node.js code to decode a sound file, identify peaks, and identify beats. There are some sample code available that demonstrate this using HTML5 webaudio api, but this uses a nodejs port of same api.\n\n\n\n## How It Works\n- Decode audio file (add one to your sounds folder)\n- Identify peaks\n- Identify beats  \n\n\n##Running\n\nNote: To ensure correctness, the sound file is played back while being analyzed. ffmpeg is used to play back sound, and this must be installed.\n\nTo install ffmpeg on a mac\n\n    brew install ffmpeg\n\nStart the application. (Note: you need sudo access)\n\n    node beats.js     \n\n# Dependencies List\n\n- [web-audio-api](https://www.npmjs.com/package/web-audio-api) : implementation (partial) of the HTML5 web audio api, used to decode sound files.\n- [underscorejs](https://www.npmjs.com/package/underscore) : functional programming helper library for data manipulation.\n\n# Next Steps\n\nBeat extraction. The general approach is to identify peaks most repetitive peaks to be indicative of a beat, and then compute inter-peak interval. Two 60 peaks within a 60 second interval might correspond to 60 beats per minute.\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictordibia%2Fbeats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictordibia%2Fbeats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictordibia%2Fbeats/lists"}