there is always the possibility to use a subpatch with [blocksize~ 1].
but I did not use this often, because, it is cpu intensive... better to
find a solution in the signal-domain.
like with >~ from zexy in combination(*~) with a phasor~ or line~ you
would get a signal vector, where you have only values on the bins, where
the threshold is crossed.
marius.
Alain de Cheveigne' schrieb:
I would like to measure the time of occurrence of waveform events (for
example from adc~) with sample resolution. In other words, I would
like to record at what sample index an event such as a threshold
crossing occurred. The aim is to time events on various inputs
relative to each other with sample accuracy.
I may be wrong, but I don't think things like vline~, timer or realtime
can give me this accuracy. What I have in mind is something like
threshold~, but that outputs the index at which a threshold-crossing
event occurred.
Does such a thing exist?
Alain
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list