-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-09 10:03, Rick T wrote:
- i also attached the pd file*
after a quick look:
fan-out (one outlet connected to multiple inlets)
than using [phasor~], as it would make loop-detection unneccessary. your current loop-detector has some bad problems:
significant amout over your threshold of 0.98.
obviously not be able to detect loops shorter than 50ms.
very short loop, as the read signal might never be above 0.98 when read by [snapshot~]. remember that [snapshot~] will peak at exactly one sample in your block (iirc, the last sample). so if your signal is just below the threshold when you first glance at it, then increments and jumps to 0 and then you read it the second time, you will miss it.
claudes idea is much better here:
use
[0, 6 1000( | [line~] | [wrap~] | [tabread4~]
to loop exactly 6 times in 1000ms. no need to count the number of loops. (adjust loop count and time to your needs)
fgmasdr IOhannes