-
booya
I was wondering what would be the best way of making an if/else condition in pd? For example:
if $1 < 10 ....... do this
else - do this
Thanks alot. -
booya
I'm using the snapshot tool to trace the amplitude of audio input and I'd like to put the 100 latest values into some sort of buffer/table/array. Subsequently I want to average those 100 values in order to extract a number representing the average level of audio activity in the past however many seconds. What would be the best way to store a set of 100 values. I've tried the write to table objects but they haven't worked for me. The tables contain 100 values but the values are all 0 even though numbers of 0 to 20 are being inputed into the write to table object. Could someone give me a simple example of how to preoperly write numbers to a table? Or if there's a better way to do what I'm trying to do please let me know the error in my ways!
Thanks a lot. -