Skip to content

synths buzz

Aisjam edited this page Nov 15, 2026 · 1 revision

BUZZ

Home · Section index

Working manual · 0.0.1-alpha · source snapshot 16 November 2026

Current synth model 34 (decimal). Create it in Synths with A on an empty cell, choose BUZZ, 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.

First sound

Select PATTERN, a register LENGTH and a fixed SEED. Hold a note and inspect the live A/B displays. Raise MIX to hear B, then change TUNE/DETUNE. SYNC is feedback-advance probability, not a conventional oscillator-sync switch; compare zero and a small positive value. CRUSH adds sample hold. Save a CTS when you find a useful register pattern.

These are suggested starting exercises derived from the controls, not newly auditioned factory presets. Shared synth workflow explains allocation and saving.

Default parameter values

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 0 / 00 See parameter mapping below.
PA2 P1B LENGTH 3 / 03 See parameter mapping below.
PA3 P1C TAPS 0 / 00 See parameter mapping below.
PA4 P1D SEED 1 / 01 See parameter mapping below.
PB1 P2A DETUNE 128 / 80 See parameter mapping below.
PB2 P2B MIX 0 / 00 See parameter mapping below.
PB3 P2C SYNC 0 / 00 See parameter mapping below.
PB4 P2D DUTY 96 / 60 See parameter mapping below.
PC1 P3A TUNE 128 / 80 See parameter mapping below.
PC2 P3B CRUSH 0 / 00 See parameter mapping below.
PC3 P3C CUTOFF 255 / FF See parameter mapping below.
PC4 P3D RESO 0 / 00 See parameter mapping below.
PD1 P4A ATK 2 / 02 See parameter mapping below.
PD2 P4B DEC 64 / 40 See parameter mapping below.
PD3 P4C SUS 255 / FF See parameter mapping below.
PD4 P4D REL 32 / 20 See parameter mapping below.

Model reference

BUZZ is the dual binary shift-register synth at model 34 (BINARY_BUZZ). Create it in SYNTH and open SYNTH EDIT. The existing controller gestures, four-by-four matrix, modulation page, macros, Table and tracker commands, voice allocation, mixer and sends apply. Model 8 is now labelled BUZZ LEGACY; its DSP, parameter meanings, wire ID and preset directory remain unchanged.

Parameter matrix

All authored controls use the existing sixteen overrides, IDs 1–16. Matrix FX address all sixteen; legacy V1–VF commands address only the first fifteen.

Group ID / control Mapping
A 1 MODE 0 PULSE, 1 PATTERN, 2 XOR, 3 NOISE
A 2 LENGTH 0–7 select 4, 5, 7, 8, 12, 15, 16, 32 bits
A 3 TAPS 0 normal polynomial, 1 reciprocal polynomial
A 4 SEED 00–FF; hashed with the saved oscillator seed and separate A/B salts
B 5 DETUNE −100 to +100 cents, 80 centered; squared bipolar curve
B 6 MIX 00 A only, 80 approximately equal, FF B only
B 7 SYNC Feedback advance probability, exactly code/255
B 8 DUTY PULSE width 1–(LENGTH−1) bits; PATTERN density
C 9 TUNE Register B only: −24 to +24 semitones, rounded, 80 centered
C 10 CRUSH Sample hold for 1–64 frames, quadratic; 00 bypass
C 11 CUTOFF 20 Hz–20 kHz exponential, capped at 0.45×sample rate
C 12 RESO Shared SVF resonance, bounded at 0.85 with gain compensation
D 13 ATK 0.001 + 8×(code/255)² seconds
D 14 DEC Same time curve
D 15 SUS 00–FF linear amplitude
D 16 REL Same time curve

The modern shared four-source modulation page offers every control as a route destination. All sixteen controls also support macros, including quantized MODE/LENGTH/TAPS. This exception is BUZZ-specific; other synths' macro rules are unchanged. Modulation and parameter coefficients update every 32 frames; the shared ADSR and filter run per sample. Structural changes rebuild only the fixed playback window and never discover register periods in the callback.

Playback and evolution

Each voice owns two independent Galois XOR registers, xorshift32 probability generators, bit positions and fractional clock accumulators. Bits map strictly to −1/+1. Floating-point mixing uses A×(1−MIX)+B×MIX. No multibit amplitude encoding, hard sync, oversampling or new modulation framework is involved. Inactive endpoint oscillators skip per-sample processing and retain their state. TUNE and DETUNE offset register B only; register A follows the played note. Tracker pitch offsets still affect both registers. Saved non-centred TUNE values now transpose B only, including when controlled by modulation or macros.

