Skip to main content

vban-cli

uv Ruff


Table of Contents

Installation

With uv

uv tool install vban-cli

With pipx

pipx install vban-cli

The CLI should now be discoverable as vban-cli


Configuration

Flags

vban-cli --host=localhost --port=6980 --streamname=Command1

Environment Variables

example .envrc:

#!/usr/bin/env bash

export VBAN_CLI_HOST="localhost"
export VBAN_CLI_PORT=6980
export VBAN_CLI_STREAMNAME=Command1

Use

Strip Command

Usage: vban-cli strip <index> COMMAND [OPTIONS]

examples:

vban-cli strip 0 mute true

vban-cli strip 1 A1 true

vban-cli strip 2 gain -18.7

see vban-cli strip --help for more info.

Strip EQ

Usage: vban-cli strip <index> eq COMMAND [OPTIONS]

examples:

vban-cli strip 0 eq on true

see vban-cli strip eq --help for more info.

Strip EQ Cell Command

Usage: vban-cli strip <index> eq cell <band> COMMAND [ARGS]

examples:

vban-cli strip 0 eq cell 0 on false

vban-cli strip 3 eq cell 2 freq 1500

vban-cli strip 4 eq cell 5 type 5

see vban-cli strip eq cell --help for more info.

Strip Comp Command

Usage: vban-cli strip <index> comp COMMAND [OPTIONS]

examples:

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 Gate Command

Usage: vban-cli strip <index> gate COMMAND [OPTIONS]

examples:

vban-cli strip 2 gate attack 634

vban-cli strip 5 gate hold 2088.7

see vban-cli strip comp --help for more info.

Strip Denoiser Command

Usage: vban-cli strip <index> denoiser COMMAND [OPTIONS]

examples:

vban-cli strip 4 denoiser knob 3.6

see vban-cli strip denoiser --help for more info.

Strip Gainlayer Command

Usage: vban-cli strip <index> gainlayer <gainlayer_index> COMMAND [OPTIONS] [ARGS]

examples:

vban-cli strip 0 gainlayer 0 level

vban-cli strip 3 gainlayer 2 level -13.5

see vban-cli strip gainlayer --help for more info.

Bus Command

Usage: vban-cli bus <index> COMMAND [OPTIONS]

examples:

vban-cli bus 0 mode tvmix

vban-cli bus 1 mute true

see vban-cli bus --help for more info.

Command Command

Usage: vban-cli command COMMAND

examples:

vban-cli command show

vban-cli command restart

see vban-cli command --help for more info.

Recorder Command

Usage: vban-cli recorder COMMAND

examples:

vban-cli recorder play

vban-cli recorder pause

vban-cli recorder goto "00:01:30"

see vban-cli recorder --help for more info.

Sendtext Command

Usage: vban-cli sendtext TEXT

examples:

To Voicemeeter

vban-cli sendtext 'Strip[0].Mute=1;Bus[0].Mono=2'

To Matrix

vban-cli sendtext 'Command.Version = ?'

vban-cli sendtext 'Point(ASIO128.IN[1..4],ASIO128.OUT[1]).dBGain = -3.0'

see vban-cli sendtext --help for more info.

Shell Completion

Shell completion scripts are available for bash, zsh, and fish.

vban-cli --install-completion

Implementation Notes

  1. The VBAN RT SERVICE subprotocol defines two packet structures ident:0 and ident:1. Neither of them contain the data for Bus EQ parameters.
  2. Packet structure with ident:1 is emitted by the VBAN server only on pdirty events. This means we do not receive the current state of those parameters on initial subscription. Therefore any commands which are intended to fetch the value of parameters defined in packet ident:1 will not work in this CLI.
  3. Packet structure with ident:1 defines parameteric EQ data only for the first channel.
  4. There doesn't appear to be any way to retrieve the current recorder status, ie, recording, playing, stopped etc. I don't see the data available in either packet structures ident:0 or ident:1.

Further Notes

I've made the effort to set up the basic skeletal structure of the CLI as well as demonstrate how to combine subcommand groups with subcommand groups so more can be implemented, it just needs doing. There may be restrictions on some things however, for example, retrieving values is only possible for parameters defined in the protocol. Setting parameters can be done for anything possible by a string request.

If there's something missing that you would like to see added the best bet is to submit a PR. You may raise an issue and if it's quick and simple to do I may (or may not) do it.


License

vban-cli is distributed under the terms of the MIT license.

Metadata

Release files for vban-cli 0.12.7

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

Source distribution (sdist)

Source distribution for vban-cli 0.12.7
File Size Uploaded Provenance
vban_cli-0.12.7.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vban-cli 0.12.7
File Interpreter ABI Platform
vban_cli-0.12.7-py3-none-any.whl Python 3 none any Details

Total release size: 24.9 kB

Release files / vban_cli-0.12.7.tar.gz

Download URL vban_cli-0.12.7.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
36d38a22901557b29b8b9e4bd9d10f9af2de2f1ded041867fce3134910379afb
BLAKE2b-256 checksum
How to use checksums
5a759f5db2fc22145983e61b53eebc0e8b01a5c06ee039aa48ab9bcd551e0ed9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vban_cli-0.12.7-py3-none-any.whl

Download URL vban_cli-0.12.7-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
736a10905640b39b629b53bf85eda95d3182df6f61e950becae8d0edcd6aaa77
BLAKE2b-256 checksum
How to use checksums
5762edc6cd7420193e625c6b7d11f80ad059c1833cff406693eeab5f277cedbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for vban-cli 0.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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