Repository navigation
synths pzar
Working manual · 0.0.1-alpha · source snapshot 16 November 2026
Current synth model 33 (decimal). Create it in Synths with A on an empty cell, choose PZAR, then enter Synth Edit. Existing projects can also reach it from a Phrase synth reference.
D-pad selects a control. Hold A with Left/Right for a fine edit or Up/Down for a coarse edit. Double-A restores a supported control default. Output GAIN/PAN/DRY/SB1–SB4 belongs to the shared output section. Save the project for allocation and arrangement; export CTS for a reusable patch.
Choose MODE A SAW, LINE A and start PD A at zero. Trigger a held note and raise PD A: the fundamental sine acquires the selected phase-distortion character. Change SHAPE, then try LINE A+B, raise PD B and adjust MIX/DETUNE. Pitch/PD envelope programs need a nonzero signed amount in CONFIG to affect the sound.
These are suggested starting exercises derived from the controls, not newly auditioned factory presets. Shared synth workflow explains allocation and saving.
Defaults below are decimal, followed by their hexadecimal byte. These are stored controls, not physical units. The model-specific mapping below defines seconds, hertz, ratios and enumerations.
| Matrix | Tracker FX | Control | Default decimal / hex | Meaning |
|---|---|---|---|---|
| PA1 | P1A | MODE A | 0 / 00
|
See parameter mapping below. |
| PA2 | P1B | LINE | 0 / 00
|
See parameter mapping below. |
| PA3 | P1C | MODE B | 0 / 00
|
See parameter mapping below. |
| PA4 | P1D | SHAPE | 128 / 80
|
See parameter mapping below. |
| PB1 | P2A | PD A | 0 / 00
|
See parameter mapping below. |
| PB2 | P2B | PD B | 0 / 00
|
See parameter mapping below. |
| PB3 | P2C | MORPH A | 128 / 80
|
See parameter mapping below. |
| PB4 | P2D | MORPH B | 128 / 80
|
See parameter mapping below. |
| PC1 | P3A | DETUNE | 128 / 80
|
See parameter mapping below. |
| PC2 | P3B | MIX | 128 / 80
|
See parameter mapping below. |
| PC3 | P3C | XMOD | 0 / 00
|
See parameter mapping below. |
| PC4 | P3D | XDEPTH | 0 / 00
|
See parameter mapping below. |
| PD1 | P4A | ATTACK | 4 / 04
|
See parameter mapping below. |
| PD2 | P4B | DECAY | 80 / 50
|
See parameter mapping below. |
| PD3 | P4C | SUSTAIN | 220 / DC
|
See parameter mapping below. |
| PD4 | P4D | RELEASE | 64 / 40
|
See parameter mapping below. |
PZAR is model 33: one dual-line synthesizer with 32 modes per line. Create it in
SYNTH, then enter SYNTH EDIT. The normal D-pad/A editing, matrix FX, macros,
voice allocation, output gain/pan and DRY/SB1–SB4 routing apply. The authored
Pulse/Text/Flash panel and thumbnail ship in Asset/Glyphs/SynthPanels/Synths.
| Matrix / stored ID | Control | Mapping |
|---|---|---|
| 0 / 1 | MODE A | 0–31 stored, 01–32 displayed |
| 1 / 2 | LINE | A, B, A+B, A+A |
| 2 / 3 | MODE B | 0–31 stored, 01–32 displayed |
| 3 / 4 | SHAPE | Mode-specific shaping, 0–255 |
| 4 / 5 | PD A | Phase-distortion amount, 0–255 |
| 5 / 6 | PD B | Phase-distortion amount, 0–255 |
| 6 / 7 | MORPH A | Secondary phase-map control, 0–255 |
| 7 / 8 | MORPH B | Secondary phase-map control; also motion rate |
| 8 / 9 | DETUNE | B offset, approximately −50 to +50 cents; 128 centered |
| 9 / 10 | MIX | A/B crossfade, 0=A, 255=B |
| A / 11 | XMOD | OFF, RING, NOISE, CROSS |
| B / 12 | XDEPTH | Cross-modulation amount, 0–255 |
| C / 13 | ATTACK | Simple amp envelope attack |
| D / 14 | DECAY | Simple amp envelope decay |
| E / 15 | SUSTAIN | Simple amp level, 0–255 |
| F / 16 | RELEASE | Simple amp envelope release |
A+A has two independent phase accumulators and envelope states, both using A's configuration. B detuning and MIX still apply. Single-line modes skip the unused line unless cross modulation needs it. RING multiplies line outputs, NOISE uses seeded bipolar noise, and CROSS feeds previous-sample line output into phase.
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.
The waveform viewer renders the production voice at C4, velocity 1, 48 kHz, 100 ms after note-on. A/B traces show line signals; FINAL OUTPUT includes line combination, amplitude and DC rejection, before host gain/pan, sends and master. It is a cached DSP PREVIEW, not measured audio. Slow attacks may look quiet, and an unused line is flat. Modulation is sampled without a running transport.
Twelve factory slots: PZAR INIT, CZ BRASS, GLASS BELL, DIGITAL KEYS, PHASE BASS, HOLLOW PAD, METAL STRIKE, MORPH LEAD, DIGITAL SYNC, CHAOS TEXTURE, PHASE MOTION, CUSTOM CURVE. Use the existing PRESET bank or CONFIG → FACTORY PRESETS.
The eight discontinuous/digital modes use two sub-samples averaged per output. This reduces some aliasing but is not a full oversampled reconstruction filter; high notes, strong folding, resonance and feedback can alias. CHAOS is a bounded deterministic nonlinear texture, not a physical chaotic-system model. DRAW is monotonic point editing, not mouse freehand drawing. No external dependencies or new container type were introduced.
Measurements are desktop results only. RG35XX H/H700 CPU and listening checks remain hardware validation work; twelve complex voices are not claimed to meet the handheld budget until measured there.
| Documentation still to add |
|---|
| A labelled panel image, a short audio example for the first sound, and a verified CTS download. Preserve physical units and distinguish default byte values from audible measurements. |
Repository sources used for this page:
docs/pzar.mdsrc/core/audio/Synth/Pzar/Definition.hppsrc/core/audio/osc/SynthControls.hpp
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.