Skip to content

synths drum

Aisjam edited this page Nov 15, 2026 · 1 revision

DRUM

Home · Section index

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

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

Program MIDI 60 for kick, 61 for snare and 66 for closed hat. Change K DECAY on repeated kicks, then S SNAP on repeated snares. Trigger 67 for open hat followed by 66 to hear the choke. Repeated hits replace the same sound while other drum tails continue. MIDI numbers in the note table are authoritative.

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 K TUNE 100 / 64 Kick Tune: resting frequency at MIDI 60
PA2 P1B K DECAY 150 / 96 Kick Decay: amplitude decay time
PA3 P1C K CLICK 70 / 46 Kick Click: onset transient intensity
PA4 P1D K SWEEP 130 / 82 Kick Sweep: onset pitch envelope depth
PB1 P2A S TUNE 110 / 6E Snare Tune: tonal body frequency
PB2 P2B S DECAY 125 / 7D Snare Decay: body and noise duration
PB3 P2C S SNAP 180 / B4 Snare Snappy: filtered noise intensity
PB4 P2D CL DEC 125 / 7D Clap Decay: burst and tail duration
PC1 P3A T LOW 100 / 64 Toms Low: low tom pitch
PC2 P3B T HIGH 130 / 82 Toms High: high tom pitch
PC3 P3C T DECAY 130 / 82 Toms Decay: shared duration
PC4 P3D H GRAIN 100 / 64 Hats Grain: metallic to noise balance
PD1 P4A H CLOSE 90 / 5A Hats Closed: closed hat duration
PD2 P4B H OPEN 150 / 96 Hats Open: open hat duration
PD3 P4C P TONE 128 / 80 Percussion Tone: auxiliary brightness
PD4 P4D P DECAY 128 / 80 Percussion Decay: voice-specific auxiliary duration

Model reference

DRUM is model 22: one synthesizer allocation containing thirteen analog-style drum sounds and a fixed sixteen-control matrix. Select DRUM in Synths. The default kit is immediately playable; Y → MORE → CONFIG / FACTORY offers ANALOG KIT. All normal output, save/load, controller and matrix controls apply. There are no additional scenes, sample assets, drum mixer channels or sequencers.

Notes

MIDI 60 (C4) and below play the kick. Each semitone changes its resting frequency by the standard equal-tempered ratio, including the complete onset pitch sweep. MIDI 48 is one octave below MIDI 60. Subsonic kick levels taper below 25 Hz; the output also passes through a 20 Hz DC blocker.

MIDI Sound
0–60 Chromatic kick
61 Snare
62 Clap
63 Rimshot
64 / 65 Low / high tom
66 / 67 Closed / open hat
68 Cowbell
69 Claves
70 Cymbal
71 Zap
72 Conga/bongo percussion

Notes 73–127 are ignored. These are MIDI numbers; the specification's C4=60 convention is authoritative regardless of octave labels elsewhere.

Fixed matrix

The stored IDs remain 1–16 (01–10 hexadecimal), displayed as P1–P9 and PA–PG. All stored values are bytes 0–255; unset overrides use the listed defaults. Frequency and duration mappings are exponential. Durations specify approximately 60 dB envelope attenuation; retirement occurs below −100 dB.

ID Parameter Default byte Physical range / default
P1 Kick Tune 100 35–140 Hz / 60.28 Hz
P2 Kick Decay 150 80–1600 ms / 466 ms
P3 Kick Click 70 0–100% / 27.5%
P4 Kick Sweep 130 0–100% / 51%; onset multiplier 1–8
P5 Snare Tune 110 100–400 Hz / 181.85 Hz
P6 Snare Decay 125 60–900 ms / 226 ms
P7 Snare Snappy 180 0–100% / 70.6%
P8 Clap Decay 125 60–720 ms / 203 ms
P9 Low Tom 100 65–260 Hz / 111.95 Hz
PA High Tom 130 110–440 Hz / 223.01 Hz
PB Tom Decay 130 80–1200 ms / 318 ms
PC Hat Grain 100 0–100% / 39.2%, metallic → noise
PD Closed Hat 90 15–300 ms / 43 ms
PE Open Hat 150 100–2000 ms / 582 ms
PF Percussion Tone 128 0–100% / 50.2%, voice-specific brightness
PG Percussion Decay 128 0–100% / 50.2%, voice-specific duration

