Add named layer DSL surface

This commit is contained in:
Meta Vens 2026-05-14 20:25:59 +01:00
commit 62ea9bee17
11 changed files with 188 additions and 27 deletions

View file

@ -134,6 +134,12 @@ The current external-bank pressure survey is in
signal is that named kit/layer routing should probably precede syntax golf for
PAD, additive banks, or formant motion.
The first language-golf response is `layer`: a named layer declaration owns
engine tags, optional MIDI key range metadata, default gain, and an effect-send
label while lowering to ordinary Aquarium voices. It is intentionally only an
ownership/routing scaffold for now; it does not add PAD synthesis, free
envelopes, or effect buses by stealth.
Sources:
- [ZynAddSubFX](https://github.com/zynaddsubfx/zynaddsubfx)

View file

@ -61,3 +61,16 @@ Reason: the worst Zyn instruments repeatedly combine multiple kit items and
engines. A named layer surface would give additive banks, PAD sources, free
envelopes, and formant motion somewhere coherent to live later. Without it, the
next abstractions risk becoming loose fields on anonymous voices.
## First Response
Aquarium now has a minimal `layer` command:
```text
layer name=pad_low engine=pad min_key=36 max_key=84 gain=.07
voice layer=pad_low freq=130.8128
```
The layer owns source identity and metadata while current lowering still emits
ordinary voices. This is the scaffold needed before promoting PAD sources,
additive harmonic banks, free envelopes, or richer formant motion.