Module

micromod

Micromod MOD player plugin.

Note: Micromod module must be loaded by calling LoadLibrary("micromod") before using!

See:
  • LoadLibrary()

Methods

# inner MicromodDeInit()

unload the current MOD. this needs to be called before another module can be loaded.

# inner MicromodInit(filename, samplerateopt, buffersizeopt)

Load a MOD file and initialize Micromod.

Parameters:
Name Type Attributes Description
filename String

the file name of the module.

samplerate number <optional>

samplerate, default is 22kHz

buffersize number <optional>

decoding buffer size, default is 4KiB.

# inner MicromodPlay()

must be called periodically (e.g. every Loop()) to update the playback buffer.

# inner MicromodRewind()

rewind to the start of the current MOD.