Names, descriptions, ranges, defaults, units and scaling live in the existing ParameterDefinition metadata. Matrix labels identify sections with K, S, CL, T, H and P prefixes. Full descriptions are available to metadata consumers. Tracker V1–VF overrides the first fifteen parameters at onset; PG has no V opcode, matching the existing sixteen-control synth contract.

Sound and parameter lifetime

Kick uses the shared sine lookup, exponential amplitude, an 18 ms pitch-envelope time constant and a six-millisecond noise click. Snare combines two sine bodies at ratio 1:1.48 with high-passed noise. Clap has three fixed bursts 11 ms apart plus a filtered-noise tail. Rimshot uses fixed 1700 Hz and 4029 Hz resonances. Toms use sine bodies and a fixed downward pitch sweep.

Hats/cymbal mix six inharmonic PolyBLEP pulse oscillators (ratios 1, 1.342, 1.768, 2.431, 3.127, 4.173), high-pass filtering and deterministic xorshift noise. PC sets metallic/noise balance. Closed hat shortens every open-hat envelope to a two-millisecond release, avoiding an instantaneous discontinuity.

Cowbell uses two pulse oscillators at ratio 1:1.48, 420–600 Hz fundamental. Claves uses a 1700–3000 Hz resonant body. Zap sweeps down from thirteen times its 90–340 Hz resting frequency. Conga uses a 180–530 Hz body with a small pitch sweep. PF adjusts these frequencies and cymbal filter brightness. PG maps to cowbell 50–400 ms, claves 12–96 ms, cymbal 300–3000 ms, zap 60–720 ms and conga 40–400 ms. Each auxiliary voice retains its own useful range.

Parameters are captured at onset: live edits and tracker parameter overrides change subsequent hits without jumping existing tails. Tracker/Table pitch affects sounding hits with three-millisecond smoothing and no retrigger; shared gain/pan/sends retain their host behavior. No M1–M4 processing or new modulation matrix is added.

DRUM uses one-shot envelopes. Normal note-off, gate expiry and logical note replacement allow natural tails; explicit CUT and Stop clear the kit. This is necessary because tracker replacement releases the previous logical gate before starting each new note. A new hit immediately replaces the previous hit of the same drum sound, including differently pitched kicks; other sounds keep their tails.

Ownership and realtime behavior

Each host slot preallocates twelve compact Hit states. Empty/quiet hits are chosen by envelope × velocity, with stable array order breaking ties. Finished hits skip DSP and clear state. Multiple references to one instrument reuse the same kit; like the existing mono models, the latest triggering track owns its combined output and tracker controls. Use separate DRUM instances for independent routing. No global voice capacity, sample lane allocation or mixer ownership is changed.

The existing WaveformBank owns sine data outside audio. Hit onset computes frequency/envelope/filter coefficients. Per-sample work uses phase increments, lookup, polynomial pulse correction, multiply/add filters and envelopes. Pitch-offset exponentiation only occurs on a changed 32-sample control boundary. Near-zero sweep, transient and DC states are flushed; silence retires the host. There are no callback allocations, locks, IO or logging.

DC removal and bounded rational saturation protect the summed kit; the existing VoicePool, output smoothing, send buses, EffectChain, MasterBus and profiling remain authoritative. PolyBLEP reduces pulse discontinuity aliases, but there is no oversampling: strong saturation and extreme pitch shifts can still alias.

Persistence

Model ID 22 is appended without reordering existing IDs. CTS v3 and CTP v31+ already contain all sixteen override words; no payload/schema changes are needed. Older readers reject the unknown model; pre-v31 payloads reject DRUM because they lack its sixteenth parameter. Runtime hits are never serialized. The bundled Asset/Synths/ANALOG KIT.cts uses OscillatorSerializer like normal user presets.

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/drum.md
  • src/core/audio/Synth/Drum/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