Hi Laurent,
Thanks for your report and code example.
So saw3 has audibly less aliasing than saw2? Or do you mean some other
kind of click?
Thanks,
Julius
On Fri, Feb 5, 2016 at 12:26 PM Laurent Pottier <
laurent.pott...@univ-st-etienne.fr> wrote:
> Hello,
>
> I have better results with the latest master, thank you very much Julius !
>
> Thanks to Romain too, that explained that *saw3* will be better than
> *saw2* for removing clicks...
>
> and a very fast *smooth* function helps without portamento effect.
>
> So this code works fine,
>
> *import("oscillator.lib");*
> *import("effect.lib");*
> *sfreq = vslider("[1] Frequency [unit:PK] [style:knob] [tooltip: Sawtooth
> frequency as a Piano Key (PK) number (A440 = key 49)]", 49,1,88,0.01) :
> pianokey2hz : smooth(tau2pole(0.001));*
> *process = saw3(sfreq) ;*
>
> cheers,
>
> Laurent
>
> Le 3 févr. 2016 à 23:35, Julius Smith <j...@ccrma.stanford.edu> a écrit :
>
> 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 ?
>>>
>>
> --
> ********************************************
> 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