expr can give you inf/nans eventually, but it was not originally part of
pd's core

2018-05-24 13:43 GMT-03:00 Alexandre Torres Porres <[email protected]>:

> Many math objects in pd have protection against nan/inf, not only in the
> audio control. It is the official policy
>
> 2018-05-24 12:49 GMT-03:00 Martin Peach <[email protected]>:
>
>> On Thu, May 24, 2018 at 10:57 AM, Christof Ressi <[email protected]>
>> wrote:
>>
>> there's no other sane way to handle division by 0 in the audio domain
>>> since the result must be a number and there are only two options: output 0
>>> or some ridiculously large number (which would be quite dangerous).
>>>
>>
>> Yes, but if you try division by a very small number close to zero you
>> still get very large numbers that audio hardware will clip to +-1; the
>> singularity at zero is weird.
>>
>> Martin
>>
>>
>> _______________________________________________
>> [email protected] mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to