Freeze a value

Hello to all
If we have an input of numbers that are constantly changing
Like an output from an audio analyzer
Is there a way to store the largest number obtained from that?

yes you can monitor it’s value and compare the last highest with the current value using a greater than logic, and then send the boolean output to be a pulse event that triggers pinlastvalue from script.

you an also combine it with PersistenceModule if you want to store the value so the next time user opens it, it still there.

Unfortunately I do not know how to write a script, is it possible to compare them in the patch editor by delaying the input numbers?

There’s a new patch for doing this! It works like a delay frame, but for values instead of textures.

1 Like

This is an interesting idea, thank you