nompler
project name: nompler
project url: https://github.com/rync/nompler
author: rync
description: faux rompler with decent performance
tags: rompler polysynth

NOMpler

A polyphonic multisample player for norns. It includes ten synthesized starter instruments and a Library page for downloading real sampled instruments.

Install

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.

Controls

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.

Pages

  1. Instrument: pick an instrument (it loads after a short pause) and set level. Shows the sample count, note range and live voice count.
  2. LFO: rate, shape (sine, tri, square, saw, random), onset delay, fade-in, pitch depth (cents) and loudness depth. The LFO is silent for the onset delay after each note starts, then fades in. Pitch and loudness depth are independent.
  3. Filter: multimode filter (LP 12, LP 24, BP, HP, notch) with resonance. The display shows the response curve.
  4. Loop + Env: loop on/off, loop start and end, loop crossfade, attack and release, all as a percentage of each sample's own length.
  5. Library: real instruments to download (see below).

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.

Instruments

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.

Downloading

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:

Adding your own catalog entries

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).

Your own instruments

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

Performance notes (Raspberry Pi 3B+)

Tools

Known limits