Skip to main content

alsa-ctl

PyPI

Control audio using ALSA API easily.

Dependencies

alsa-ctl depends on the following programs in your PATH:

  • amixer

Installation

From pypi (recommended):

pip install alsa-ctl

From git repo (for dev version)

pip install git+https://github.com/DCsunset/alsa-ctl

Or clone and install locally (for dev):

git clone https://github.com/DCsunset/alsa-ctl
cd alsa-ctl
pip install .

Usage

CLI

Use the command alsa-ctl directly:

alsa-ctl --help
alsa-ctl get_card
alsa-ctl get_volume

See help messages for more usage.

Library

from alsa_ctl.lib import list_cards
print(list_cards())

LICENSE

AGPL-3.0. Copyright notice:

alsa-ctl
Copyright (C) 2022-2023 DCsunset

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Release files for alsa-ctl 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alsa-ctl 0.1.3
File Size Uploaded
alsa-ctl-0.1.3.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alsa-ctl 0.1.3
File Interpreter ABI Platform
alsa_ctl-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / alsa-ctl-0.1.3.tar.gz

Download URL alsa-ctl-0.1.3.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
22d23532ac25d1ce0a860f025e59c5e36741b1ba4900de8535ec4282df51d8c0
BLAKE2b-256 checksum
How to use checksums
90b205093bf8756fb20d3a460e356ed4c69bcf1b9502a1bf1d13602c3b529eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / alsa_ctl-0.1.3-py3-none-any.whl

Download URL alsa_ctl-0.1.3-py3-none-any.whl
Size 19.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f94a1e37fb11d8003581bd77a1e7ef1eb7d91602eab57a5fb8d6084aaf384e9e
BLAKE2b-256 checksum
How to use checksums
ac916a1c4728b81029eb064b5c9373ddbdf5499e196b4cae6afc95e008ae8c2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page