{"id":24085471,"url":"https://github.com/falleng0d/detect-sound","last_synced_at":"2025-09-02T13:04:01.611Z","repository":{"id":221322847,"uuid":"754054430","full_name":"falleng0d/detect-sound","owner":"falleng0d","description":"Python application that listens to audio input and performs actions based on the volume level. It includes a cooldown decorator and throttling logic to prevent the callback from being executed too frequently.","archived":false,"fork":false,"pushed_at":"2024-02-19T14:40:40.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T13:02:52.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/falleng0d.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,"zenodo":null}},"created_at":"2024-02-07T10:06:15.000Z","updated_at":"2024-02-07T10:06:23.000Z","dependencies_parsed_at":"2024-02-07T11:27:13.860Z","dependency_job_id":"ed898fca-f038-418d-92ab-abf4c5e1b4be","html_url":"https://github.com/falleng0d/detect-sound","commit_stats":null,"previous_names":["falleng0d/detect-sound"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/falleng0d/detect-sound","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falleng0d%2Fdetect-sound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falleng0d%2Fdetect-sound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falleng0d%2Fdetect-sound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falleng0d%2Fdetect-sound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falleng0d","download_url":"https://codeload.github.com/falleng0d/detect-sound/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falleng0d%2Fdetect-sound/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273287682,"owners_count":25078575,"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-09-02T02:00:09.530Z","response_time":77,"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":"2025-01-10T01:43:02.571Z","updated_at":"2025-09-02T13:04:01.530Z","avatar_url":"https://github.com/falleng0d.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detect Sound\n\nPython application that listens to audio input and performs actions based on the volume level. It includes a cooldown decorator and throttling logic to prevent the callback from being executed too frequently.\n\nTLDR: It listens to the microphone and executes a callback when the volume level exceeds a certain threshold. The callback is throttled to prevent it from being executed too frequently.\n\n![Detect Sound](./window.png)\n\n## Setting up venv\n\nTo set up a virtual environment for the project, follow these steps:\n\n1. Ensure that you have Python installed on your system.\n2. Navigate to the project directory in your terminal.\n3. Run the following command to create a virtual environment:\n\n```bash\npython -m venv venv\n```\n\n4. Activate the virtual environment:\n\nOn Windows:\n```bash\nvenv\\Scripts\\activate\n```\n\nOn macOS and Linux:\n```bash\nsource venv/bin/activate\n```\n\n5. Install the required dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n## Running application\n\nTo run the application, make sure you are in the project directory and the virtual environment is activated. Then execute:\n\n```bash\npython main.py\n```\n\n## Linting\n\nTo lint the code, ensure that you have installed the required development dependencies. You can use `ruff` for linting:\n\n```bash\nruff .\n```\n\nTo automatically fix linting errors, run:\n\n```bash\nruff . --fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalleng0d%2Fdetect-sound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalleng0d%2Fdetect-sound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalleng0d%2Fdetect-sound/lists"}