pvs2tab
Prev | Orchestra Opcodes and Operators | Next

## pvs2tab

pvs2tab — Copies spectral data to t-variables.

## Description

Copies a pvs frame to a t-variable. Currently only AMP+FREQ and AMP+PHASE formats allowed. This opcode requires the t-type to be defined, which means it only works in the new bison/flex-based parser.

## Syntax

    kframe pvs2tab tvar, fsig

## Performance

kframe -- current copied frame number. It can be used to detect when a new frame has been copied.

tvar -- t-variable containing the output. 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. Generally, this vector needs to be big enough to contain the frame samples, i.e. N+2 (N is the dft size). If smaller, only a portion of the frame will be copied; if bigger, unused points will exist at higher indexes.

fsig -- input fsig to be copied.

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

## Examples

Example 706. Example

    t1 init 1026
    a1 inch 1
    fsig1   pvsanal a1, 1024,256,1024, 1
    kframe  pvs2tabt1, fsig1

## Credits

Author: Victor Lazzarini
October 2011

New plugin in version 5

October 2011.

Prev | Up | Next
pvswarp | Home | pyassign Opcodes