Skip to main content

Control JACK audio with ALSA driver easily

Project description

jack-alsa-ctl

PyPI

Control JACK audio with ALSA driver (or ALSA only) easily.

Dependencies

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

  • jack_control (only required by get_card and set_card)
  • amixer

In addition, JACK server should be configured to use ALSA driver.

Installation

From pypi (recommended):

pip install jack-alsa-ctl

From git repo (for dev version)

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

Or clone and install locally (for dev):

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

Usage

CLI

Use the command jack-alsa-ctl directly:

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

See help messages for more usage.

Library

from jack_alsa_ctl.lib import get_jack_card
print(get_jack_card())

LICENSE

AGPL-3.0. Copyright notice:

jack-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/>.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jack-alsa-ctl-2.0.2.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

jack_alsa_ctl-2.0.2-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file jack-alsa-ctl-2.0.2.tar.gz.

File metadata

  • Download URL: jack-alsa-ctl-2.0.2.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for jack-alsa-ctl-2.0.2.tar.gz
Algorithm Hash digest
SHA256 b2949a02fc6f2d53204b59845f099aab38091072973c94540a7f6c7bd00bf451
MD5 ae134032a744b168e3560676ff1dfb58
BLAKE2b-256 4d092b88849309526ceae53cc03269cde7ec87d0dfb4ada108b603c9c55d8cc1

See more details on using hashes here.

File details

Details for the file jack_alsa_ctl-2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jack_alsa_ctl-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab704f0965b57b49fa966dabb3520178d676a1316a52d82c75cefa48ae95a432
MD5 4c103c1dfd99dd7fb2ecce16ad955145
BLAKE2b-256 aeac9fe75c882502e7bc843b1385622cd4e4b05ddb9777bacb0972663d02c9ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page