morphx666 / SharpMod

A .NET implementation of the Mod95 MOD player

Repository from Github https://github.commorphx666/SharpModRepository from Github https://github.commorphx666/SharpMod

SharpMod

A cross-platform .NET implementation of the Mod95 MOD player

This is a verbatim implementation of the magnificent code developed by Olivier Lapicque for his Mod95 player.

For more information, visit https://openmpt.org/legacy_software

SharpMod

Using SharpMod

Instantiating a new SoundFile:

A new SoundFile object is instantiated by calling the SoundFile ctor and passing the audio backend's parameters, such as the desired sample rate, bit depth (8/16) and channel count (1/2).

SharpMod.SoundFile sf = new SharpMod.SoundFile(modFileFullPath, sampleRate, bitDepth == 16, channels == 2, false);

Then, whenever the audio backend requests audio data, call the SoundFile.Read method to parse the MOD file and receive back a raw audio buffer, which can be passed back to the audio renderer.

About

A .NET implementation of the Mod95 MOD player

License:MIT License


Languages

Language:C# 61.8%Language:C++ 29.9%Language:Makefile 6.1%Language:Clarion 1.3%Language:C 1.0%