Coding a synthesizer in C (episode #1)
locogame locogame
649 subscribers
14,147 views
0

 Published On Mar 8, 2021

A programming tutorial on how to create a synthesizer in C using Raylib. Been a while since I have got stuck into a programming project, so I'm using this opportunity to record the process. This is completely unedited so you'll get to see me waste a lot of time debugging and making silly mistakes :)

=== PROJECT DOWNLOAD ===
https://www.dropbox.com/sh/k9y8jvbg7o...

=== TOOLS ===
== Visual Studio Code.
== Raylib [https://www.raylib.com].
== Tiny C Compiler (TCC) [included with raylib].
== Windows 10.

=== RESOURCES===
== Building a Numerically Controlled Oscillator
= https://zipcpu.com/dsp/2017/12/09/nco...
== Generating PolyBLEP Waveforms
= http://www.martin-finke.de/blog/artic...

=== CHAPTERS ===
0:00 - Intro.
1:06 - Setup.
1:39 - A very simple program.
5:46 - Getting raylib working.
13:57 - Drawing a sine wave.
27:07 - Introducing a sample rate.
30:07 - Explaining how functions work.
32:41 - Fixing a dumb mistake.
38:09 - Sweeping a frequency.
40:10 - Nyquist Theorem.
32:35 - Setting up the audio stream.
50:59 - Debugging a linker error.
56:58 - Debugging no audio output.
1:04:11 - Phase based oscillator.
1:10:46 - Working sweep.
1:11:28 - Adding an LFO.
1:18:27 - Interaction with mouse.
1:20:38 - Additive synthesis.
1:26:38 - Phase interference.
1:29:39 - Back to additive synthesis.
1:36:07 - Wrap up.

show more

Share/Embed