[PD] 1 / 0 = 0?

Alexandre Torres Porres porres at gmail.com
Thu May 24 18:43:48 CEST 2018


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 <chakekatzil at gmail.com>:

> On Thu, May 24, 2018 at 10:57 AM, Christof Ressi <christof.ressi at gmx.at>
> 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
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180524/93d0b0ce/attachment-0001.html>


More information about the Pd-list mailing list