PULSE circulates a contiguous pulse; seed/register movement sets its rotation. PATTERN starts from seeded binary density; XOR reads a binary feedback window. These modes play LENGTH bits at noteFrequency×LENGTH, independently of feedback acceptance. Pattern evolution writes a pending window which commits at the next cycle boundary. PULSE commits a new rotation at that boundary. Accidental shorter-period windows are broken by one playback bit, without modifying the LFSR state or polynomial. DUTY never changes XOR/NOISE recurrence.

NOISE plays a 256-bit window at noteFrequency×32 eligible ticks/second, with streaming updates. Its fixed-window fundamental at SYNC 00 is not the tracker note; the note controls clock rate. At FF the output follows successive LFSR bits through that window. Small registers intentionally remain periodic.

SYNC 00 accepts no shifts but playback continues. FF accepts every tick. Intermediate codes compare the independent integer PRNG against a 32-bit threshold for code/255. Pending accepted changes can finish committing after SYNC is lowered; no new feedback shifts occur at zero. Probability decisions continue on tick boundaries, independently for A and B.

Tap polynomials follow Xilinx XAPP052, Table 3 and their reciprocals, implemented as XOR Galois recurrences with zero-state protection. Periods are 2^LENGTH−1, including 4,294,967,295 for 32 bits. This is the evolution period, not the short pitched playback-window length. Tests validate polynomial order algebraically and exhaustively through 16 bits.

The clock handles every eligible tick, up to 64 per sample. Frequencies above twice the configured sample rate are clamped to keep extreme pitch modulation bounded. Rates 8–192 kHz are supported, including 44.1 and 48 kHz. High pitches alias deliberately. A 10 Hz DC blocker precedes the shared SVF and ADSR; normalized oscillator mixing does not impose a limiter on filter transients.

Glyph Editor artwork

Asset/Glyphs/SynthPanels/Synths/BUZZ.ctg is an editable 48x24-cell, four-layer panel referencing the existing ../Default_12.ctb. It follows ACIDLINE's six prominent pots and grouped lower controls, with PULSELINE-style dark display fields. The chassis uses Flash, with FlashSecondary section labels. BUZZ Thumbnail.ctg provides the matching 8x5 allocation artwork.

Open the CTG directly in the Glyph Editor. Its BUZZ.txt Programmer companion defines all sixteen p0-pF controls and P0-PF value positions, plus separate RegisterA/B, FeedbackA/B and ReadoutA/B regions. Each register has two rows of sixteen unlit slot guides; shorter lengths should mask unused slots. These are artwork guides. Contour loads this panel and thumbnail through the existing authored synth renderer, with directional navigation derived from the control regions. Down from the lower controls opens modulation; Up returns to the panel.

The A/B windows display actual feedback-register bits from the newest active voice of the selected synth. Lit blocks represent one, dots zero, and unused slots are hidden. Each status line shows hexadecimal state, R playback position and window size, and N MIDI note. Playback indexes the generated waveform window, not the register cells; NOISE therefore has a 256-position readout. + means a shift occurred since the previous displayed snapshot, HLD means SYNC zero, and BYP means MIX has bypassed that oscillator. Idle modules show empty guides. An independent playhead marker beneath each readout follows its playback window. Audio-rate changes are sampled for display, not slowed down by the UI.

The backend copies fixed-size values through the existing SynthOutputPublication versioned 32-bit atomics, only when synth telemetry is requested. No audio-thread allocation, locks, graphics dependencies or new project schema are introduced. Paused playback hides its register state; active auditions may still publish.

tools/create_buzz_artwork.py reproduces both compositions and companions using only existing bank masks and checks that the bank and other artwork are unchanged. Both assets were opened using the Glyph Editor snapshot command; its linked-bank preflight validated the published collection. Native-size previews are under build/buzz-artwork.

Runtime integration validation: Release Contour and the buzz, audio, synth_scenes, and synth_tools_render targets build and pass. Publication tests compare A/B words with the backend, cover SYNC hold with advancing playback, 32-bit NOISE with a 256-position window, newest-voice selection, pause/retirement, audition and MIX bypass, including allocation counting. Render tests exercise artwork navigation and modulation transitions; idle and injected-state captures at 640x480 are build/synth-tool-tests/buzz-panel.bmp and buzz-registers.bmp. Those captures are explicit test fixtures; normal sessions use audio snapshots.

What should be here

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.

Evidence and verification

Repository sources used for this page:

  • docs/buzz.md
  • src/core/audio/Synth/Buzz/Definition.hpp
  • src/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.

Clone this wiki locally