Repository navigation
synths pzar modes
Working manual · 0.0.1-alpha · source snapshot 16 November 2026
Y → MORE → CONFIG opens the existing SideMenu interface. LINE A/B contain simple/custom amp mode, pitch-envelope amount (±48 semitones), PD-envelope amount (±100%), tuning (±24 semitones) and level. Six envelope groups edit each line's pitch, PD and amplitude independently. Every group provides 2–8 stages, time and target level per stage, sustain/release stages, loop range, loop enable, tempo sync and a global curvature of −100 to +100. Stage indices in CONFIG are zero-based. The last target is always zero. Count and loop edits clamp dependent indices so invalid patches cannot be created through these menus.
Unsynced segment time is 0.001 + (rate/255)^2 * 8 seconds. Synced time is
(1/64 + (rate/255)^2 * 8) beats. A held gate sustains or loops; release begins
at the configured release stage from the current level and always ends at zero.
The shared Envelope processor retains elapsed time on live edits. Pitch/PD
envelopes have no audible effect until their signed amount is raised.
SIMPLE amplitude explicitly maps the four panel ADSR controls to three stages. CUSTOM uses that line's saved multistage program; panel ADSR edits do not erase it. Switch SIMPLE/CUSTOM in the line menu. The panel's small AMP graph shows line A's effective envelope, including a release after the held interval.
The shared four-source modulation page is reached below the panel. It provides four routes per source to PD A/B, SHAPE, MORPH A/B, DETUNE, MIX, XDEPTH, pitch and amplitude. AMT and route DEPTH both apply, including signed values. Routes run every 32 samples; the six envelope instances run per sample. Primary values smooth over roughly 5 ms; mode changes crossfade for 3 ms. Cross-PD is audio rate.
All modes use shared sine lookup and bounded phase mapping. With zero PD, modes 01–08 return the fundamental sine. These are new CZ-inspired implementations: there is no PHAZE source in this checkout. Existing PHASE model 5 is unchanged. No claim of bit-exact PHAZE or CZ hardware emulation is made.
S below means SHAPE, M means the selected line's MORPH, and D means PD.
| ID | Mode | Actual mapping / secondary controls |
|---|---|---|
| 01 | SAW | D/S compress a piecewise-linear half-cycle knee |
| 02 | SQUARE | D/S compress the knee independently in both half cycles |
| 03 | PULSE | S sets a phase-hold interval; D blends the held/ramped map |
| 04 | DOUBLE | D blends fundamental and double sine; M bends the doubled carrier |
| 05 | SAW-PULSE | S sets the first-half knee, M the second-half ramp width |
| 06 | RESO 1 | S selects a 1–16-cycle carrier under a descending window |
| 07 | RESO 2 | S selects a 2–16-cycle carrier under a triangular window |
| 08 | RESO 3 | S selects a 1–21-cycle carrier; M shapes a second cosine window |
| 09 | TRIANGLE | D/S interpolate phase toward a cubic smoothstep |
| 10 | PWM | S moves a continuous phase knee from 4% to 96% |
| 11 | FOLD | S sets repeated reflected phase traversal; M offsets folds |
| 12 | WRAP | S sets wrapped traversal count; M shifts wrap position |
| 13 | SKEW | S controls signed quadratic acceleration |
| 14 | BEND | S controls rational phase acceleration |
| 15 | PINCH | S blends centered linear/cubic phase compression |
| 16 | MIRROR | S sets the phase reflection point |
| 17 | FORMANT | S sets windowed harmonic carrier; M adds phase modulation |
| 18 | HARMONIC | S selects integer harmonics 1–16; M bends their phase |
| 19 | SPECTRAL | Second/fifth-harmonic phase perturbation; S scales fifth, M offsets it |
| 20 | WINDOW | S narrows a triangular window; M sets carrier multiplication |
| 21 | SYNC | S sets fractional carrier cycles reset by the fundamental |
| 22 | RING | S sets multiplier frequency; M offsets multiplier phase |
| 23 | FM-PD | S sets PM ratio; M sets knee compression |
| 24 | BITPHASE | S sets 4–64 phase levels; M moves the pre-quantization knee |
| 25 | MORPH | S blends knee and quadratic maps; M moves the knee |
| 26 | VECTOR | S blends quadratic/square-root maps; M blends in a movable knee |
| 27 | CROSS-PD | S sets knee; M sets sensitivity to the other line's previous output |
| 28 | CHAOS | S sets bounded nested phase modulation; M sets feedback sensitivity |
| 29 | STEP | S selects 2–16 steps; M interpolates between held and ramped steps |
| 30 | MOTION | Slow moving knee; S sets excursion and M harmonic movement |
| 31 | TABLE | Compiled Table-velocity phase map; M rotates its phase origin |
| 32 | DRAW | Smooth custom map; M adds a small second-harmonic phase bend |
Not every secondary control affects every algorithm; e.g. SAW uses D/S and DOUBLE uses D/M. All mode implementations are explicit, with no fallback alias. Mode names describe synthesis families, not an analog waveform/filter model.
Edit a normal Contour Table, then select its decimal ID in CONFIG → TABLE CURVE.
Each row velocity becomes a positive traversal weight (1 + velocity, empty=128).
The normalized cumulative weights give 17 monotonic points. Notes and FX are
not interpreted as phase points. This phase reference is independent of the
module's sequenced Table assignment; to open the same Table via Select+Right,
assign that ID in the normal TABLE field. Missing phase Tables use the saved
fallback curve. −1 selects the fallback explicitly.
DRAW uses CONFIG → DRAW CURVE and the existing controller value menu to edit 15 interior points. Endpoints stay 0/255; neighboring points bound edits. A smoothstep interpolation produces the 257-entry lookup outside audio. TABLE uses linear interpolation. Both share immutable prepared data across voices. Editing a referenced Table rebuilds the prepared oscillator bank outside the callback; active voices adopt it through the existing snapshot mechanism.
Normal project saves retain the Table reference and embedded fallback. CTS exports snapshot the current curve and clear the reference so another project's unrelated Table cannot alter the imported sound. Numeric preset morphs interpolate continuous matrix values; envelope programs/curves follow the selected preset rather than interpolating topology.
| Documentation still to add |
|---|
| Annotated current-build screenshots and a recorded controller walkthrough for this topic. |
Repository sources used for this page:
docs/pzar.md
This is a documentation/source review, not a new runtime or hardware test. Physical response, screenshots and listening examples still need verification on a recorded build.