mirror of
https://github.com/onyx-and-iris/vban-cli.git
synced 2026-04-16 02:23:30 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c3452bff5 | |||
| b0a524d125 | |||
| 2693fcce2c | |||
| bf058e910e |
36
README.md
36
README.md
@@ -51,7 +51,7 @@ export VBAN_CLI_STREAMNAME=Command1
|
|||||||
|
|
||||||
### Strip Command
|
### Strip Command
|
||||||
|
|
||||||
Usage: vban-cli strip \<index> COMMAND [ARGS]
|
*Usage: vban-cli strip \<index> COMMAND [ARGS]*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -65,9 +65,9 @@ vban-cli strip 2 gain -18.7
|
|||||||
|
|
||||||
see `vban-cli strip --help` for more info.
|
see `vban-cli strip --help` for more info.
|
||||||
|
|
||||||
#### Strip EQ
|
##### Strip EQ
|
||||||
|
|
||||||
Usage: vban-cli strip \<index> eq COMMAND [OPTIONS]
|
*Usage: vban-cli strip \<index> eq COMMAND [OPTIONS]*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -77,9 +77,9 @@ vban-cli strip 0 eq on true
|
|||||||
|
|
||||||
see `vban-cli strip eq --help` for more info.
|
see `vban-cli strip eq --help` for more info.
|
||||||
|
|
||||||
#### Strip EQ Cell Command
|
##### Strip EQ Cell Command
|
||||||
|
|
||||||
Usage: vban-cli strip \<index> eq cell \<band> COMMAND [ARGS]
|
*Usage: vban-cli strip \<index> eq cell \<band> COMMAND [ARGS]*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -93,9 +93,23 @@ vban-cli strip 4 eq cell 5 type 5
|
|||||||
|
|
||||||
see `vban-cli strip eq cell --help` for more info.
|
see `vban-cli strip eq cell --help` for more info.
|
||||||
|
|
||||||
#### Strip Gainlayer Command
|
##### Strip Comp Command
|
||||||
|
|
||||||
Usage: vban-cli strip \<index> gainlayer \<gainlayer_index> COMMAND [OPTIONS] [ARGS]
|
*Usage: vban-cli strip \<index> comp COMMAND*
|
||||||
|
|
||||||
|
examples:
|
||||||
|
|
||||||
|
```console
|
||||||
|
vban-cli strip 0 comp attack 2.0
|
||||||
|
|
||||||
|
vban-cli strip 3 comp auto-makeup true
|
||||||
|
```
|
||||||
|
|
||||||
|
see `vban-cli strip comp --help` for more info.
|
||||||
|
|
||||||
|
##### Strip Gainlayer Command
|
||||||
|
|
||||||
|
*Usage: vban-cli strip \<index> gainlayer \<gainlayer_index> COMMAND [OPTIONS] [ARGS]*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -109,7 +123,7 @@ see `vban-cli strip gainlayer --help` for more info.
|
|||||||
|
|
||||||
### Bus Command
|
### Bus Command
|
||||||
|
|
||||||
Usage: vban-cli bus \<index> COMMAND [ARGS]
|
*Usage: vban-cli bus \<index> COMMAND [ARGS]*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -123,7 +137,7 @@ see `vban-cli bus --help` for more info.
|
|||||||
|
|
||||||
### Command Command
|
### Command Command
|
||||||
|
|
||||||
Usage: vban-cli command COMMAND
|
*Usage: vban-cli command COMMAND*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -137,7 +151,7 @@ see `vban-cli command --help` for more info.
|
|||||||
|
|
||||||
### Recorder Command
|
### Recorder Command
|
||||||
|
|
||||||
Usage: vban-cli recorder COMMAND
|
*Usage: vban-cli recorder COMMAND*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
@@ -153,7 +167,7 @@ see `vban-cli recorder --help` for more info.
|
|||||||
|
|
||||||
### Sendtext Command
|
### Sendtext Command
|
||||||
|
|
||||||
Usage: vban-cli sendtext TEXT
|
*Usage: vban-cli sendtext TEXT*
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "vban-cli"
|
name = "vban-cli"
|
||||||
version = "0.9.3"
|
version = "0.10.0"
|
||||||
description = "A command-line interface for Voicemeeter leveraging VBAN."
|
description = "A command-line interface for Voicemeeter leveraging VBAN."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { text = "LICENSE" }
|
license = { text = "LICENSE" }
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = ["cyclopts>=4.6.0", "loguru>=0.7.3", "vban-cmd>=2.8.1"]
|
dependencies = ["cyclopts>=4.6.0", "loguru>=0.7.3", "vban-cmd>=2.9.0"]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
|
|||||||
@@ -63,3 +63,150 @@ def input_gain(
|
|||||||
# app.console.print(ctx.client.strip[index].comp.gainin)
|
# app.console.print(ctx.client.strip[index].comp.gainin)
|
||||||
return
|
return
|
||||||
ctx.client.strip[index].comp.gainin = new_gain
|
ctx.client.strip[index].comp.gainin = new_gain
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='ratio')
|
||||||
|
def ratio(
|
||||||
|
new_ratio: Annotated[float, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the ratio of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_ratio : float, optional
|
||||||
|
If provided, sets the ratio to this value. If not provided, the current ratio is printed.
|
||||||
|
"""
|
||||||
|
if new_ratio is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.ratio)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.ratio = new_ratio
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='threshold')
|
||||||
|
def threshold(
|
||||||
|
new_threshold: Annotated[float, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the threshold of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_threshold : float, optional
|
||||||
|
If provided, sets the threshold to this value. If not provided, the current threshold is printed.
|
||||||
|
"""
|
||||||
|
if new_threshold is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.threshold)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.threshold = new_threshold
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='attack')
|
||||||
|
def attack(
|
||||||
|
new_attack: Annotated[float, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the attack of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_attack : float, optional
|
||||||
|
If provided, sets the attack to this value. If not provided, the current attack is printed.
|
||||||
|
"""
|
||||||
|
if new_attack is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.attack)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.attack = new_attack
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='release')
|
||||||
|
def release(
|
||||||
|
new_release: Annotated[float, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the release of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_release : float, optional
|
||||||
|
If provided, sets the release to this value. If not provided, the current release is printed.
|
||||||
|
"""
|
||||||
|
if new_release is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.release)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.release = new_release
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='knee')
|
||||||
|
def knee(
|
||||||
|
new_knee: Annotated[float, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the knee of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_knee : float, optional
|
||||||
|
If provided, sets the knee to this value. If not provided, the current knee is printed.
|
||||||
|
"""
|
||||||
|
if new_knee is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.knee)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.knee = new_knee
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='output-gain')
|
||||||
|
def output_gain(
|
||||||
|
new_gain: Annotated[float, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the output gain of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_gain : float, optional
|
||||||
|
If provided, sets the output gain to this value. If not provided, the current output gain is printed.
|
||||||
|
"""
|
||||||
|
if new_gain is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.gainout)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.gainout = new_gain
|
||||||
|
|
||||||
|
|
||||||
|
@app.command(name='auto-makeup')
|
||||||
|
def makeup(
|
||||||
|
new_makeup: Annotated[bool, Argument()] = None,
|
||||||
|
*,
|
||||||
|
index: Annotated[int, Parameter(parse=False)],
|
||||||
|
ctx: Annotated[Context, Parameter(parse=False)],
|
||||||
|
):
|
||||||
|
"""Get or set the auto-makeup of the specified compressor.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
new_makeup : bool, optional
|
||||||
|
If provided, sets the auto-makeup to this value. If not provided, the current auto-makeup is printed.
|
||||||
|
"""
|
||||||
|
if new_makeup is None:
|
||||||
|
# See https://github.com/onyx-and-iris/vban-cli?tab=readme-ov-file#implementation-notes - 2.
|
||||||
|
# app.console.print(ctx.client.strip[index].comp.makeup)
|
||||||
|
return
|
||||||
|
ctx.client.strip[index].comp.makeup = new_makeup
|
||||||
|
|||||||
4
uv.lock
generated
4
uv.lock
generated
@@ -124,7 +124,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vban-cli"
|
name = "vban-cli"
|
||||||
version = "0.9.3"
|
version = "0.10.0"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "cyclopts" },
|
{ name = "cyclopts" },
|
||||||
@@ -141,7 +141,7 @@ requires-dist = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vban-cmd"
|
name = "vban-cmd"
|
||||||
version = "2.8.1"
|
version = "2.9.0"
|
||||||
source = { editable = "../vban-cmd-python" }
|
source = { editable = "../vban-cmd-python" }
|
||||||
|
|
||||||
[package.metadata]
|
[package.metadata]
|
||||||
|
|||||||
Reference in New Issue
Block a user