Skip to content
altstrument

e2s-tools

Tool for Electribe 2 / 2 Sampler (Korg)

TypeScript library and 49-command command-line tool that reads and writes Electribe 2 Sampler sample libraries, single patterns, 250-pattern banks and SysEx dumps. It can import WAV files, edit patterns, and convert a pattern to SysEx and back. Published on npm.

by Giacomo Battaglia

ActiveSource: openMIT
Top-down view of the red Korg electribe sampler (Electribe 2 Sampler, a member of the Electribe 2 family)
Photo: Korg, manufacturer product image, via korg.com
Distribution
Prebuilt image you flash yourself
License notes
The LICENSE file is MIT. The test fixtures, which look like Korg's own sample library and pattern bank, are not covered by that grant.
Source
github.com https://github.com/g-battaglia/e2s-tools

Description

Rights warning: the test fixtures include a 12 MB sample library file named e2sSample.all and a 4 MB pattern bank named e2s-2016.e2sallpat, which look like Korg's factory files. The tool parses the sampler's .all, .e2pat, .e2sallpat and .syx formats, documents their binary layout, and can create libraries, list and trim samples, import and export WAV files in bulk, edit steps and parts of patterns, and split or merge a pattern bank. Output is JSON by default, and the README says it is meant to be driven by scripts and AI agents. It works on files and does not open a MIDI connection itself; a pattern is turned into a SysEx file for transfer by other means. Nothing is flashed.

Install notes

Install from npm with npm install -g e2s-tools to get the e2s command, or add it as a library. Work on copies of your own library and pattern files.

Version history

e2s-tools version history
VersionDateNotes
main @ bb0ca3c2026-05-07
No tagged releases; this is the latest commit. The npm package is version 1.0.2.

Back to Electribe 2 / 2 Sampler