@modplayjs/fmt-it
v0.0.4
Published
Impulse Tracker (.it) format plugin for modplayjs (libxmp it_load.c + itsex.c port).
Maintainers
Readme
@modplayjs/fmt-it
Impulse Tracker (IT) format plugin for @modplayjs/core — the most
feature-heavy loader in the family:
- IT214 / IT215 sample decompression (
itsex.ts, bit-exact port) - Full NNA / DCA / DCT new-note-action semantics
- IT envelope susloops, note delay, pattern loops
- MIDI macro configuration (
MIDI.XML-style CC/NNA macros) - OpenMPT compatibility flags (MPT preamp, extended sample options)
- CHBI compressed patterns
Install
npm install @modplayjs/fmt-itUsage
import { CorePlayer } from '@modplayjs/core';
import { plugin as itPlugin } from '@modplayjs/fmt-it';
const core = new CorePlayer();
core.registries.registerFormat(itPlugin);
core.loadModule(bytes); // .it fileAlso exports
itExportPlugin— write IT modules back out.itTest/itLoad— direct loader access.applyMptPreamp— OpenMPT preamp compatibility helper.
Part of the modplayjs monorepo. BSD-3-Clause.
