claude pointed the discussion that has an amazing easy way.

instead of trying to get a bang from phasor someway, you can create a phasor with bangs


[metro x]
|
[0, 1 x (
|
[vline~]

where x is freq/samprate, you could calculate it and send it to metro and through a [f ] banged by the metro to a [0, 1 $1(

pros: easy way to access the bangs with exactly time

cons: -it is impossible (not impossible, i propose a hard solution after) to change the frequency while ramp is going, you can only change it for the next ramp. This makes low frequencies annoying to control this way.

-one possible way to overcome this problem is using some doppler delay line after the ramp while recalculating mannualy where the next bang should be, and when that arrives we start the metro and reset the doppler. Just forget this, but would be an idea.

Em Seg, 4 de mar de 2019 06:45, Lorenzo Sutton <lorenzofsutton@gmail.com> escreveu:
On 02/03/19 14:20, Orm Finnendahl wrote:
> Hi,
>
>   is there some easy way in vanilla pd to get a bang on each phasor~
> wraparound which doesn't involve polling with snapshot~?
>
> Something like samphold~, but outputting bangs instead of signals.
>

Curiosity: What's your use case?

Lorenzo.



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