FM synthesis is a powerful technique, popularized in the 1970’s, that allows for complex sounds to be created by modulating the frequency of simple sine waves. If you want to dive deep into FM, you can check out this awesome article from sound on sound. In this tutorial ill show you how to build a basic FM synth inside of Unity using C#.

Start by creating an empty Game Object with an Audio Source and a new C# script attached.