trsplit
Streaming partial track frequency splitting.
The trsplit opcode takes an input containg a TRACKS pv streaming signal (as generated, for instance by partials) and splits it into two signals according to a k-rate frequency 'split point'. The first output will contain all tracks up from 0Hz to the split frequency and the second will contain the tracks from the split frequency up to the Nyquist. It can also, optionally, scale the gain of the output signals by a k-rate amount (default 1). The result is two output signals containing only part of the original spectrum.
Syntax
Performance
fsiglow -- output pv stream in TRACKS format containing the tracks below the split point.
fsighi -- output pv stream in TRACKS format containing the tracks above and including the split point.
fin -- input pv stream in TRACKS format
ksplit -- frequency split point in Hz
kgainlow, kgainhig -- amplitude scaling of each one of the outputs (default 1).
Examples
Here is an example of the trsplit opcode. It uses the file trsplit.csd.
The example above shows partial tracking of an ifd-analysis signal and linear additive resynthesis of the upper part of the spectrum (from 1500Hz).
See also
Tools for Real-time Spectral Processing (pvs opcodes)
Credits
Author: Victor Lazzarini
February 2006
New in Csound 5.01