Files
galdr/Cargo.toml
T
Bendik Aagaard LynghaugandClaude Fable 5.1 f9f06568bf audio: render only the frames PipeWire requests per cycle
The process callback filled the whole mapped buffer every cycle. PipeWire
sizes that buffer by clock.quantum-limit (8192 frames by default) while the
graph drives galdr at the 256-frame quantum we ask for, so each cycle did
~32x the work and everything past the quantum was dropped: choppy output,
constant deadline misses in pw-top, and envelopes that sounded 32x faster
than their settings. Use Buffer::requested (pipewire feature v0_3_49),
clamped to the buffer, with the --latency value as fallback.

tui: typing a glyph no longer advances the cursor to the right.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 22:37:17 +02:00

19 lines
448 B
TOML

[package]
name = "galdr"
version = "0.2.3"
edition = "2021"
description = "A terminal grid synthesizer: signal flows spatially through single-glyph unit generators, voiced by MIDI, rendered low-latency to PipeWire"
license = "MIT"
[profile.release]
lto = true
codegen-units = 1
[dependencies]
anyhow = "1"
pipewire = { version = "0.10", features = ["v0_3_49"] } # Buffer::requested
midir = "0.10"
arc-swap = "1.7"
rtrb = "0.3"
crossterm = "0.29"