[PD] array comparison
Mathieu Bouchard
matju at artengine.ca
Thu Oct 14 18:22:05 CEST 2010
On Wed, 13 Oct 2010, cristiano figueiró wrote:
> In the attached patch, imagine that the arrays are probabilities of
> something (i.e. pitches), i would like to automate something that would
> have the output: "array1 is more stable than array2"
> and thinking that the array would be changing it's values in real-time, this
> comparison would be between an old snapshot and actual snapshot of the same
> array.
You can use [#for] with [#tabread] and then [t a a] with [# -] or [# abs-]
or [# sq-]. Then you can sum it with [#fold +].
get the externs at http://gridflow.ca/
_______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC
More information about the Pd-list
mailing list