tab2pvs
Prev | Orchestra Opcodes and Operators | Next

## tab2pvs

tab2pvs — Copies spectral data from k-rate arrays (or t-variables.). Also known as pvsfromarray.

## Description

Copies a pvs frame from a t-variable or k-rate array. Currently only AMP+FREQ is produced. This opcode requires the t-type to be defined, which means it only works in the new bison/flex-based parser.

## Syntax

    fsig tab2pvs tvar|karr[][,ihopsize, iwinsize, iwintype]

    fsig tab2pvs kmags[], kfreqs[][,ihopsize, iwinsize, iwintype]

## Performance

tvar -- k-rate array (or t-variable) containing the input. It is produced at every k-period, but may not contain a new frame, pvs frames are produced at their own frame rate that is independent of kr. The size of this vector will determine the fftsize, N = size - 2.

kmags[], kfreqs[] -- k-rate arrays containing the input magnitude and frequency values. The output is produced at every k-period, but may not contain a new frame, pvs frames are produced at their own frame rate that is independent of kr. These vectors must be the same size and they will determine the fftsize, N = size - 2.

fsig -- output fsig to be copied.

iolap -- size of the analysis overlap, defaults to isize/4.

iwinsize -- size of the analysis window, defaults to isize.

iwintype -- type of analysis window, defaults to 1, Hanning.

## Examples

Example 1075. Example

    karr[] init 1026
    ...
    fsig1  tab2pvs karr

aout pvsynth fsig1

## Credits

Author: Victor Lazzarini
October 2011

New plugin in version 5

October 2011.

Prev | Up | Next
tab2array | Home | tambourine