On Mon, May 28, 2018 at 11:28 PM, Brian Willoughby <[email protected]> wrote:
> > > On May 27, 2018, at 1:08 PM, Paul Davis <[email protected]> > wrote: > >> On Sun, May 27, 2018 at 3:53 PM, Albin Stigö <[email protected]> > wrote: > >>> An oscillator based on a lookup table would work well. You only need > one table per wave type and then maintain separate pointers into the table > for each oscillator. > > > > on most modern architectures, it is less costly to do the math to > generate a sine than it is to do memory-based lookup. wavetables for sine > waves are a mid-90s idea. > > Paul is right. Lookup tables add distortion, unless you have a table for > every possible frequency and you don’t allow pitch bends. which is still slower (because of memory access) than doing the math :)
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
