Spergs, LLC

← All products

Potatoslicer

In progress

A music sequencer on an audio engine that ships in Python and C++.

Coming soon at potatoslicer.net

About Potatoslicer

Potatoslicer is an audio engine with two front ends. The Python library (pip install potatoslicer-client) has a small, boring API: load a song JSON, get sample arrays back, with a threaded ring buffer for glitch-free playback. The pygame sequencer (pip install potatoslicer) is one consumer of that engine, not the point of it.

The engine is also ported to C++ — a peer implementation, not a binding. It renders into a buffer the caller supplies and never opens an audio device, so it can be driven straight from a game’s audio callback. The two engines are held to the same song format by shared golden renders that both must reproduce sample for sample.

Sound comes from six built-in providers: Cadenza (waveform), Famiwave (pulse/triangle/noise), SuperGaussKit (gaussian interpolation), NightFM (4-operator FM), Meridian (band-limited virtual analog, the only one with stereo width), and a WAV sampler. Songs are plain JSON files you can write by hand or generate, one instrument per channel, so the whole format greps and diffs like code.

It is meant to be embedded: drop the engine into a game, a generative-art piece, a livecoding session, or a server that renders audio on demand. Apache-2.0 licensed, no accounts, no telemetry, nothing phones home. The library and sequencer run entirely on your machine.

At a glance

  • One engine, two implementations: a Python library and a C++ port, kept identical by shared reference renders
  • Six synthesis providers: Cadenza, Famiwave, SuperGaussKit, NightFM, Meridian, WAV sampler
  • Songs are plain JSON: hand-editable, one instrument per channel
  • Tracker-style pygame sequencer with live-editable XY layouts
  • Embeddable in games, art, livecoding, and servers
  • Apache-2.0, no accounts, no telemetry, runs entirely on your machine

More from Spergs

Other independent software we ship, or are working on.