trhighest
Extracts the highest-frequency track from a streaming track input signal.
The trhighest opcode takes an input containg TRACKS pv streaming signals (as generated, for instance by partials) and outputs only the highest track. In addition it outputs two k-rate signals, corresponding to the frequency and amplitude of the highest track signal.
Syntax
Performance
fsig -- output pv stream in TRACKS format
kfr -- frequency (in Hz) of the highest-frequency track
kamp -- amplitude of the highest-frequency track
fin -- input pv stream in TRACKS format.
kscal -- amplitude scaling of output.
Examples
Here is an example of the trhighest opcode. It uses the file trhighest.csd.
The example above shows partial tracking of an ifd-analysis signal, extraction of the highest frequency and resynthesis.
See also
Tools for Real-time Spectral Processing (pvs opcodes)
Credits
Author: Victor Lazzarini
February 2006
New in Csound 5.01