I have an array with the magnitude of the input signal.
How can I sum the values??? I cannot use the [sum] object because I have signal values...any ideas???
Sum~
I have an array with the magnitude of the input signal.
How can I sum the values??? I cannot use the [sum] object because I have signal values...any ideas???
Read the values incrementally and add them all up, using triggers and float boxes...
The problem is that I have signal values, and each time i do that (using a for loop) i get different results. Probably because i cannot synchronize my input before it changes. and if i use [fexpr~] it is very cpu consuming....
I was going to suggest fexpr~. If you're worried about it being intensive but it's something that you would use intermittently you could always use its "start" and "stop" methods.
It is not that I'm worried, I do not get results because my pc "dies" when I use the fexpr~ object....
i also used [expr~ sum($v1)] but I get an error "expr: sum: need a table name"....
So I really do not know what to do. And it is very important for me to have the sum of the buffer each time it is filled.
heres one for you hope thats what you mean
@pulsed said:
heres one for you hope thats what you mean
That's pretty much what I would've suggested =-)
I will try it and i will tell you...
thank you for your help!!! (I'm very new with pd so....)
I upload the patch that actually worked.....
Thank for your help and your time.....
Oops! Looks like something went wrong!