Remix.run Logo
mrob 3 days ago

To put this into perspective, five FMAs per sample is enough to implement a biquad filter. This is a very common DSP building block that can implement an idealized version of any of the 2nd-order filters that were ubiquitous in analog synths, e.g. high pass/low pass/band pass/notch/all pass. See the famous Audio EQ Cookbook for examples:

https://www.w3.org/TR/audio-eq-cookbook/

By chaining various combinations of EQ and non-linear distortion (lots of ways to implement this, probably involving more FMAs) and you can build very good simulations of common analog synth signal paths.

Note that gsliepen's example sample rate of 96 kHz is perfectly reasonable in this context; it's more than you need to exceed the limits of human hearing, but it's common to oversample your signal for processing to avoid problems with aliasing.