Menu

New tech unlocked: Factorio can play actual songs beyond MIDI.
📰

New tech unlocked: Factorio can play actual songs beyond MIDI.

#factorio#redditfactorio#game#play#sounds
Reading 0:00
15s threshold

Factorio's programmable speakers can only play the game's built-in sounds by default. To play arbitrary audio, a solver picks, 60 times a second, which of those sounds to start and how loud, so that together they add up to the real song. All of this works without any mods.

I've been working on this project on and off for about 3 years, and the Factorio 2.1 update finally made it possible to finish. When I built the first prototype, I would never have imagined the level of quality that was possible in this final version. The more I learned about how the game talks to its sound engine, the more quirks I could use, until it became a pretty decent mp3 player inside the game.

There were so many times I was ready to shelve this project, because I thought there was no room left for improvement and it just didn't sound good enough to be worth it.

It's not perfect: there's still some noise, and because the game's audio thread runs on its own clock, it sounds a bit different each time you play it.

I think it's…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.