{"id":15056453,"url":"https://github.com/kopera/erlang-alsa","last_synced_at":"2025-04-10T04:11:08.284Z","repository":{"id":57478844,"uuid":"227159392","full_name":"kopera/erlang-alsa","owner":"kopera","description":"Erlang Alsa (libasound2) bindings","archived":false,"fork":false,"pushed_at":"2020-09-15T11:38:31.000Z","size":102,"stargazers_count":10,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T05:26:39.116Z","etag":null,"topics":["alsa","audio","erlang","erlang-alsa","libasound2","linux","mixer"],"latest_commit_sha":null,"homepage":null,"language":"C","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/kopera.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":"2019-12-10T15:53:42.000Z","updated_at":"2021-03-28T12:45:07.000Z","dependencies_parsed_at":"2022-09-17T04:21:55.170Z","dependency_job_id":null,"html_url":"https://github.com/kopera/erlang-alsa","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopera%2Ferlang-alsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopera%2Ferlang-alsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopera%2Ferlang-alsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopera%2Ferlang-alsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kopera","download_url":"https://codeload.github.com/kopera/erlang-alsa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737787,"owners_count":20987735,"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":["alsa","audio","erlang","erlang-alsa","libasound2","linux","mixer"],"created_at":"2024-09-24T21:51:37.018Z","updated_at":"2025-04-10T04:11:08.264Z","avatar_url":"https://github.com/kopera.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alsa\n\nErlang Alsa (libasound2) bindings.\n\nThe Alsa application allows for capture and playing audio through the Linux Alsa\ninterface.\n\n# Setup\n\nYou need to add `alsa` as a dependency to your project. If you are using `rebar3`,\nyou can add the following to your `rebar.config`:\n\n```erlang\n{deps, [\n    {alsa, \"0.2.3\"}\n]}.\n```\n\nAlso ensure that `alsa` is added as a dependency to your application, by updating\nyour `.app.src` file:\n\n```erlang\n{application, my_app, [\n\n    {applications, [\n        kernel,\n        stdlib,\n\n        alsa  % \u003c- You need this in your applications list\n    ]}\n]}.\n```\n\n# Usage\n\nFor usage please refer to the examples in the examples directory. You can also\ntest the examples directly from the shell:\n\n```\n$ rebar3 shell\n```\n\nAnd then, once inside the erlang shell:\n\n```erlang\n1\u003e c(\"examples/alsa_example_pcm.erl\").\n{ok,alsa_example_pcm}\n2\u003e alsa_example_pcm:play(\"default\", alsa_example_pcm:generate_noise(5000)).\nok\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkopera%2Ferlang-alsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkopera%2Ferlang-alsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkopera%2Ferlang-alsa/lists"}