Re: [music-dsp] Release pyo 0.8.0 (Python dsp library)

2016-05-19 Thread Laurent de Soras

list_em...@icloud.com wrote:

(Too bad the gifs
on the devmaster.net page have gone missing.)


I previously saved this page with all the graphics:


___
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp



Re: [music-dsp] Release pyo 0.8.0 (Python dsp library)

2016-05-19 Thread Olivier Bélanger
Hi Jerry,

The cheaper one is nothing but a parabola. Not really a sine wave but
it works very well for LFOs... The more accurate algorithm is a
weighted average between the parabola and its squared version. This
one can surely be used as a sine wave oscillator. The algorithm is
well described here:

http://forum.devmaster.net/t/fast-and-accurate-sine-cosine/9648

On my computer (think pad edge 1.4 GHz, xubuntu 16.,04):

500 Sine objects = 45% CPU
500 FastSine (quality 1) = 32% CPU
500 FastSine (quality 0) = 23% CPU

You can see my implementation here (search for
"FastSine_readframes_low" and "FastSine_readframes_high"):
https://github.com/belangeo/pyo/blob/master/src/objects/oscilmodule.c

Olivier

On Tue, May 17, 2016 at 4:21 AM,   wrote:
> On May 15, 2016, at 4:55 AM, Olivier Bélanger  wrote:
>
>> - FastSine, two fast sin approximations (faster than linear table lookup).
>
> Hi Olivier,
>
> This work looks awesome! Can you tell us more about, or provide a reference 
> for, the new FastSine object? I'm wondering how it is implemented for both 
> levels of quality and if there is some sensible measure of that quality that 
> you can tell us.
>
> Jerry
>
> ___
> dupswapdrop: music-dsp mailing list
> music-dsp@music.columbia.edu
> https://lists.columbia.edu/mailman/listinfo/music-dsp
>
___
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp