how to have a time dependant average?
Something like accum but that trends back to zero (or some other value) as time goes on without input.
I'm not sure I'm describing it well but any suggestions?
(I wanna count certain midi messages, and each time there's a matching message it ups my output value... but as time goes on without input it smoothly goes back to zero)
The domain for this is floats, btw.
Thanks!
you probably have something else named plugconfig in your path, maybe like plugconfig.txt or something like that.
> Something like accum but that trends back to zero (or some other value) as
> time goes on without input.
you can use accum, you could also try something with slide, just make sure
that object knows that the time is going on while there is
no input(or if your incoming and outgoing data rate is low, make it know
that the time was going on while there was no input).
try example below.
hth,
nesa
Ah, yes, nice! thanks, perfect!