[PD] phasor to square
claudiusmaximus at goto10.org
Sun Jan 20 17:00:22 CET 2008
Derek Holzer wrote:
> Hi Raul,
> you will want to investigate the binary operations and mathematical
> operations for signals. In this case, you want to know when the
> [phasor~] reaches 1:
This won't work, because the phasor~ may reach 1 in between samples. In
general, phasor~ is almost never exactly 1 (or any other value).
Use the falling edge to get timing, which is what samphold~ does.
No time to write more now...
More information about the Pd-list