binit Spectral Processing:Streaming binit binit PVS tracks to amplitude+frequency conversion. Description The binit opcode takes an input containg a TRACKS pv streaming signal (as generated, for instance by partials) and converts it into a equal-bandwidth bin-frame containing amplitude and frequency pairs (PVS_AMP_FREQ), suitable for overlap-add resynthesis (such as performed by pvsynth) or further PVS streaming phase vocoder signal transformations. For each frequency bin, it will look for a suitable track signal to fill it; if not found, the bin will be empty (0 amplitude). If more than one track fits a certain bin, the one with highest amplitude will be chosen. This means that not all of the input signal is actually 'binned', the operation is lossy. However, in many situations this loss is not perceptually relevant. Syntax fsig binit fin, isize Performance fsig -- output pv stream in PVS_AMP_FREQ format fin -- input pv stream in TRACKS format isize -- FFT size of output (N). Examples Here is an example of the binit opcode. It uses the file binit.csd. Example of the binit opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. The example above shows partial tracking of an ifd-analysis signal, conversion to bin frames and overlap-add resynthesis. See also Tools for Real-time Spectral Processing (pvs opcodes) Credits Author: &namevictor; February 2006 New in Csound5.01