| project name: | nompler |
| project url: | https://github.com/rync/nompler |
| author: | rync |
| description: | faux rompler with decent performance |
| tags: | rompler polysynth |
A polyphonic multisample player for norns. It includes ten synthesized starter instruments and a Library page for downloading real sampled instruments.
Copy this folder to dust/code/nompler/ on the norns, then restart (SYSTEM > RESTART) so it compiles the engine in lib/Engine_NOMpler.sc. Load it from SELECT. If you installed it earlier as multisampler, delete that folder from dust/code/ first (two copies would both compile an engine); packs already downloaded to dust/audio/multisampler/ are moved to dust/audio/nompler/ automatically on first start.
| Control | Action |
|---|---|
| E1 | page |
| E2 / E3 | select / change (Instrument page: E2 instrument, E3 level) |
| K2 hold | LFO / Filter / Loop pages: fine steps for E3 ("fine" shows in the title row). Instrument page: play C4 |
| K3 hold | play a C major chord (polyphony test) |
| E3 (Library) | category filter |
MIDI: notes with velocity, pitch bend (±2 semitones), sustain pedal (CC64) and all-notes-off (CC123). Choose the device in PARAMETERS > MIDI.
Coarse and fine steps, for example: cutoff moves about a semitone per click (1% fine), loop start and end 1% (0.1% fine), resonance 0.02 (0.005 fine), LFO delay and fade 50 ms (10 ms fine). Every page has a title row, then the content, then (on parameter pages) a grid of controls with the selected one inverted. The same values are also in PARAMETERS.
Selecting an instrument applies its own loop and envelope defaults, which you can then change.
Bundled (synth) are generated by tools/make_instruments.py and work offline: Acoustic Piano, Marimba, Flute, Drawbar Organ, Solina Strings (with the ensemble chorus), Tape Strings (Mellotron-style), Brass, Tine E-Piano and Glass Bells. They are synthesized approximations, not recordings; the Solina and tape voices are homages built from sawtooth stacks and a 3-tap ensemble chorus, not samples of the real machines. Their folders carry an instrument.txt (not .lua), so they do not appear in norns' SELECT menu.
Library (real samples) come from VCSL, the Versilian Community Sample Library by Versilian Studios, released under CC0 1.0 (public domain, no attribution required). The catalog is pinned to one commit, so the files never change underneath you.
The catalog lists 131 packs: Keys (pianos, harpsichords), Plucked (harps, zithers, lutes), Mallets (marimba, vibes, glockenspiel, kalimba, mbira, bells), Winds (recorders, ocarinas, saxophones, harmonicas), Organs, Synth, and Percussion kits (drums, cymbals, shakers: one sound per key from C2 up, played as one-shots). Use E3 on the Library page to filter by category. Packs whose note labels could not be verified from the audio were left out. tools/catalog_report.txt lists every pack with its size, detected octave offset and gain.
Loudness. Every pack and synth voice carries a gain that brings its first-second RMS to a common level (peak-limited, so a few very spiky or very quiet packs stay a little under the target). Quiet sources can need up to +30 dB, which also lifts their noise floor.
Each pack is a sparse selection (one velocity layer, one round robin, notes at most 4 to 8 semitones apart) to keep downloads small. Samples are read as mono (left channel). Large packs (the pianos) use noticeably more RAM because their notes last 20 to 30 seconds. If a big pack stutters on a Pi 3B+, use fewer voices or choose a smaller pack.
On the Library page, E2 scrolls the packs and E3 picks the category. Each row shows ok for installed, a percentage while downloading, or the download size.
| Key | Pack not installed | Pack installed | Downloading |
|---|---|---|---|
| K3 | download | load it | |
| K2 | hold 2 s to delete | cancel |
How downloads behave:
dust/audio/nompler/<pack>/ and stay there. A pack is downloaded once and works offline afterwards.raw.githubusercontent.com, then github.com/.../raw, then jsDelivr.Put extra_packs.lua in dust/data/nompler/. It uses the same shape as lib/catalog.lua: sources (base URLs), and packs with id, name, desc, bytes, optional meta, and files (path, root, bytes, sha).
Make a folder in dust/audio/nompler/<name>/ with files named by root note: 060.wav, C4.wav, cello_F#3.wav (C4 = MIDI 60). WAV, AIFF and FLAC work. Each key plays the nearest sample, repitched. An optional instrument.txt (key = value lines) sets defaults. Use .txt, because a .lua file would show up in the SELECT menu:
name = Cello
loop = true
loop_start = 30
loop_end = 80
attack = 5
release = 20
gain = 1.0
BufRd and the voice mix stays mono until the filter.max voices (default 12, up to 32) steals the oldest released voice first. Linear interpolation is the default; cubic is under PARAMETERS > interpolation.tools/make_instruments.py regenerates the synth instruments.tools/build_catalog.py rebuilds lib/catalog.lua from a VCSL checkout: it chooses the notes, hashes each file and checks its pitch against the file name.tools/test_fetch.py tests the download script against a local server (resume, bad hash, mirror fallback, failure, cancel).xfade parameter, 20% of the loop length by default, 0 = off) the sound blends into the audio just before the loop start, so the wrap is smooth. The fade is shortened if there is not enough audio before the loop start, so very early loop starts (near 0%) get little or no crossfade. Looping costs a second sample read per voice.