pvscentSpectral Processing:Streamingpvscentpvscent
Calculate the spectral centroid of a signal.
Description
Calculate the spectral centroid of a signal from its discrete Fourier transform.
Syntaxkcent pvscent fsigacent pvscent fsigPerformancekcent -- the spectral centroid
acent -- the spectral centroid
fsig -- an input pv stream
Examples
Here is an example of the use of the pvscent opcode. It uses the file pvscent.csd.
Example of the pvscent opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoTools for Real-time Spectral Processing (pvs opcodes)CreditsAuthor: &namejohn;March 2005New plugin in version 5March 2005.