Please pull the latest master and try again.  I could only reproduce this
using negative frequencies for the sawtooth, so I changed freq to abs(freq)
which fixed it in my tests.  Let me know if you can break it again.

Thanks,
Julius

On Wed, Feb 3, 2016 at 11:51 AM Stephen Sinclair <radars...@gmail.com>
wrote:

> Not sure of the source of the clicks, probably a sudden jump of the
> phasor, but have you tried passing sfreq through a simple low pass filter
> to stop it changing too fast?  Probably you want it to change no faster
> than a human hand can move, so a 10 Hz or 20 Hz filter would be not too
> noticeable, and would ensure smooth frequency transitions.
>
> On Wed, Feb 3, 2016 at 4:40 PM, Laurent POTTIER <lp.pott...@free.fr>
> wrote:
>
>> Hello Everyone,
>>
>> I have problems with the following code :
>>
>> *import("oscillator.lib");*
>> *sfreq = vslider("Frequency",  49,1,88,0.01) : pianokey2hz;*
>> *process = sawtooth(sfreq) ;*
>>
>> When I change frequency, I have big clicks (high level clicks - see pict
>> attached).
>>
>> Is there another way than "sawtooth" for creating saw waves without
>> aliasing and without clicks ?
>>
>> Thank you
>>
>> bests
>>
>> Laurent
>>
>>
>>
>>
>> --
>> ********************************************
>> Université Jean Monnet
>> CIEREC - EA3068
>> 35, rue du 11 novembre
>> 42023 Saint-Etienne Cedex 02 - France
>> port. : +33(0)6 21 66 28 76
>> tel : +33(0)4 77 42 16 61
>> fax : +33(0)4 77 42 16 84
>>
>> laurent.pott...@univ-st-etienne.fr
>> ********************************************
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to