Repository navigation
synths drum nine
Working manual · 0.0.1-alpha · source snapshot 16 November 2026
Current synth model 27 (decimal). Create it in Synths with A on an empty cell, choose Drum Nine, 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.
Confirm the four PCM hat/cymbal files resolve, then program kick 60, snare 61 and closed hat 67. Compare BD ATK against BD DRIVE; they alter excitation and saturation differently. Add open hat 68 before 67. If only the PCM voices are silent, inspect their fixed source paths rather than replacing the procedural kit.
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 | BD TUNE | 102 / 66
|
Kick fundamental |
| PA2 | P1B | BD DEC | 148 / 94
|
Kick decay |
| PA3 | P1C | BD ATK | 145 / 91
|
Kick excitation |
| PA4 | P1D | BD DRIVE | 48 / 30
|
Kick saturation |
| PB1 | P2A | SD TUNE | 128 / 80
|
Snare body tuning |
| PB2 | P2B | SD TONE | 144 / 90
|
Snare brightness |
| PB3 | P2C | SD SNAP | 170 / AA
|
Snare noise level |
| PB4 | P2D | SD DEC | 140 / 8C
|
Snare decay |
| PC1 | P3A | TOM TUNE | 128 / 80
|
Shared tom tuning |
| PC2 | P3B | TOM DEC | 128 / 80
|
Shared tom decay |
| PC3 | P3C | CLAP TAIL | 125 / 7D
|
Clap tail decay |
| PC4 | P3D | PCM TUNE | 128 / 80
|
Hat and cymbal tuning |
| PD1 | P4A | CH DEC | 125 / 7D
|
Closed hat decay |
| PD2 | P4B | OH DEC | 160 / A0
|
Open hat decay |
| PD3 | P4C | CY DEC | 128 / 80
|
Cymbal decay multiplier |
| PD4 | P4D | ACCENT | 128 / 80
|
Velocity and excitation response |
Drum Nine is a hybrid 909-inspired instrument: seven procedural voices and four
PCM voices hosted by the existing OscillatorSynth/VoicePool. Its implementation
is in src/core/audio/Synth/Drum Nine/. The original implementation request is
preserved there as Drum Nine Specification.md.
Select Drum Nine in the controller-operated Synths picker. One synth allocation has a twelve-hit pool. Each of its eleven sounds has at most one active hit; repeats immediately replace that sound's previous hit. OFF keeps other one-shot tails; CUT/Stop clears them. Quietest envelope × velocity stealing has stable array-order ties. Closed hats release all open hats over two milliseconds. As with the existing drum kits, the latest triggering track owns kit routing.
| Contour note / MIDI | Voice |
|---|---|
| C4 / 60 | Bass drum (lower notes extend its chromatic tuning) |
| C#4 / 61 | Snare |
| D4–E4 / 62–64 | Low, mid, high tom |
| F4 / 65 | Rimshot |
| F#4 / 66 | Handclap |
| G4 / 67 | Closed hat, PCM |
| G#4 / 68 | Open hat, PCM |
| A4 / 69 | Crash, PCM |
| A#4 / 70 | Ride, PCM |
Unmapped high notes are rejected before allocation. This is Contour's map, not the original Roland MIDI map.
PA1–PD4 correspond to the existing P1A–P4D tracker matrix addresses and stored IDs 1–16. Values are 0–255. Frequencies, times and multipliers use exponential scaling; percentage controls are linear. All controls update active hits with a four-millisecond control smoothing time constant, sampled every 32 frames. Durations describe nominal T60 coefficients, not complete audible length.
| Label | Name | Physical range | Default byte |
|---|---|---|---|
| PA1 | BD TUNE | 35–140 Hz | 102 |
| PA2 | BD DEC | .08–2.4 s | 148 |
| PA3 | BD ATK | 0–100% excitation | 145 |
| PA4 | BD DRIVE | 0–100% kick saturation | 48 |
| PB1 | SD TUNE | 120–480 Hz | 128 |
| PB2 | SD TONE | 0–100% body/brightness | 144 |
| PB3 | SD SNAP | 0–100% noise | 170 |
| PB4 | SD DEC | .06–.9 s | 140 |
| PC1 | TOM TUNE | .5–1.989×; 128 = unity | 128 |
| PC2 | TOM DEC | .5–1.989× | 128 |
| PC3 | CLAP TAIL | .06–.72 s | 125 |
| PC4 | PCM TUNE | .5–1.989× | 128 |
| PD1 | CH DEC | .02–.5 s | 125 |
| PD2 | OH DEC | .12–3 s | 160 |
| PD3 | CY DEC | .5–1.989× crash/ride envelope | 128 |
| PD4 | ACCENT | 0–100% velocity-sensitive transient response | 128 |
Tom bases are 105/165/245 Hz with .55/.42/.32 s decay calibration. Rimshot uses 480/1680 Hz resonances. Clap uses three noise bursts spaced 11 ms apart and a separate tail. These values are behavioral calibration choices, not measured component values. Kick's independent VCA permits pitch motion without imposing Eight's damping/decay coupling. Accent changes excitation/transient character, not only output gain.
Drum Nine's four existing ADSR/LFO slots route to all sixteen macros. Use Y → MODULATE or move down from the last parameter row. Each source has four routes; destination cells show PA1–PD4. ADSR/LFO engines are shared, but runtime state belongs to this synth. A new hit retriggers the kit's generators; FREE and SYNC coordinates come from the host. OFF releases modulators while hit tails continue. Existing models' modulation behavior is unchanged.
PCM files resolve relative to the selected content root, independently of Drum Seven's bank program:
Samples/Drum Nine/Hat_Closed.wav
Samples/Drum Nine/Hat_Open.wav
Samples/Drum Nine/Cymbal_Crash.wav
Samples/Drum Nine/Cymbal_Ride.wav
tools/ImportDrumNine.py WAV_DIRECTORY CONTENT_ROOT imports the selected clean
909 From Mars recordings, refuses to overwrite different files, and writes
sample-rate/channel/bit-depth/SHA-256 provenance. The current selection is
CH Clean 05, OH Clean 02, Crash Clean 05 and Ride Clean A 05. All four are mono
44.1 kHz/24-bit hardware-output recordings. No kick/snare samples are used in
synthesis. Those recordings already contain the original DAC/output response:
clean interpolation avoids applying it twice.
Factory PCM decay also preserves the recording's existing amplitude envelope.
Lower decay settings add attenuation; settings above factory cannot extend a
recording past its source end. Use a longer source recording for longer tails.
The imported samples are commercial user content. They are outside Asset/,
are not embedded in presets/projects and are not added to packaging rules.
See the publisher's terms.
The import was performed into the user's normal private Contour content root
and build/drum-nine-private for testing. A fresh installation needs its own
licensed four-file bank; missing files produce preparation warnings and silent
PCM voices while procedural drums and project loading remain available.
PCM decoding/interpolator preparation happens outside audio. Hits retain raw references to immutable prepared banks, and OscillatorSynth's existing snapshot retirement query keeps owners alive through tail completion and bank replacement. No shared_ptr destruction, file access or allocation occurs in the render path.
Raw-waveform descriptors support per-source clock, bit depth, tuning and an economical reconstruction filter. The default recordings bypass this path. Exact original six-bit ROM data, measured clock tolerances and component-level output filtering are not supplied or claimed.
Model 27 is appended after Seven (26). Destinations 61–76 append the sixteen Nine controls after Fracture's 45–60. Existing model, FX, scene and route IDs are unchanged. Existing preset parameter/route payloads store the new values; no new musical chunk or runtime voice state is serialized. Old readers reject the unknown model. Legacy short preset payloads reject Nine explicitly.
The current CTS writer uses the repository's existing version 4 (Seven's bank extension); Nine adds no tail to that format. PCM configuration is a stable content-root convention rather than another bank selector or project filesystem. Relative paths are resolved by existing asset services under the existing sample budget. All playback continues through the existing sequencer, mixer and FX sends.
See the architecture/808 audit (repository reference: drum-nine-audit.md). Eight/Six DSP and Seven's
PCM implementation are reused without changing their algorithms. The hybrid is
not claimed to be a circuit-accurate 909. Hardware tolerance, original voice
interaction, precise nonlinear excitation and ROM reconstruction remain unverified.
Desktop aggregate throughput cannot establish H700 callback deadlines. No H700
hardware measurement or blind listening result is claimed.
Potential shared-DSP improvements are limited to moving already-shared percussion primitives into a neutral folder and generalizing bank descriptors when another consumer needs them. No large refactor is required for this instrument.
Factory procedural settings were compared with selected clean 909 From Mars recordings. The source pack does not document equivalent knob positions for these filenames. This comparison measures differences, not an accuracy score. PCM comparisons intentionally use the exact imported recording and therefore validate playback preservation, not independent synthesis fidelity.
| Voice | Energy T95, Nine / recording (ms) | Centroid, Nine / recording (Hz) |
|---|---|---|
| Kick | 158.7 / 112.8 | 92 / 70 |
| Snare | 48.8 / 48.8 | 2683 / 1557 |
| Low tom | 153.9 / 220.8 | 113 / 126 |
| Mid tom | 117.9 / 134.0 | 177 / 158 |
| High tom | 89.4 / 147.9 | 262 / 186 |
| Rimshot | 19.2 / 19.0 | 654 / 462 |
| Clap | 50.6 / 70.4 | 2850 / 2292 |
| Closed hat | 43.6 / 43.5 | 5917 / 5915 |
| Open hat | 138.4 / 138.4 | 6550 / 6558 |
| Crash | 467.3 / 467.3 | 5913 / 5913 |
| Ride | 410.1 / 409.9 | 7825 / 7816 |
The kick is longer/brighter at these factory settings; snare duration agrees but its spectrum is brighter. Toms and clap need further reference calibration for closer hardware matching. Rimshot duration alone does not establish timbral agreement. An initial extra PCM decay shortened hats/cymbals; it was removed at factory settings and covered by an exact sample-path regression check.
Private artifacts are under build/drum-nine-renders: comparison.json includes
source hashes, RMS, peaks, spectral flatness and 20 ms envelope/centroid traces;
private-ab-generated-then-reference.wav is RMS matched over the first 500 ms
of each pair with common peak protection. No listening-test result is claimed.
The analysis decoder ignored non-audio WAV metadata chunks; PCM data decoded
successfully. Reference recordings are not included in distributable assets.
| 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/drum-nine.mdsrc/core/audio/Synth/Drum Nine/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.