pvsifd Spectral Processing:Streaming pvsifd pvsifd Instantaneous Frequency Distribution, magnitude and phase analysis. Description The pvsifd opcode takes an input a-rate signal and performs an Instantaneous Frequency, magnitude and phase analysis, using the STFT and pvsifd (Instantaneous Frequency Distribution), as described in Lazzarini et al, "Time-stretching using the Instantaneous Frequency Distribution and Partial Tracking", Proc.of ICMC05, Barcelona. It generates two PV streaming signals, one containing the amplitudes and frequencies (a similar output to pvsanal) and another containing amplitudes and unwrapped phases. Syntax ffr,fphs pvsifd ain, ifftsize, ihopsize, iwintype[,iscal] Performance ffr -- output pv stream in AMP_FREQ format fphs -- output pv stream in AMP_PHASE format ifftsize -- FFT analysis size, must be power-of-two and integer multiple of the hopsize. ihopsize -- hopsize in samples iwintype -- window type (O: Hamming, 1: Hanning) iscal -- amplitude scaling (defaults to 1). It is unsafe to use the same f-variable for both input and output of pvs opcodes. Using the same one might lead to undefined behavior on some opcodes. Use a different one on the left and right sides of the opcode. Examples Here is an example of the pvsifd opcode. It uses the file pvsifd.csd. Example of the pvsifd opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. The example above shows the pvsifd analysis feeding into partial tracking andcubic-phase additive resynthesis with pitch shifting. See also Tools for Real-time Spectral Processing (pvs opcodes) Credits Author: &namevictor; June 2005 New plugin in version 5 November 2004.