Well I didn’t exactly finish anything this week, but I still felt like I acheived a fair amount. I started working on a modular synth / generative music environment in zig. So far it’s got a graph with nodes, and the nodes have ports for different data types. It topologically sorts the graph to process the nodes in the right order. There’s functions for adding and removing nodes and edges, serializing / deserializing the graph to JSON, oh and it actually makes sound!

There’s also a pretty primative GUI, you can do a lot of the basic things like making connections, adding nodes, moving stuff around, zoom in out etc. All in all I’m quite happy with how it’s coming along, and I’m excited to get more of the groundwork stuff so I can move on to creating more interesting nodes than just a sine wave osc.

graph thing