Programmer Guide/Command Reference/EVAL/wconvert: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Compute the normalized, dual and tight version of a window function. This function is used in the analysis- and synthesis-part of frame multiplier implementations (e.g.: the script application | Compute the normalized, dual and tight version of a window function. This function is used in the analysis- and synthesis-part of frame multiplier implementations (e.g.: the [[Programmer_Guide/BScript|script application '''MulAc''']]) to support perfect signal reconstruction. | ||
;Usage: | ;Usage: | ||
:{| class="keinrahmen" | :{| class="keinrahmen" | ||
| | |<code>wconvert(<var>x</var>, 0)</code> || ... normalized window | ||
|- | |- | ||
| | |<code>wconvert(<var>x</var>, 1, <var>m</var>)</code> || ... dual window | ||
|- | |- | ||
| | |<code>wconvert(<var>x</var>, 2, <var>m</var>)</code> || ... tight window | ||
|- | |- | ||
|} | |} | ||
:;<var>x</var>: a vector containing the window function to be converted | :;<var>x</var>: a vector containing the window function to be converted | ||
:;<var>m</var>: the hopsize used for analysis and synthesis in samples; 1 | :;<var>m</var>: the hopsize used for analysis and synthesis in samples; 1 ≤ ''m'' ≤ <code>ncol(''x'')</code> | ||
;Result: a vector with same length as ''x'' containing the converted window function | ;Result: a vector with same length as ''x'' containing the converted window function | ||
;See also: [[../window|window]], [[../fft|fft]] | |||
[[../#Functions|<function list>]] | |||
Latest revision as of 19:02, 21 April 2011
Compute the normalized, dual and tight version of a window function. This function is used in the analysis- and synthesis-part of frame multiplier implementations (e.g.: the script application MulAc) to support perfect signal reconstruction.
- Usage
wconvert(x, 0)
... normalized window wconvert(x, 1, m)
... dual window wconvert(x, 2, m)
... tight window
- x
- a vector containing the window function to be converted
- m
- the hopsize used for analysis and synthesis in samples; 1 ≤ m ≤
ncol(x)