EqualizerBand class provides control for each band in the
AudioEqualizer.
AudioEqualizer
| Modifier and Type | Field and Description |
|---|---|
| private DoubleProperty | bandwidth
Bandwidth of the band in Hertz. |
| private DoubleProperty | centerFrequency
Center frequency of the band in Hertz. |
| private final Object | |
| private DoubleProperty | gain
The gain to be applied to the frequencies of this band. |
| private EqualizerBand | |
| public static final double | MAX_GAIN
Maximum possible gain value. |
| public static final double | MIN_GAIN
Minimum possible gain value. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EqualizerBand(double
a positive value specifying the center
frequency of the band in Hertz. centerFrequency, double a positive value specifying the bandwidth of the band in Hertz. bandwidth, double gain)Custom |
| Modifier and Type | Method and Description |
|---|---|
| public DoubleProperty | |
| public DoubleProperty | |
| public DoubleProperty | |
| public final double | |
| public final double | Returns: the center frequency on the band in Hertz.Retrieve the center frequency of the band. |
| public final double | |
| public final void | setBandwidth(double
the bandwidth which must be a positive value in Hz. value)Set the bandwidth of the band in Hertz. |
| public final void | setCenterFrequency(double
the center frequency which must be a positive value in Hz. value)Set the center frequency on the band in Hertz. |
| public final void | |
| pack-priv void |
| bandwidth | back to summary |
|---|---|
| private DoubleProperty bandwidth Bandwidth of the band in Hertz. The default value is
| |
| centerFrequency | back to summary |
|---|---|
| private DoubleProperty centerFrequency Center frequency of the band in Hertz. The default value is
| |
| disposeLock | back to summary |
|---|---|
| private final Object disposeLock | |
| gain | back to summary |
|---|---|
| private DoubleProperty gain The gain to be applied to the frequencies of this band. The default value
is | |
| jfxBand | back to summary |
|---|---|
| private EqualizerBand jfxBand | |
| MAX_GAIN | back to summary |
|---|---|
| public static final double MAX_GAIN Maximum possible gain value.
In the current implementation this value is | |
| MIN_GAIN | back to summary |
|---|---|
| public static final double MIN_GAIN Minimum possible gain value.
In the current implementation this value is | |
| EqualizerBand | back to summary |
|---|---|
| public EqualizerBand()
| |
| EqualizerBand | back to summary |
|---|---|
| public EqualizerBand(double centerFrequency, double bandwidth, double gain) Custom | |
| bandwidthProperty | back to summary |
|---|---|
| public DoubleProperty bandwidthProperty() | |
| centerFrequencyProperty | back to summary |
|---|---|
| public DoubleProperty centerFrequencyProperty() | |
| gainProperty | back to summary |
|---|---|
| public DoubleProperty gainProperty() | |
| getBandwidth | back to summary |
|---|---|
| public final double getBandwidth() Retrieve the bandwidth of the band.
| |
| getCenterFrequency | back to summary |
|---|---|
| public final double getCenterFrequency() Retrieve the center frequency of the band.
| |
| getGain | back to summary |
|---|---|
| public final double getGain() Retrieve the gain to be applied to the band.
| |
| setBandwidth | back to summary |
|---|---|
| public final void setBandwidth(double value) Set the bandwidth of the band in Hertz.
| |
| setCenterFrequency | back to summary |
|---|---|
| public final void setCenterFrequency(double value) Set the center frequency on the band in Hertz.
| |
| setGain | back to summary |
|---|---|
| public final void setGain(double value) Set the gain of the band in dB. Gain property is limited to be
within the interval | |
| setJfxBand | back to summary |
|---|---|
| pack-priv void setJfxBand(EqualizerBand jfxBand) | |