Based on a definition here:
http://en.wikipedia.org/wiki/Spectral_flux

I guess you want to take the difference between the power spectral
densities (PSD) of successive blocks.  Your fexpr~ statement won't do
that.  You need to delay one copy of the PSD signal by a whole block
and subtract it from the current PSD--it's easy to do with
delread~/delwrite~.

Then, write the contents to a table with tabwrite~ , and use expr to
sum up the values in the table.  See the expr documentation here:
http://crca.ucsd.edu/~syadegar/expr.html

Chuck

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to