Programmer Guide/SPU Reference/AWEIGHT: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
=====Usage:=====
=====Usage:=====


<code>SPU AWEIGHTS <var>F</var> <var>A</var> <var>TYPE</var> <var>W</var> <var>MIMI</var> OUT <var>Y</var> <var>YMIN</var> <var>YMAX</var></code>
<code>SPU AWEIGHTS <var>F</var> <var>A</var> <var>TYP</var> <var>W</var> <var>MIMI</var> OUT <var>Y</var> <var>YMIN</var> <var>YMAX</var></code>


=====Inputs:=====
=====Inputs:=====
Line 18: Line 18:
:The input spectrum.
:The input spectrum.


;<var>TYPE</var>
;<var>TYP</var>


:The type of input and output spectrum. The following values are supported:
:The type of input and output spectrum. The following values are supported:

Revision as of 14:23, 16 April 2015

AWEIGHTS - frequency weighting

Apply a frequency weighting function to a spectrum.

Usage:

SPU AWEIGHTS F A TYP W MIMI OUT Y YMIN YMAX

Inputs:
F
The frequency vector or sampling rate.
A
The input spectrum.
TYP
The type of input and output spectrum. The following values are supported:
power|linear|logarithmic
W
The weighting function. The following values are supported:
none|A|C|HTH|Phon
MIMI
The minimum/maximum detection mode:
0 - disabled
1 - frame by frame
2 - cumulative
Outputs:
Y
The output spectrum.
YMIN, YMAX
The minimum and maximum y values, if detection was turned on (see MIMI).

Navigation menu

Personal tools