tabifd
Instantaneous Frequency Distribution, magnitude and phase analysis.
The tabifd opcode takes an input function table and performs an Instantaneous Frequency, magnitude and phase analysis, using the STFT and tabifd (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
Initialization
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)
ifn -- source function table
Performance
ffr -- output pv stream in AMP_FREQ format
fphs -- output pv stream in AMP_PHASE format
ktimpt -- time point (in secs) to read from table (if less than 0 or bigger than table length, it will wraparound)
kamp -- amplitude scaling
kpitch -- pitch scaling (transposition)
Examples
Here is an example of the tabifd opcode. It uses the file tabifd.csd.
The example above shows the tabifd analysis feeding into partial tracking andcubic-phase additive resynthesis with pitch shifting.
See also
Tools for Real-time Spectral Processing (pvs opcodes)
Credits
Author: Victor Lazzarini
Aug 2015
New plugin in version 6
Aug 2015