New sources ctl1..ctl8 (knobs) and pad (a hit's velocity, decaying over a quarter second). --midi [NAME] opens a MIDI input; the first eight CCs that move become the knobs, or --midi-cc 21,22,... fixes the mapping, and note-ons hit the pad. --osc PORT takes /sigil/ctl/1..8 and /sigil/pad over UDP. --midi-ports lists the inputs. Listener threads write atomics that the live loop copies into the frame's Bands. Renders and the preview never open controllers, so their sources stay 0 and output stays reproducible. Tested end to end through an ALSA virtual port and a UDP socket; the live window itself was not run (no display with a GPU here). Windows cross-check builds.
31 lines
801 B
TOML
31 lines
801 B
TOML
[package]
|
|
name = "audio-visualizer"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
cpal = "0.18"
|
|
rustfft = "6"
|
|
ringbuf = "0.5"
|
|
anyhow = "1"
|
|
pollster = "0.3"
|
|
wgpu = "0.17"
|
|
nannou = "0.19"
|
|
nannou_egui = "0.19"
|
|
triple_buffer = "9"
|
|
symphonia = { version = "0.6", features = ["mp3", "isomp4", "aac", "flac", "vorbis", "ogg", "wav", "pcm"] }
|
|
clap = { version = "4", features = ["derive"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
ron = "0.12"
|
|
ab_glyph = "0.2"
|
|
notosans = "0.1"
|
|
sigil-model = { path = "../sigil-model" }
|
|
midir = "0.11.1"
|
|
rosc = "0.11.4"
|
|
|
|
[dev-dependencies]
|
|
# Validates the mode shaders in `cargo test` without a GPU (same naga as wgpu).
|
|
naga = { version = "0.13", features = ["wgsl-in", "validate"] }
|
|
|
|
# Release profile lives at the workspace root (member profiles are ignored).
|