Re: 200+ sine oscillators on iOS
Re: 200+ sine oscillators on iOS
- Subject: Re: 200+ sine oscillators on iOS
- From: Paul Davis <email@hidden>
- Date: Tue, 29 May 2018 08:42:59 -0400
On Mon, May 28, 2018 at 11:28 PM, Brian Willoughby <email@hidden>
wrote:
>
> > On May 27, 2018, at 1:08 PM, Paul Davis <email@hidden>
> wrote:
> >> On Sun, May 27, 2018 at 3:53 PM, Albin Stigö <email@hidden>
> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden