Logo Search packages:      
Sourcecode: jlgui version File versions  Download package

javazoom::jlgui::player::amp::equalizer::ui::EqualizerUI Class Reference

Inherits javax::swing::JPanel, java::awt::event::ActionListener, and javax::swing::event::ChangeListener.

List of all members.


Detailed Description

This class implements an equalizer UI.

The equalizer consists of 32 band-pass filters. Each band of the equalizer can take on a fractional value between -1.0 and +1.0. At -1.0, the input signal is attenuated by 6dB, at +1.0 the signal is amplified by 6dB.

Definition at line 55 of file EqualizerUI.java.


Public Member Functions

void actionPerformed (ActionEvent e)
int getEqdist ()
Skin getSkin ()
void loadUI ()
void pressAuto ()
void pressOnOff ()
void setBands (float[] bands)
void setEqdist (int i)
void setPlayer (PlayerUI mp)
void setSkin (Skin ui)
void stateChanged (ChangeEvent e)
void synchronizeEqualizer ()
void updateBands (int[] gains, int min, int max)
void updateSliders (int[] gains)

Static Public Attributes

static final int LINEARDIST = 1
static final int OVERDIST = 2

Private Attributes

float[] bands = null
Config config = null
int eqdist = OVERDIST
int[] eqgains = null
int[] gainValue = { 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 }
JPopupMenu mainpopup = null
int maxGain = 100
int minGain = 0
PlayerUI player = null
int[] PRESET_CLASSICAL = { 50, 50, 50, 50, 50, 50, 70, 70, 70, 76 }
int[] PRESET_CLUB = { 50, 50, 42, 34, 34, 34, 42, 50, 50, 50 }
int[] PRESET_DANCE = { 26, 34, 46, 50, 50, 66, 70, 70, 50, 50 }
int[] PRESET_FULLBASS = { 26, 26, 26, 36, 46, 62, 76, 78, 78, 78 }
int[] PRESET_FULLBASSTREBLE = { 34, 34, 50, 68, 62, 46, 28, 22, 18, 18 }
int[] PRESET_FULLTREBLE = { 78, 78, 78, 62, 42, 24, 8, 8, 8, 8 }
int[] PRESET_LAPTOP = { 38, 22, 36, 60, 58, 46, 38, 24, 16, 14 }
int[] PRESET_LIVE = { 66, 50, 40, 36, 34, 34, 40, 42, 42, 42 }
int[] PRESET_NORMAL = { 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 }
int[] PRESET_PARTY = { 32, 32, 50, 50, 50, 50, 50, 50, 32, 32 }
int[] PRESET_POP = { 56, 38, 32, 30, 38, 54, 56, 56, 54, 54 }
int[] PRESET_REGGAE = { 48, 48, 50, 66, 48, 34, 34, 48, 48, 48 }
int[] PRESET_ROCK = { 32, 38, 64, 72, 56, 40, 28, 24, 24, 24 }
int[] PRESET_TECHNO = { 30, 34, 48, 66, 64, 48, 30, 24, 24, 28 }
Skin ui = null

Static Private Attributes

static Log log = LogFactory.getLog(EqualizerUI.class)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index