add lightcontrol rust tool
Three binaries against the c-base mainhall rig: - lightcontrol: TUI with 15 animated presets, live matelight-sync via the /monitor WebSocket, and a microphone beat detector that drives the BeatPulse preset across RGB PARs, CB-100 colour-wheels, and TSL-250 scanners. - panels: one-shot RGB wash for the Showtec LED Par 56 wall panels via dmxbackend. - bars: ArtNet direct driver for the Stairville SonicPulse LED bars, with ArtPoll discovery and a universe sweeper. Shared lib code (fixture model, render pipeline, matelight + beat modules) lives in src/lib.rs. Mic feature behind the default `mic` cargo feature so builds without ALSA dev libs work via --no-default-features. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
de43fa4ea4
commit
55bd37cd99
10 changed files with 6401 additions and 0 deletions
23
Cargo.toml
Normal file
23
Cargo.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[package]
|
||||
name = "lightcontrol"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = ["mic"]
|
||||
mic = ["dep:cpal"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
cpal = { version = "0.15", optional = true }
|
||||
crossterm = "0.28"
|
||||
futures-util = { version = "0.3", default-features = false, features = ["sink"] }
|
||||
ratatui = "0.29"
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
|
||||
tokio-tungstenite = "0.24"
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
Loading…
Add table
Add a link
Reference in a new issue