-----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: - - always, i repeat: ALWAYS, use [trigger] when you have a message fan-out (one outlet connected to multiple inlets) - - it would be better to construct your loops using messages rather than using [phasor~], as it would make loop-detection unneccessary. your current loop-detector has some bad problems: - -- if you have a very long loop, the read-signal will stay a significant amout over your threshold of 0.98. - -- since you only poll the loop-detector at each 50ms, you will obviously not be able to detect loops shorter than 50ms. - -- even if you poll each block, you will have problems if you have a 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlBz7C8ACgkQkX2Xpv6ydvTNHACfSKkg8IvkeCKNlvuCS8sW2qhM EPEAoMvw605l3X1gcIqBl25SIPI/iNjM =P4HV -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list