{"id":21259145,"url":"https://github.com/mycroftai/pylisten","last_synced_at":"2025-07-11T02:33:04.230Z","repository":{"id":62581459,"uuid":"142539183","full_name":"MycroftAI/pylisten","owner":"MycroftAI","description":"A simple pyaudio microphone interface","archived":false,"fork":false,"pushed_at":"2018-07-27T07:10:36.000Z","size":6,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-04T23:31:12.978Z","etag":null,"topics":["library","microphone","pyaudio","recording"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MycroftAI.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":"2018-07-27T06:50:40.000Z","updated_at":"2023-06-22T02:10:42.000Z","dependencies_parsed_at":"2022-11-03T21:55:24.993Z","dependency_job_id":null,"html_url":"https://github.com/MycroftAI/pylisten","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MycroftAI/pylisten","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpylisten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpylisten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpylisten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpylisten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MycroftAI","download_url":"https://codeload.github.com/MycroftAI/pylisten/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpylisten/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264476041,"owners_count":23614433,"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":["library","microphone","pyaudio","recording"],"created_at":"2024-11-21T04:12:56.591Z","updated_at":"2025-07-11T02:33:03.914Z","avatar_url":"https://github.com/MycroftAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyListen\n\n*A simple pyaudio microphone interface*\n\nPyListen abstracts creating an audio stream and converting\nraw byte data into numpy arrays.\n\n## Usage\n\n```python\nfrom pylisten import Listener, WindowListener, FeatureListener\n\nfor chunk in Listener(frames_per_buffer=512, rate=24100):\n    print('Current volume:', abs(chunk).mean())\n\nfor window in WindowListener(1024 * 10, 1024):\n    print('Volume of last 10 chunks:', abs(window).mean())\n\nfor features in FeatureListener(lambda x: [abs(x).mean()], 1024, 20):\n    print('Past 20 volumes:', features)\n```\n\n\n## Installation\n\n```bash\npip install pylisten\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycroftai%2Fpylisten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmycroftai%2Fpylisten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycroftai%2Fpylisten/lists"}