You don't even need that much logic for zero crossings. They are easy to
find using some simple arithmetic. See attached.

On Thu, Feb 25, 2016 at 9:39 AM, i go bananas <hard....@gmail.com> wrote:

> >real-time zero-crossing detection with sample-rate precision.
>
> this is something that is super simple to implement.
>
> it's like:
>
> if (incomingSignal > 0 && previousIncomingSignal < 0 || incomingSignal <
> 0 || previousIncomingSignal > 0) return 1;
> else return 0;
>
> i also don't understand why such an easy tool has never been put into
> vanilla pd.
>
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>

Attachment: zero-crossing~-help.pd
Description: Binary data

Attachment: zero-crossing~.pd
Description: Binary data

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to