Use this command to show a spectrum analyzer on lcd in the current line. The command demands the following parameters:
GfxMode | TxtMode | Parameter | Description | Value |
| | Filter | Filter for audio data | None, FFT |
| | Mode | Drawing mode | Graph, Bars, PeakedBars,PeakedBarsFilled |
| | Bars | Number of bars | Number |
| | Height | Height of analyzer | Number |
| | Scale | Scaling value for audio data | Number |
| | BarSpeed | Falling speed of bars | Number |
| | PeakSpeed | Falling speed of peaks | Number |
| | CChars | Number of used custom chars | Number |
| | CCharList | CustomChars for bar height 1-7, seperated through "," | CustomChar |
| | BarWidth | Width of bars | Number |
| | BarSpace | Space between bars | Number |
| | XPos | X-position of upper left corner of analyzer on lcd | Number |
| | YPos | Y-position of upper left corner of analyzer on lcd | Number |
Its possible to leave out the parameter Charlist. If you do so the custom chars are used in the order they are stored to lcd memory (this is the same as the order in the custom char file).
Example TxtMode:
%WinAmp.SpecAnalyzer(FFT,20,2,30,1,7,
%LCD.CustomChar(0),
%LCD.CustomChar(1),
%LCD.CustomChar(2),
%LCD.CustomChar(3),
%LCD.CustomChar(4),
%LCD.CustomChar(5),
%LCD.CustomChar(6))
Example GfxMode:
%WinAmp.SpecAnalyzer(FFT,PeakedBars,80,20,40,1,0.5,2,1,0,0)