Thanks for the heads up!  I will update, test, and commit soon (end-quarter
crunch right now)

- Julius

On Thu, Jun 9, 2016 at 3:24 AM, Bart Brouns <b...@magnetophon.nl> wrote:

> Hi Julius,
>
> I just noticed, in oscillator.lib, sawN still uses the old saw algo.
>
> Cheers,
> Bart.
>
>
> On Thu, Jun 02, 2016 at 07:32:17AM +0200, Bart Brouns wrote:
>
>> Thanks!
>>
>> On 2 jun. 2016, at 03:00, Julius Smith <j...@ccrma.stanford.edu> wrote:
>>
>> Yes, the two cases behave surprisingly differently (to me) in the
>>> time-varying case.  Yours is more robust, so I've adopted it as
>>> follows:
>>>
>>> // --- lf_sawpos ---
>>> // simple sawtooth waveform oscillator between 0 and 1
>>> lf_sawpos(freq) = frac ~ +(freq/ml.SR) with { // Bart Brouns version
>>>   frac(x) = x - floor(x);
>>> };
>>>
>>> Please let me know if you'd like to see anything written differently.
>>>
>>> Thanks,
>>> - Julius
>>>
>>> On Tue, May 31, 2016 at 4:30 AM, Bart Brouns <b...@magnetophon.nl>
>>> wrote:
>>>
>>>> Hi Julius,
>>>>
>>>> I just tested with moving frequencies and the difference becomes even
>>>> bigger:
>>>>
>>>> (par(i, 1000, my_lf_sawpos(abs((i+10) *lfo) )):>_)/1000
>>>>
>>>> (par(i, 1000, lf_sawpos(       (i+10) *lfo  )):>_)/1000
>>>>
>>>> take 30 and 65 % respectively, even with the (usually unneeded) abs.
>>>>
>>>>
>>>> Cheers,
>>>> Bart.
>>>>
>>>
>>>
>>>
>>> --
>>> Julius O. Smith III <j...@ccrma.stanford.edu>
>>> Professor of Music and, by courtesy, Electrical Engineering
>>> CCRMA, Stanford University
>>> http://ccrma.stanford.edu/~jos/
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports.
>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> _______________________________________________
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>
>
>


-- 

Julius O. Smith III <j...@ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/ <http://ccrma.stanford.edu/>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to