Programmer Guide/SPU Reference/AWEIGHT: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
==== | ====AWEIGHTS - frequency weighting==== | ||
Apply a frequency weighting function to a spectrum. | Apply a frequency weighting function to a spectrum. |
Revision as of 13:22, 16 April 2015
AWEIGHTS - frequency weighting
Apply a frequency weighting function to a spectrum.
Usage:
SPU AWEIGHTS F A TYPE W MIMI OUT Y YMIN YMAX
Inputs:
- F
- The frequency vector or sampling rate.
- A
- The input spectrum.
- TYPE
- 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).