{"id":28281157,"url":"https://github.com/wevah/sndctl","last_synced_at":"2025-07-19T23:36:31.344Z","repository":{"id":65845484,"uuid":"109913232","full_name":"Wevah/sndctl","owner":"Wevah","description":"A small utility for controlling sound output from the command line on macOS.","archived":false,"fork":false,"pushed_at":"2023-02-14T20:04:36.000Z","size":103,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-16T22:41:13.290Z","etag":null,"topics":["audio","macos"],"latest_commit_sha":null,"homepage":null,"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/Wevah.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-08T01:45:54.000Z","updated_at":"2025-06-12T16:59:35.000Z","dependencies_parsed_at":"2023-02-24T14:00:13.094Z","dependency_job_id":null,"html_url":"https://github.com/Wevah/sndctl","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Wevah/sndctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wevah%2Fsndctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wevah%2Fsndctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wevah%2Fsndctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wevah%2Fsndctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wevah","download_url":"https://codeload.github.com/Wevah/sndctl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wevah%2Fsndctl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266042019,"owners_count":23867960,"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":["audio","macos"],"created_at":"2025-05-21T11:15:45.073Z","updated_at":"2025-07-19T23:36:31.332Z","avatar_url":"https://github.com/Wevah.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sndctl\n\nv1.3.1 (2023)\nby Nate Weaver (Wevah)  \nhttps://derailer.org/\n\nA small utility for controlling sound output from the command line on macOS.\n\n\u003cpre class=\"shell\"\u003e$ sndctl -v \u003cvar\u003evolume\u003c/var\u003e\n$ sndctl -b \u003cvar\u003ebalance\u003c/var\u003e\u003c/pre\u003e\n\nVolume and balance are from `0.0` to `1.0`, translated to volume as min/max, and to balance as left/right.  \nFor balance, `l`, `r`, and `c`, are aliases for `0.0`, `1.0`, and `0.5`, respectively.\n\nCapitalize `V` or `B` to display the volume or balance.\n\nPass `--visual` with `V` and/or `B` to display volume and balance as ASCII sliders.\n\nList output devices and supported properties with `--list`/`-l` (colored if `CLICOLOR` is set):\n\n```console\n$ sndctl -l\n44: Display Audio\n    has volume:  yes\n    has balance: yes\n65: External Headphones\n    has volume:  yes\n    has balance: no\n53: MacBook Pro Speakers\n    has volume:  yes\n    has balance: no\n```\n\n(See the man page/help for more options.)\n\nI originally wrote this to easily correct the output balance after rebooting:\n\n\u003cpre class=\"shell\"\u003e$ sndctl -b c\u003c/pre\u003e\n\nNote: Getting/setting the balance on some outputs on Apple Silicon macs doesn't work.\n\n----\n\n© 2017-2023 Nate Weaver (Wevah)/Derailer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwevah%2Fsndctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwevah%2Fsndctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwevah%2Fsndctl/lists"}