{"id":13619681,"url":"https://github.com/larsimmisch/pyalsaaudio","last_synced_at":"2026-02-21T06:32:19.770Z","repository":{"id":29214011,"uuid":"32745563","full_name":"larsimmisch/pyalsaaudio","owner":"larsimmisch","description":"ALSA wrappers for Python","archived":false,"fork":false,"pushed_at":"2025-12-10T22:05:19.000Z","size":893,"stargazers_count":226,"open_issues_count":7,"forks_count":72,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-02-13T03:59:43.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://larsimmisch.github.io/pyalsaaudio/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsimmisch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2015-03-23T16:48:20.000Z","updated_at":"2026-01-22T22:55:32.000Z","dependencies_parsed_at":"2024-02-24T08:30:55.966Z","dependency_job_id":"aae70fc3-c2c1-46b1-8cb1-ffe3caac03d5","html_url":"https://github.com/larsimmisch/pyalsaaudio","commit_stats":{"total_commits":153,"total_committers":21,"mean_commits":7.285714285714286,"dds":0.5686274509803921,"last_synced_commit":"196ca87a0593f14f2ddc59e17037773269ee6db8"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/larsimmisch/pyalsaaudio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsimmisch%2Fpyalsaaudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsimmisch%2Fpyalsaaudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsimmisch%2Fpyalsaaudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsimmisch%2Fpyalsaaudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsimmisch","download_url":"https://codeload.github.com/larsimmisch/pyalsaaudio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsimmisch%2Fpyalsaaudio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29675466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-08-01T21:00:46.922Z","updated_at":"2026-02-21T06:32:19.753Z","avatar_url":"https://github.com/larsimmisch.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# PyAlsaAudio\n\nFor documentation, see http://larsimmisch.github.io/pyalsaaudio/\n\n\u003e Author: Casper Wilstrup (cwi@aves.dk)\n\u003e Maintainer: Lars Immisch (lars@ibp.de)\n\nThis package contains wrappers for accessing the\n[ALSA](http://www.alsa-project.org/) API from Python. It\nis currently fairly complete for PCM devices, and has some support for mixers.\n\nIf you find bugs in the wrappers please open an issue in the issue tracker.\nPlease don't send bug reports regarding ALSA specifically. There are several\nbugs in the ALSA API, and those should be reported to the ALSA team - not\nme.\n\nThis software is licensed under the PSF license - the same one used\nby the majority of the python distribution. Basically you can use it\nfor anything you wish (even commercial purposes). There is no warranty\nwhatsoever.\n\n\n# Installation\n\n## PyPI\n\nTo install pyalsaaudio via `pip` (or `easy_install`):\n\n```\n  $ pip install pyalsaaudio\n```\n\n## Manual installation\n\n*Note:* the wrappers need a kernel with ALSA support, and the\nALSA library and headers. The installation of these varies from distribution\nto distribution.\n\nOn Debian or Ubuntu, make sure to install `libasound2-dev`. On Arch,\ninstall `alsa-lib`. When in doubt, search your distribution for a\npackage that contains `libasound.so` and `asoundlib.h`.\n\nFirst, get the sources and change to the source directory:\n```\n  $ git clone https://github.com/larsimmisch/pyalsaaudio.git\n  $ cd pyalsaaudio\n```\n\nThen, build:\n```\n  $ python setup.py build\n```\n\nAnd install:\n```\n  $ sudo python setup.py install\n```\n\n# Using the API\nThe API documentation is included in the doc subdirectory of the source\ndistribution; it is also online on [http://larsimmisch.github.io/pyalsaaudio/](http://larsimmisch.github.io/pyalsaaudio/).\n\nThere are some example programs included with the source:\n\n* [playwav.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/playwav.py) plays back a wav file\n* [playbacktest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/playbacktest.py) plays back raw sound data read from stdin\n* [recordtest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/recordtest.py) captures sound from the microphone and writes\nit raw to stdout.\n* [mixertest.py](https://github.com/larsimmisch/pyalsaaudio/blob/master/mixertest.py) can be used to manipulate the mixers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsimmisch%2Fpyalsaaudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsimmisch%2Fpyalsaaudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsimmisch%2Fpyalsaaudio/lists"}