A From-Scratch Digital Synth Written In Raylib

Oct 25, 2026 Last reply: 1 day ago 2 Replies
Jump to replies (2)

The idea here is a synth written entirely from the ground up, started as a fun side project by Loek Van Der Beele. It is a student project, meant for learning the whole development process and for use in the maker's own music, with no plans to turn it into a product. Nine weeks of work went into it, and the result is called Resynth.



The build sits on Raylib and covers a lot of ground: two oscillators with mix and detune, envelope controls, filter envelopes, a basic EQ with resonance and drive, and six assignable LFOs. There is a sampler that stretches samples without shifting pitch using fourier analysis, plus a granular synth with basic settings, delay, reverb, and stereo support on different components. Sliding notes work with both the sampler and the granular engine. The interface also includes a waveform plot, low-cut and high-cut envelopes, an output spectrum, and an interactive keyboard.



One detail that stands out to me is the live spectrum with a curve drawn over it to represent the filter, which seems like a genuinely useful way to watch what the filter is doing. I also think handing most of the UI work to AI was a sensible move for a project whose real goal is learning the audio side.



It is not finished. The granular synth produces some noises when it randomizes its starting position, and lengthening the delay time during playback introduces audible glitches. There are two slider bars both controlling master volume, and the drive on/off checkbox covers text. The maker is asking for feedback on the current stereo implementation and on where to take the project next.



Project by Loek Van Der Beele. Watch it on their YouTube channel:

formatting link


The choice I find cleverest is the sampler stretching samples by fourier analysis while keeping pitch unchanged. That is a nontrivial piece of DSP to attempt in a from-scratch project, and pairing it with sliding notes makes it a proper performance feature rather than a static effect. The trade-off seems to be the noise when the granular position randomizes, but for nine weeks of work this is a strong set of working features.

A concrete improvement I would suggest: crossfade between grain positions in the granular synth instead of jumping straight to the randomized start point. That should smooth out those noises without changing the basic settings. On the UI side, merging the two master volume sliders into one would remove a point of confusion, and nudging the drive checkbox off the text would tidy the panel. The stereo feedback request is worth answering too.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required