Kaynağa Gözat

Patcher: docs (status, plugins, README, round 141 render tests), fuzz skips the graph editor

Ka1-S 1 ay önce
ebeveyn
işleme
c753e523e8
4 değiştirilmiş dosya ile 28 ekleme ve 8 silme
  1. 1 1
      README.md
  2. 3 2
      docs/PLUGINS.md
  3. 4 3
      docs/STATUS.md
  4. 20 2
      docs/analise/REA_rodada141.md

+ 1 - 1
README.md

@@ -171,7 +171,7 @@ Any knob or fader (channel, mixer, effect, plugin parameter) becomes a clip with
 - Delay, reverb, chorus, filter, distortion, lo-fi
 - Effector (12 algorithms), vocoder with side inputs, pitch correction
 - Volume gate, rhythmic envelope, auto-pan, Linkwitz-Riley crossover
-- Pitch shift, frequency shifter, utility, parallel container (Patcher)
+- Pitch shift, frequency shifter, utility, Patcher (a node graph of effects, instruments and plugins with audio, MIDI and control cables)
 
 </td>
 <td width="33%" valign="top">

+ 3 - 2
docs/PLUGINS.md

@@ -239,8 +239,9 @@ drawn in LYNX's own style, with a presets bar that lists the plugin's FL presets
 grid of knobs.
 
 Also on every insert: LYNX's own Filter, Distortion, Lo-fi, Reverb, Compressor, Limiter, Crossover, Volume gate,
-Rhythmic envelope, Auto-pan and the parallel container (Patcher graphs from FL projects are reduced to it, each effect
-inside running its own engine), plus any VST3/CLAP plugin. FL's Peak, Envelope and Keyboard Controllers are imported
+Rhythmic envelope, Auto-pan and the **Patcher** (round 141): a node graph of effects, instruments and VST3/CLAP plugins
+with audio, note and control cables, delay-compensated like FL's — as a mixer slot or a Channel Rack generator, with
+extra outputs to other inserts; FL projects' Patchers open as the same graph. Plus any VST3/CLAP plugin. FL's Peak, Envelope and Keyboard Controllers are imported
 as LYNX controllers.
 
 ## LYNX originals: the mixing suite

+ 4 - 3
docs/STATUS.md

@@ -107,8 +107,8 @@ out-of-process plugin sandbox. macOS adds Audio Units, Linux LV2; drivers Core A
   Delay 2/3, Delay Bank, Multiband Compressor, Maximus, Soundgoodizer, Fast Dist, Fruity Filter / Fast LP / Free Filter (exact), Newtone / Newtime (state kept, pass-through, source sample in slave mode; Newtone edits rendered by LYNX's engine), Flangus, Flanger, Soft Clipper, WaveShaper, Gross Beat, Effector,
   Love Philter (exact), Frequency Splitter, Stereo Shaper, Stereo Enhancer, Transient Processor,
   Spreader, Balance/PanOMatic (exact), Blood Overdrive (exact), Pitch Shifter and EQUO (exact engines), Hardcore, Distructor and Multiband Delay (exact), Frequency Shifter,
-  Emphasis, Low Lifter, Send, Transporter, Squeeze, Pitcher, Fruity Vocoder (exact); Patcher graphs of any shape are
-  reduced to series/parallel chains.
+  Emphasis, Low Lifter, Send, Transporter, Squeeze, Pitcher, Fruity Vocoder (exact); Patcher graphs of any shape run as
+  the real graph (round 141: nodes, cables with gains, notes, control cables, delay compensation, editor).
 - Generators: 3x Osc on its engine (REA round 47: the three oscillators on FL's host wave tables, stereo detune and
   phase, random start phases, AM, the custom wave from the channel's sample read from the user's installation, the HQ
   band-limited oscillators, and the plugin voice processor 3x Osc keeps, with its release path; bit-identical to FL's
@@ -409,7 +409,8 @@ accordingly. Highlights of what is **confirmed and applied**:
   and export modes, on Linux and Windows builds, with automation, transport positions and 22–96 kHz. The DLL's own
   Delphi math runtime (exp, ln, sin, cos, power, tanh) is re-created (`core/DelphiMath`, shared with the Fruity Vocoder since round 78). The old parametric-EQ
   conversion remains only for states the engine cannot read.
-- **Patcher:** any graph in the demos reduced to series/parallel (nested containers), cables of the right class.
+- **Patcher:** the real graph (REA_rodada141): every node, cable, gain, note and control cable, positions, side-chain
+  pin, extra outputs; FL's "Patcher (effect)" / "Patcher (generator)" render tests match FL (0.01 / 0.04 dB).
 - **Sidechain:** level-0 routes are sidechain links; Fruity Limiter (compression section) and Fruity
   Compressor with a side input listen to the source track (their exact engines below).
 - **Fruity Limiter and Fruity Compressor:** FL's exact engines as mixer effects (`core/FruityDynamics`, REA round 48),

+ 20 - 2
docs/analise/REA_rodada141.md

@@ -84,8 +84,26 @@ The state format was documented in rounds 14/20 (chunks, nodes `5000…5001`, po
   into a 33-point curve; FL's Peak Controller outputs (peak, LFO, peak + LFO) map to LYNX's. Unmapped targets are
   reported.
 - Pins: "N Sidechain" sets the slot's side-chain to insert N; "Insert N" extra outputs set `outputTracks`.
-- Demos (all 24 mixer Patchers and both generator Patchers of FL 2026's Demo projects): import, run finite, and sound
-  — `patcher_demo_graphs_import_and_run` **[TEST + DATA]**.
+- Node names keep FL's old casings ("Fruity delay 2" in FL's own "Patcher (effect)" render test): they are matched
+  case-insensitively (`canonicalFlEffectName`) — before this, such nodes were silently dropped by the flattening.
+- Control cables whose source has no LYNX control output (X-Y controller, Control Surface: pass-through placeholders)
+  are left out, so their targets keep the value FL saved instead of being pinned to 0 (that silenced both "Stroll Up"
+  Patchers in a first pass) **[TEST]**.
+- Labels and pin names are decoded as UTF-16 (v4) / Windows-1252 (v3) to UTF-8.
+- FL's positions are spread ×2.0 / ×1.6 (FL's boxes are smaller; dense demo graphs sit ~60 px apart).
+- Demos (all 24 mixer Patchers and the 3 generator Patchers of FL 2026's Demo projects): 280 nodes and 76 control
+  cables imported; every graph runs finite and sounds with a noise input — `patcher_demo_graphs_import_and_run`
+  **[TEST + DATA]**.
+
+### 3.1 Against FL's own renders **[DATA: `FL64.exe /R /Ewav`, `/mnt/d/lynx-work/patcher141/render`]**
+
+FL ships two render tests for the Patcher (`Data/System/Render tests/Patcher (effect).flp`, `Patcher (generator).flp`).
+FL renders vs LYNX's `renderwav` (un-normalized, same length):
+
+| Project | FL | LYNX | Note |
+|---|---|---|---|
+| Patcher (effect): 3x Osc → Patcher { Control Surface, Fruity Delay 2 (input pan 66, mode 2) } | L −19.90 / R −22.31 dB RMS, peak −5.71 / −10.12 | L −19.90 / R −22.31, peak −5.71 / −10.12 | identical to 0.01 dB |
+| Patcher (generator): { Sytrus ← Notes, → out } | L −11.73 dB RMS, peak −2.41 | L −11.69, peak −2.36 | sample correlation 0.998 |
 
 ## 4. Editor (`ui/PatcherEditor.cpp`)