MicromodUser Guide
Overview
Micromod is a (Java only) music player for MOD, S3M, and XM files. It wraps the excellent Micromod by Martin Cameron.
Quick Start
- Create a text file called
Example.fan
, making sure the fileMyTune.mod
exists:using concurrent using afMicromod class Example { Void main() { player := Micromod(ActorPool(), File(`MyTune.mod`)) player.play(Channels.stereo) Actor.sleep(22sec) player.stop } }
- Run
Example.fan
as a Fantom script from the command line:C:\> fan Example.fan [afMicromod] Playing `file:/.../MyTune.mod` [afMicromod] Stopping `file:/.../MyTune.mod`
.mod Files?
.MOD files are music files created by Music Tracker Software such as OctoMED. They were prominent in the Amiga DemoScene. See the Equninox Slammer page for some example .mod
files.