[PD] How's Pd limited?

Matt Barber brbrofsvl at gmail.com
Mon Mar 14 05:27:54 CET 2016


Or if [fexpr~] is too expensive...

On Mon, Mar 14, 2016 at 12:00 AM, Chris McCormick <chris at mccormick.cx>
wrote:

> On 25/02/16 22:39, i go bananas wrote:
>
>> real-time zero-crossing detection with sample-rate precision.
>>>
>>
>> if (incomingSignal > 0 && previousIncomingSignal < 0 || incomingSignal <
>> 0 || previousIncomingSignal > 0) return 1;
>> else return 0;
>>
>
> fexpr~ if (($x1[0] > 0 && $x1[-1] < 0) || ($x1[0] < 0 && $x1[-1] > 0), 1,
> 0);
>
> Cheers,
>
> Chris.
>
> --
> http://mccormick.cx/
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160314/371fca88/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zero-crossing~-help.pd
Type: application/octet-stream
Size: 2630 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160314/371fca88/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zero-crossing~.pd
Type: application/octet-stream
Size: 961 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160314/371fca88/attachment-0001.obj>


More information about the Pd-list mailing list