A minimal organic stereo unison oscillator for the Expert Sleepers disting NT, constructed for the important scientific purpose of making one note sound as if it has recently discovered cinema, voltage, and inadvisable trousers.
Thik is not a chord machine, a scale contraption, or an ensemble pretending to be a lifestyle. It is one pitched oscillator with a small internal swarm of voices orbiting the same musical idea. The result is thick, animated, stereo, and only slightly more dramatic than the situation strictly requires.
- Produces one pitched organic swarm, not a chord, scale, or interval engine.
- Runs 9 internal voices around a single perceived pitch.
- Uses a local PolyBLEP triangle/saw voice engine.
- Accepts MIDI note input, with
MIDI Chset to Omni by default. - Lets
Thicknessincrease detune, drift, side-voice level, and stereo width. - Lets
Tonemove from darker and rounder to brighter and sawier. - Remains always stereo, because some waveforms deserve a left wing and a right wing.
The main controls and routing settings are:
Pitch CVTone CVThickness CVOutput LOutput L modeOutput ROutput R modePitchFine TuneThicknessToneMIDI Ch
Pitch sets the fallback pitch. Incoming MIDI note-on messages override that
fallback while a note is active, and Pitch CV still does the 1V/oct thing on
top, as modular civilization requires. MIDI Ch can listen to Omni or one
specific MIDI channel. Tone changes the waveform character. Thickness tells
the internal swarm how much to behave like a disciplined oscillator section and
how much to behave like a dramatic laboratory choir.
Before persuading the module to sing, you need:
- Official Expert Sleepers
distingNT_APIsubmodule. - ARM embedded toolchain for hardware builds, for example
arm-none-eabi-g++andarm-none-eabi-nm. - A native C++ compiler for
TARGET=testbuilds.
Initialize the SDK/API submodule:
git submodule update --init --recursiveHardware object for disting NT:
make hardware # plugins/thik_osc.oNative plugin for nt_emu/desktop testing:
make test # plugins/thik_osc.dylib on macOSBoth, for moments when restraint has failed:
make bothStrict symbol checks and size checks:
make check # hardware check by default
make TARGET=test check
make size
make TARGET=test sizeRMS consistency check across Thickness, including full Tone:
make level-testDSP fidelity checks for triangle consistency, CV tracking, and render-path equivalence:
make fidelity-testOptional host render benchmark:
make benchmarkMIDI pitch handling check:
make midi-testFull local release verification:
make verifyHardware-only CI/release verification:
make ci-verifyClean generated outputs:
make cleanNT_globals / _NT_globals is expected to remain undefined in plugin outputs
because it is provided by the disting NT host/API environment. The hardware
object may also retain runtime-provided libm symbols such as sinf, cosf, and
sqrtf; any other undefined symbol should fail make check.
Generated outputs are intentionally ignored by git:
build/plugins/
.github/workflows/release.yaml builds the plugin on Ubuntu with the ARM
toolchain, runs make ci-verify, and packages the hardware object as:
programs/plug-ins/thik_osc.o
The workflow uploads thik_osc-plugin.zip as a build artifact on manual runs.
When pushed with a v* tag, it also creates a GitHub Release with that zip
attached.
Thik has a deliberately small brief: one enormous-feeling oscillator, two main sound macros, and no excursion into chord menus, scale bureaucracy, or feature panels that require their own weather system.
The internal design is:
- 9 voices.
- Deterministic detune and pan layout.
- Slow independent drift tied to
Thickness. - Pitch- and sample-rate-stable PolyBLEP triangle derivation.
- Constant-power triangle/saw blend tied to
Tone. - MIDI note-on/off pitch override with Omni or channel-filtered input.
- Stereo output with add/replace modes.
- Plugin GUID set to
ThIk.
The point is not to expose the orchestra pit. The point is to press a few controls and hear one pitch become wide, alive, and faintly convinced it is scoring the final act of a film about voltage.
SPEC.mdCONTEXT.mddocs/adr/
MIT. See LICENSE.