{"id":16631767,"url":"https://github.com/scheb/sound-to-light-osc","last_synced_at":"2025-04-06T22:07:40.068Z","repository":{"id":48634932,"uuid":"182534473","full_name":"scheb/sound-to-light-osc","owner":"scheb","description":"Real-time detection of beats from audio, sending out OSC signals for sound-to-light control 🎵💡","archived":false,"fork":false,"pushed_at":"2024-10-12T10:00:16.000Z","size":2612,"stargazers_count":79,"open_issues_count":0,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T21:06:29.671Z","etag":null,"topics":["audio-analysis","beat-detection","osc","python","real-time","sound-to-light"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/scheb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-21T13:06:42.000Z","updated_at":"2025-03-22T00:35:24.000Z","dependencies_parsed_at":"2024-11-17T06:02:44.442Z","dependency_job_id":"01f44333-e1da-4c8e-b693-168ef5deb07a","html_url":"https://github.com/scheb/sound-to-light-osc","commit_stats":{"total_commits":29,"total_committers":5,"mean_commits":5.8,"dds":"0.31034482758620685","last_synced_commit":"2e4ed5844fe4fee2af5e3d0da502973dfae71b9e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scheb%2Fsound-to-light-osc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scheb%2Fsound-to-light-osc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scheb%2Fsound-to-light-osc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scheb%2Fsound-to-light-osc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scheb","download_url":"https://codeload.github.com/scheb/sound-to-light-osc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"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","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":["audio-analysis","beat-detection","osc","python","real-time","sound-to-light"],"created_at":"2024-10-12T04:55:52.236Z","updated_at":"2025-04-06T22:07:40.041Z","avatar_url":"https://github.com/scheb.png","language":"Python","funding_links":["https://paypal.me/ChristianScheb"],"categories":[],"sub_categories":[],"readme":"sound-to-light-osc\n==================\n\nReal-time detection of beats with Python from an audio input device (typically \"Stereo Mix\"). Outputs OSC signals,\nto be used for sound-to-light control.\n\nIt keeps track of the music \"intensity\" (calm, normal, intense) to switch lighting programs.\n\nI use [QLC+](https://github.com/mcallegari/qlcplus) for DMX control.\n\n![Video](video.gif)\n\nRequired modules\n----------------\n\n- PyAudio\n- PyQt5\n- PyQwt\n- matplotlib\n- scipy\n- python-osc\n\nUsage\n-----\n\n`python beatDetector.py`\n\nOSC Signals\n-----------\n\nOSC signals are sent to `localhost:7701`, can be changed in `beatDetector.py`.\n\n- `/beat` is sent for every beat detected.\n- `/bar` is sent every to change the lighting scene.\n- `/prog1` - `/prog8` is sent to change lighting programs (available have to be configured in `beatDetector.py`)\n\nContributing\n------------\n\nThanks for your interest in contributing to this project! Glad you like it 😊\n\nI typically do not accept contributions to this project, as I've built this for myself and it just works fine for\nme the way it is. The project isn't intended to work for anyone but myself. I've put it onto GitHub in case\nsomeone finds this useful. So if you need changes, feel free to fork the repository and modify it for your own\nneeds.\n\nIf you have an idea that you believe is worth integrating, please reach out first. I don't want you to work on \nthings that I wouldn't merge.\n\nAcknowledgments\n---------------\n\nBased on [shunfu/python-beat-detector](https://github.com/shunfu/python-beat-detector).\n\nVersion History\n---------------\n\n### 1.0\n\n- Beat detection\n- Automatic beat generation based on BPM\n- Pause and new song detection\n\n### 1.1\n\n- Improved max volume calibration\n- Improved pause detection\n- Intensity detection\n- Automatic lighting program switch\n\nLicense\n-------\nThis software is available under the [MIT license](LICENSE).\n\nSupport Me\n----------\nI love to hear from people using my work, it's giving me the motivation to keep working on it.\n\nIf you want to let me know you're finding it useful, please consider giving it a star ⭐ on GitHub.\n\nIf you love my work and want to say thank you, you can help me out for a beer 🍻️\n[via PayPal](https://paypal.me/ChristianScheb).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscheb%2Fsound-to-light-osc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscheb%2Fsound-to-light-osc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscheb%2Fsound-to-light-osc/lists"}