TonicAudio / Tonic

Easy and efficient audio synthesis in C++
The Unlicense
523 stars 63 forks source link

Anti-aliased oscillators #170

Closed ndonald2 closed 11 years ago

ndonald2 commented 11 years ago

For now at least want to do:

Not sure which technique will be the best fit for Tonic, so some experimentation is in order.

In the future it would be nice to have a more all-purpose anti-aliased lookup oscillator.

ndonald2 commented 11 years ago

It sounds like minBLEP is a popular and fairly efficient approach, when using a table-lookup optimization.

There is plenty of example code out there (and it's public domain, so we can easily adapt it for Tonic and not worry about license conflicts):

http://www.experimentalscene.com/articles/minbleps.php http://www.musicdsp.org/showone.php?id=112

I'm planning on creating a DSPUtils file that abstracts out some of the DFT, cepstrum, etc for use across generators (and potentially with platform-specific optimizations, e.g. vDSP).

ndonald2 commented 11 years ago

Also this (hooray for wayback machine):

http://web.archive.org/web/20110611042314/http://www.slack.net/~ant/bl-synth/