how to avoid division by zero?

Feb 26, 2011 at 10:37pm

how to avoid division by zero?

in creating a patch on discrete summation formula I need to avoid division by zero
because I’m dividing the outputs of two oscillators.
Do you have some suggestion????

Feb 27, 2011 at 4:49pm

I assume you wish to stay in the signal domain, so [if $f1 != 0. then $f1] won’t do……… I could be talking out of my backside, but what about the [abs~] object, will that pass a zero signal? but then you won’t get your negative values either….hmmmm


Feb 27, 2011 at 5:27pm

Trick question? What about !=~

Feb 27, 2011 at 6:32pm

maybe [maximum~ 0.001] can help.

Feb 27, 2011 at 6:50pm

we are discussing this problem in the following post concerning discrete summation formula:


You must be logged in to reply to this topic.