ENGINEERING ★ 176 upvotes 2022

Dexed FM synthesizer similar to DX7 running on bare metal Raspberry Pi

Retrospective Overview & Key Insights

Distilled analysis of the business dynamics, operational challenges, and strategic takeaways:

In this technical retrospective (2022), @rcarmo shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Community Discussions & Critical Reviews

High-signal perspectives, counter-arguments, and peer founder insights debated on Hacker News (33 total discussions):

AP @Applejinx Peer Contributor
DI @dimatura Peer Contributor

Pretty cool. Seems like this project was built on the Microdexed [1] code, which is a port of Dexed to run on a teensy. It uses circle [2] as a bare-metal basis on the pi, which was also used by mt-32pi [3] to run a sample-based synth that can emulate the roland mt-32.

[1] https://codeberg.org/dcoredump/MicroDexed [2] https://github.com/rsta2/circle [3] https://github.com/dwhinham/mt32-pi

SQ @squarefoot Peer Contributor

Any chance to see it run on different ARM boards other than the RPi? I ask because the RPi audio output is notoriously bad, to the point it requires an external DAC for any decent audio use, while there are many other cheap ARM boards out there with perfectly good internal DACs, and sometimes also very good ADCs.

JS @jsilence Peer Contributor

Usually I have hard to solve ground loop noise issues with my Raspberry Pi based synths when used in combinaton with other synths. So while this is for sure a nice project, with all due respect and kudos, for those really only interested in the DX7 sound, it is probably better to look into the new Volka FM 2.

NK @nkozyra Peer Contributor

Nice

I've been building little raspi synths for awhile but they all sit inside Linux because bypassing the os is outside of my dev comfort zone.

But it's obviously the way to go. The dx7 is pretty well tread space, I'd love to see some great granular synths on rpi like the GR-1

HISTORICAL ERA Pandemic Bubble (2020–2022)
COMMUNITY SCORE ★ 176 points
TOTAL DISCUSSIONS 33 comments
TOPICS & TECH STACK:
More Retrospectives by @rcarmo