Skip to main content

pyvmancer

Python library and CLI to automate the LZX Industries Videomancer over USB.

Two control paths, usable together or independently:

Path Transport Covers
USB MIDI ALSA rawmidi or any mido backend 12 parameters (7/14-bit CC), preset recall, note triggers, clock/transport
USB serial /dev/ttyACM* or libusb programs, presets, modulation operators, video, settings, filesystem

Install

pip install pyvmancer            # MIDI only
pip install "pyvmancer[all]"     # adds serial and libusb transports

On Linux the python-rtmidi dependency links libasound.so.2:

sudo apt-get install libasound2t64

Use

import pyvmancer as vm

d = vm.Videomancer.open()

d.load_program("Isotherm")
d.set_named("Posterize", 5)        # native units: Posterize is 0..7
d.set_named("Mix", 80)             # Mix is 0..100
d.set_source("Contrast", "free lfo")

d.set_param(1, 0.75)               # or address slots directly, 0.0..1.0
d.set_param(7, True)               # toggles take bools
d.trigger(4)                       # note-trigger a modulation operator

d.set_bpm(128)
d.play()
d.close()

MIDI only, no serial link needed:

with vm.open_midi(channel=1) as m:
    m.set_param(1, 0.5)
    m.select_preset(3)
    m.run_clock(120, beats=8)

CLI

vmancer devices                 # discover attached units and their device nodes
vmancer operators               # list the 25 modulation operators
vmancer set 1=0.5 7=on          # set parameters over MIDI
vmancer preset 3                # recall a preset
vmancer programs                # list installed FPGA programs
vmancer load Isotherm           # load a program
vmancer shell modulation status # run any raw shell command

Permissions

MIDI needs read/write on /dev/snd/midiC*D* (usually granted by a desktop ACL); serial needs the dialout group or an ACL on /dev/ttyACM*. See docs/permissions.md.

Docs

Status

Verified against a Videomancer running firmware 1.0.0-rc.37. Not affiliated with LZX Industries.

License

Apache-2.0

Download files

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

Source Distribution

pyvmancer-0.1.0.tar.gz (58.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvmancer-0.1.0-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file pyvmancer-0.1.0.tar.gz.

File metadata

  • Download URL: pyvmancer-0.1.0.tar.gz
  • Upload date:
  • Size: 58.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyvmancer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15b7b233f48841c3e9fae7417b407ab9f354490ff718a66c160154d212265834
MD5 ff6f74d406e267a18c312c2fc350f8bd
BLAKE2b-256 b377ddfcf8d3c13f4ff6d594df4d192f71bdbe8184a6c4cb5ef458b9c1763340

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvmancer-0.1.0.tar.gz:

Publisher: release.yml on anarkiwi/pyvmancer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvmancer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyvmancer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyvmancer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fab4c98e4a395d2152177843d043f9f3f2887a6c0d1a06e3669543dc82dc6aa3
MD5 5b256ece31077cd25eb7b1286f06ad56
BLAKE2b-256 f396a701a0ed0b59f5d12790555b2c1e995aac7c169cd01cf4d5b041ccd2d12b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvmancer-0.1.0-py3-none-any.whl:

Publisher: release.yml on anarkiwi/pyvmancer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page