Noisemaker — The editor playing Wobble Bass, its tempo-synced wobble on the scope, with the presets above, its macros below, and a keyboard to play it from the computer's keys.
The editor playing Wobble Bass, its tempo-synced wobble on the scope, with the presets above, its macros below, and a keyboard to play it from the computer's keys.

In use: Tethered Darkness's sounds; its editor is live

Noisemaker

Wavetable synth for game sound and bass music

One synth engine for three jobs: sound effects a game plays live, a little different every time; sounds baked to WAV files; and an instrument for heavy bass.

Tethered Darkness made its sounds in code, a few oscillators and an envelope each, written one sound at a time. Noisemaker replaces that with a proper wavetable synth, in the mould of the ones bass music is made on, running in the browser's audio thread. A sound is a patch, plain JSON designed in its editor, and a game plays it by name: a sword clash pitched a little differently every swing, a fire spell that swells with its power, a coin's jingle at any speed. Dozens of sounds share one audio node, and one that has finished costs nothing.

Tethered Darkness was the first game to use it. Its 28 battle sounds are Noisemaker patches now, played through the RPG engine, each matched in loudness to the coded sound it replaced, and all of them passed by ear; its fifteen menu, field and sci-fi sounds followed, passed on 2 December. A game whose sound has no patch yet falls back to the old coded one, so nothing goes quiet on the way.

The same engine is an instrument. The editor, live on its own site, plays from the computer's keys, has a step sequencer for bass lines, and comes with dubstep basses (wobble, growl, reese) alongside the game sounds, so it doubles as a sound design tool: design a patch, save it as a WAV, or export a whole library for a game.

Try the synth
  • Wavetables that don't alias Two wavetable oscillators and noise. Each table is 32 frames of 2,048 samples, built in 11 band-limited copies by FFT, and the oscillator plays the copy whose harmonics stay below the limit, so a high note stays clean: about -100 dB of aliasing on a test that listens for it.
  • Unison, modulation and macros Up to seven detuned voices an oscillator, spread in stereo without getting louder; two envelopes and two LFOs, drawn by hand if need be; a mod matrix; and four macros a game can turn, such as a spell's power.
  • A filter that wobbles cleanly A state-variable filter, low-pass to notch at 12 or 24 dB, with drive. Its settings glide sample by sample, so a fast resonant wobble sweeps smoothly instead of stepping.
  • Effects for bass Voice drive (soft and hard clipping, wavefolding), then distortion, OTT, EQ, phaser, chorus, delay and reverb, with tails that ring on until they're inaudible.
  • Many sounds, one node A game names its sounds and buses once, then plays them with variation: a pitch that wanders, macros, phrases of notes at any speed. Every note lands on the exact sample it was sent for.
  • Your own wavetables Import a WAV, a single cycle or a whole table in the common 2,048-sample format, or draw one frame by frame and sweep between them.
  • A sequencer and a library A two-octave piano roll in sixteenths, one to eight bars, with velocity and macro lanes and slides; and a library that keeps your sounds in the browser and exports them for a game. A MIDI keyboard can play it too, though so far that's only been tested against a simulated one.

Under the hood

TypeScript with no runtime dependencies, built with esbuild. The engine has no DOM: it runs in an AudioWorklet in the browser and in plain Node, so tests render every preset offline and check it for clipping and aliasing, measure a wobble's rate against its tempo, and time notes to the sample, while headless Edge checks the editor and a game's bus routing. Patches and phrases are plain JSON, kept stable so sounds made now keep working, maybe one day in a Rust port of the core built as a VST. A game installs it from its repository on GitHub, and the editor is one HTML file that every green push publishes to its site, as the games deploy.