[PD] Is this a correct spectral flux mesure implementation?

Charles Henry czhenry at gmail.com
Thu Oct 22 02:26:21 CEST 2009


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




More information about the Pd-list mailing list