Close

Future Work

A project log for ModPlay RISC-V

Playing 4ch Tracker Music MOD-Files on a "$0.10" MCU.

timTim 10/26/2025 at 10:470 Comments

This was just an experiment, and I will step back from further work for now. But there is still a lot to do to improve this further.

A first estimate of achievable SNR vs bit depth with more advanced audio processing is shown below. The two lines indicate 12bit and 14bit effective number of bits (ENOB) after noise shaping.

MODplay (INT driven) -> Noise shaper -> SRAM (Ring buffer) -> DMA -> Timer PWM -> RC Filter -> Audio Out

Even low end 32bit microcontrollers are in many instances as capable as a homecomputer / PC from the early 90ies. Powerful DMA feature keep the burden of playing samples off the CPU core. A 32 bit single cycle RISC-V CPU core can very well be compared to a 80486 or 68040, with some limitations regarding memory speed (There are waitstates on flash memory access and no cache).

Discussions