The Polyend Tracker Ecosystem is opening up

Hey everyone! I am incredibly excited to finally share something I’ve been working on.

Introducing tracker-lib

tracker-lib, is a comprehensive TypeScript-based library for reading, writing, and creating files compatible with the Polyend Tracker family (OG Tracker, Tracker Mini, and Tracker+).

Thanks to Polyend’s effort to document their file formats, we now have a programmatic way to interact with instruments (.pti), patterns (.mtp) and projects (.mt). Whether you want to automate your workflow, build custom preset generators, or create web apps, this library handles the heavy lifting.

To show you what is possible, I’ve also built two fully open-source web examples powered by the library.

Video Overview

Ain’t got no time for all the details? Here’s a video that should help:

Details & Examples

Available right now on npm, the @polyend/tracker-lib library provides full TypeScript typing and works seamlessly in both Node.js environments and browser apps.

  • Instrument Manipulation: Read/modify instrument files, slice markers, playback modes, filters, LFOs, envelopes, and wavetable/granular configurations.
  • Pattern & Project Control: Edit notes, tracks, steps, and step-level FX/automation commands programmatically.
  • Audio Utilities: Built-in helpers to parse WAV files and extract channels, sample rates, bit depth, and frames.

To find out more check out the libraries documentation or visit the Github repository.

Example 1: A new Web Instrument Editor (.pti)

Live Demo: polyend.sandroid.xyz/instrumented/
Source Code: github.com/sandroidmusic/tracker-pti-editor

This example grew pretty large and is very close to a full-blown, browser-based instrument editor.
You can create, edit, and manage your Tracker instruments without touching the hardware.

  • Sampler & Sample Editor:
    • Sample audio directly from within the editor
    • Edit the recordings before committing as an instrument
    • Offers functions like Cut, Fade In, Fade Out, Normalize, Compress, and Equalize
  • Instrument Creation Helpers: create sliced instruments with ease.
  • Instrument Parameters: Manage filters (cutoff, resonance, type), tuning, envelopes, LFOs, volume, panning, overdrive, bit-depth reduction, and FX sends.
  • Waveform Visualizer: Interact with the waveform using custom zooming, scrolling, and marker placements.
  • Play your instruments: Oh you thought this was just a simple sample playback? Oh no, my friend… this player uses the Web Audio API to play your instruments as they would sound.. well mostly.
  • Playback Modes: Support for OneShot, Forward/Backward/Pingpong loops as well as the Wavetable and Granular modes.
  • Play via MIDI or Keyboard: hook up your MIDI Controller or play the sounds directly on your keyboard.

Example 2: Web Pattern Editor (.mtp)

Live Demo: polyend.sandroid.xyz/patterned/
Source Code: github.com/sandroidmusic/tracker-mtp-editor

This is an example of the classic grid editing that we all have come to love. Create and edit your tracker patterns right from the browser.

  • Pattern Editor: Edit notes, instrument assignments, and FX parameters in a classic tracker-style grid.
  • Pattern File Support: Uses tracker-lib to read/write Polyend Tracker pattern files.
  • Full Keyboard Control: I mean… you don’t really want to use the mouse, do you? :face_with_tongue:

Open Source & Open to contributions

The core library (tracker-lib) and all examples are completely open source. :partying_face:

They were built to kickstart the community’s imagination, and I’d love to see where you take them!

While I won’t have the bandwidth to maintain the editors heavily going forward, I am more than happy to accept Pull Requests and/or contributors to help grow these tools.

Check out the links above, leave your feedback and build some cool utilities to share with the community!

And who knows.. maybe there will be more to come in the future? …

Links

23 Likes

Congratulations and thank you! I can’t imagine all the time you have spent…

By the way, I don’t know exactly what I can do with it… I will wait and see whet the community come up with!

1 Like

Thank you! :heart:

Well.. to put it as simple as possible:

It’s for anyone that wants to build / code / develop a tool that can work with the tracker project files, they can use this library (set of functions / helper code), that simplifies reading / editing and writing all the files that are present in tracker project.

So for example:

  • you could write a program that translates MIDI files ↔ patterns
  • you could transform tracker projects to DAWproject files (Bitwig’s open project format)
  • anything else you can think of
1 Like

This is incredible! I know it was discussed before, and synth engines didn’t really have the same “hooks” available as instrument files. Is there any hope for synth engine preset editors, or is that still not possible?

1 Like

Currently no. But never say never! :crossed_fingers:

1 Like

This is so cool! Thanks for sharing.

I’m wondering if this means that there’s a possibility of releasing the firmware source code for the trackers in the future?

1 Like

It’s definitely a step in the right direction :face_blowing_a_kiss:.

To quote myself from above:

1 Like

OMG :open_mouth: thank you so much!!!

So happy that the OG Tracker is included.

This is great, sort of granted the wish to have some sort of way to make stuff for the tracker without giving us the source. Which Polyend have stated multiple times they werent really feeling that idea.

Congrats on you decision! I think it is going to be a positive direction for the ecosystem.

any plans on doing the same thing on the play line?

1 Like

Absolutely superb work thank you.

1 Like

This is awesome, big up Sandroid for all the effort here! So much potential.

Would be really interested in successfully exporting tracker projects to Renoise - I think one sort of can already but wondering if this opens up easier options. I know esaruoho developed something along these lines before…

Thank you :folded_hands:

Yes, that should be possible, and @esaruoho may just be the person to achieve this with his tool! :heart:

1 Like

Log live the tracker! Can’t wait to try this instrument editor. looks incredible!

1 Like