Audio playback is a trivial activity for any fashionable laptop, but when a microcontroller options sound output, it’s often within the type of beeps and boops, or maybe easy melodies. Nevertheless, as famous in this ModPlay RISC-V venture writeup by creator Tim/cpldcpu, a contemporary microcontroller is able to excess of that. The truth is, a single-cycle 32-bit RISC-V is comparable in some ways to an 80486 or 68040 from the early Nineteen Nineties.
For this venture, cpldcpu determined it was time for microcontroller sound output to progress to the fabulous MOD-format music of the late ’80s and early ’90s. This musical paradigm takes plenty of saved samples and performs them on separate tracks like a sequencer, which permits useful resource and storage-limited machines to play relatively fascinating tunes with out the necessities of totally recorded songs. This leads to actually fascinating music, harking back to video video games from that period.
ModPlay RISC-V allows playback of four-channel MOD recordsdata, a lot of which can be found on The Mod Archive. Amazingly, the participant takes up solely round 4kb of flash reminiscence, and makes use of between 15 and 25% of the CPU’s processing energy throughout playback.
Whereas there may be probably nonetheless extra to do on this venture, cpldcpu is stepping again from engaged on it in the interim. You, nevertheless, can take a look at — and maybe even proceed — his work, discovered right here on GitHub. For now, hearken to his superb outcomes from a MOD-enabled microcontroller and filter setup!
