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.

- 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
- cli
- converter
- sample-transfer
- sysex
- patch-library
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
| Version | Date | Notes |
|---|---|---|
| main @ bb0ca3c | 2026-05-07 | No tagged releases; this is the latest commit. The npm package is version 1.0.2. |