There is no problem in principle with Lagrange interpolation of any order
at any modulation speed, because it's FIR interpolation.  If there is a
divide-by-zero issue, it's probably a bug.  If you can find a simple
failing case, I'll take a look at it. - Julius

On Thu, Feb 21, 2019 at 2:45 AM Dario Sanfilippo <sanfilippo.da...@gmail.com>
wrote:

> Thanks, Julius.
>
> Would the other interpolation algorithms be more stable? For example, the
> allpass ones? I'd assume that the linear interpolation one is always stable
> and perhaps they could be alright for infrasonic rate modulations.
>
> Cheers,
> Dario
>
> <http://dariosanfilippo.tumblr.com>
>
>
> On Wed, 20 Feb 2019 at 07:13, Julius Smith <j...@ccrma.stanford.edu> wrote:
>
>> Did you try -double ?
>>
>> It sounds like you may be pushing fdelayltv farther than anyone else to
>> date, so that could be where the trouble is.  We may need to protect it
>> from small denominators.
>>
>> - Julius
>>
>> On Tue, Feb 19, 2019 at 2:32 PM Dario Sanfilippo <
>> sanfilippo.da...@gmail.com> wrote:
>>
>>> Hello, list.
>>>
>>> I am experiencing some problems with NANs and I sometimes don't
>>> understand where they come from.
>>>
>>> I have replaced all divisions with the condition that if the divisor is
>>> 0, the output is 0, otherwise it is x1/x2.
>>>
>>> I'm working with a self-oscillating FDN which uses tanh function for
>>> stability processing. There are also 6th-order fdelayltv units and the
>>> other processing in the system is mainly about 1-pole and 1-p-1-z filters
>>> that I have implemented in Faust. So there is arithmetic, some
>>> trigonometric functions and some other math like abs, min, max, sqrt and
>>> pow.
>>>
>>> I've tested the tanh function by putting it within a feedback loop with
>>> a huge feedback coefficient and it simply clips to 1.
>>>
>>> Are the fdalyltv likely to produce NANs is the signal setting the delay
>>> is not within the expected range?
>>>
>>> In your experience, what else is likely to produce NANs?
>>>
>>> Thanks,
>>> Dario
>>> _______________________________________________
>>> 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/>
>>
>

-- 

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/>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to