Generate a sound (not from a file) Generate a sound (not from a file) swift swift

Generate a sound (not from a file)


https://gist.github.com/rgcottrell/5b876d9c5eea4c9e411c

This code on the other hand works, and it's beautifully written...

Success!


You can try AudioKit.

It's an audio framework built on top of Core Audio.In their Continuous Control example they use a simple FM oscillator with controlled parameters.