{"id":43996414,"url":"https://github.com/yobert/alsa","last_synced_at":"2026-02-07T11:35:29.938Z","repository":{"id":25062852,"uuid":"88298425","full_name":"yobert/alsa","owner":"yobert","description":"golang alsa client implementation","archived":false,"fork":false,"pushed_at":"2024-03-26T16:32:02.000Z","size":719,"stargazers_count":78,"open_issues_count":5,"forks_count":20,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-13T10:51:54.863Z","etag":null,"topics":["alsa","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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/yobert.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":"2017-04-14T19:54:52.000Z","updated_at":"2025-10-06T21:48:41.000Z","dependencies_parsed_at":"2023-02-14T23:46:12.600Z","dependency_job_id":null,"html_url":"https://github.com/yobert/alsa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yobert/alsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobert%2Falsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobert%2Falsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobert%2Falsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobert%2Falsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yobert","download_url":"https://codeload.github.com/yobert/alsa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobert%2Falsa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29193676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"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":["alsa","golang"],"created_at":"2026-02-07T11:35:29.217Z","updated_at":"2026-02-07T11:35:29.934Z","avatar_url":"https://github.com/yobert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://godoc.org/github.com/yobert/alsa?status.svg)](https://godoc.org/github.com/yobert/alsa)\n\nSynopsis\n--------\nThis is a golang ALSA client implementation, without cgo! Unfortunately,\ndoing it without cgo means throwing away many years of compatibility work\nthat has been put into libalsa. So be warned, this library is not likely\nto work with a lot of the more colorful audio cards out there, and is not\nlikely to work on platforms other than x86_64. (Though, someone has nicely\ndone some work on ARM. Thanks!)\n\nBut fear not! Go is fun, and I tried to keep the library on the simple\nside, so adding in support for what your audio card needs might actually\nbe just a nice afternoon of programming. The hardest part for me was just\ntrying to understand all of the alsa terminology.\n\nFor a simple example of synthesized playback, the beep command will produce\na sine wave for a few seconds on each detected ALSA output:\n\n    go get github.com/yobert/alsa/cmd/beep\n    $GOPATH/beep\n\nAnd for recording from a microphone into a WAV file:\n\n    go get github.com/yobert/alsa/cmd/record\n    $GOPATH/record\n\nThis example does recording and playback, but it's got a really\nbuggy ring buffer going on:\n\n    go get github.com/yobert/alsa/cmd/echoback\n    $GOPATH/echoback\n\nDisclaimer\n----------\nThis module makes syscalls with pointers to memory buffers that are in garbage collectable memory. I have a feeling this isn't safe, but it hasn't crashed on me yet.\n\nContributors\n------------\nThanks so much for the help! Thanks! See AUTHORS for a list. Pull requests\nwelcome from anybody, regardless of skill level.\n\nSee Also\n--------\nYou may be interested in https://github.com/jfreymuth/pulse which is a lot less likely to crash and will probably work with your sound card.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyobert%2Falsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyobert%2Falsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyobert%2Falsa/lists"}