Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcsunset/jack-alsa-ctl
Control JACK audio with ALSA driver easily
https://github.com/dcsunset/jack-alsa-ctl
Last synced: 3 days ago
JSON representation
Control JACK audio with ALSA driver easily
- Host: GitHub
- URL: https://github.com/dcsunset/jack-alsa-ctl
- Owner: DCsunset
- License: agpl-3.0
- Created: 2022-10-23T17:43:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-19T20:00:31.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T08:54:59.865Z (about 2 months ago)
- Language: Python
- Size: 78.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# jack-alsa-ctl
[![PyPI](https://img.shields.io/pypi/v/jack-alsa-ctl)](https://pypi.org/project/jack-alsa-ctl/)
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 started and managed by jack_control and configured to use ALSA driver.
## Installation
From pypi (recommended):
```sh
pip install jack-alsa-ctl
```From git repo (for dev version)
```sh
pip install git+https://github.com/DCsunset/jack-alsa-ctl
```Or clone and install locally (for dev):
```sh
git clone https://github.com/DCsunset/jack-alsa-ctl
cd jack-alsa-ctl
pip install .
```## Usage
### CLI
Use the command `jack-alsa-ctl` directly:
```sh
jack-alsa-ctl --help
jack-alsa-ctl get_card
jack-alsa-ctl get_volume
```See help messages for more usage.
### Library
```py
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 DCsunsetThis 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 .