Programmer Guide/Command Reference/EVAL/cvphase: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:


;Usage:<code>cvphase(<var>p</var>, <var>ifmt</var>,  <var>ipos</var>, <var>ibin</var>, <var>ofmt</var>, <var>opos</var>, <var>obin</var>, <var>nbin</var>,  <var>orev</var>, <var>sr</var>, <var>len</var>,  <var>hop</var>)</code>
;Usage:<code>cvphase(<var>p</var>, <var>ifmt</var>,  <var>ipos</var>, <var>ibin</var>, <var>ofmt</var>, <var>opos</var>, <var>obin</var>, <var>nbin</var>,  <var>orev</var>, <var>sr</var>, <var>len</var>,  <var>hop</var>)</code>
:<var>p</var>: original phase spectrum at frame ''ipos'' and in the format ''ifmt''; ''p'' is a vector with ''n'' values
:;<var>p</var>: original phase spectrum at frame ''ipos'' and in the format ''ifmt''; ''p'' is a vector with ''n'' values
:<var>ifmt, ofmt</var>: input and output phase format
:;<var>ifmt, ofmt</var>: input and output phase format ('''0''' = differences, '''1''' = locked phase,
::*'''0''' = differences
'''2''' = phase (not locked))
::*'''1''' = locked phase
:;<var>ipos, opos</var>: input and output frame index
::*'''2''' = unlocked phase
:;<var>ibin, obin</var>: input and output spectral bin
:<var>ipos, opos</var>: input and output frame index
:;<var>nbin</var>: number of spectral bins to convert
:<var>ibin, obin</var>: input and output spectral bin
:;<var>rev</var>:reverse output phase (0=no, 1=yes)
:<var>nbin</var>: number of spectral bins to convert
:;<var>sr</var>:signal sampling rate
:<var>rev</var>:reverse output phase (0=no, 1=yes)
:;<var>len, hop</var>:transformation length and hopsize (in samples) used for analysis and resynthesis
:<var>sr</var>:signal sampling rate
:<var>len</var>:transformation length (in samples) used for analysis and resynthesis
:<var>len</var>:hopsize (in samples) used for analysis and resynthesis
;Description:
;Description:
;Result:A vector ''r'' with ''nbin'' values, containing the converted phase values.
;Result:A vector ''r'' with ''nbin'' values, containing the converted phase values.

Revision as of 13:46, 20 April 2011

Convert phase spectrum.

Usage
cvphase(p, ifmt, ipos, ibin, ofmt, opos, obin, nbin, orev, sr, len, hop)
p
original phase spectrum at frame ipos and in the format ifmt; p is a vector with n values
ifmt, ofmt
input and output phase format (0 = differences, 1 = locked phase,

2 = phase (not locked))

ipos, opos
input and output frame index
ibin, obin
input and output spectral bin
nbin
number of spectral bins to convert
rev
reverse output phase (0=no, 1=yes)
sr
signal sampling rate
len, hop
transformation length and hopsize (in samples) used for analysis and resynthesis
Description
Result
A vector r with nbin values, containing the converted phase values.
See also
hcomb, optmm, script application MulAc

<function list>

Navigation menu

Personal tools