@modplayjs/fmt-s3m
v0.0.4
Published
Scream Tracker 3 (.s3m) format plugin for modplayjs (libxmp s3m_load.c port).
Maintainers
Readme
@modplayjs/fmt-s3m
Scream Tracker 3 (S3M) format plugin for @modplayjs/core.
Install
npm install @modplayjs/fmt-s3mUsage
import { CorePlayer } from '@modplayjs/core';
import { plugin as s3mPlugin } from '@modplayjs/fmt-s3m';
const core = new CorePlayer();
core.registries.registerFormat(s3mPlugin);
core.loadModule(bytes); // .s3m fileHandles S3M semantics with libxmp parity: sample/pattern loops with S3M
loop mode, Amiga-style period slides, the S3M retrigger variant
(S3MRTG), fine effects, and the S3M_END order marker.
Also exports
s3mExportPlugin— write S3M modules back out.s3mTest/s3mLoad— direct loader access (signature identical to libxmp's format loaders).
Part of the modplayjs monorepo. BSD-3-Clause.
