ObservableList containing EqualizerBand
elements. The content of
the sequence may be changed by adding or removing EqualizerBand
elements. When adding elements, the user must be prepared to catch
IllegalArgumentException
s because the internal list is a
VetoableObservableList
and any change to the list can be vetoed
if a newly added instance is not valid.
The constraints for a valid EqualizerBand
instance are:
EqualizerBand.centerFrequency
> 0EqualizerBand.bandwidth
> 0EqualizerBand.MIN_GAIN
≤
EqualizerBand.gain
≤
EqualizerBand.MAX_GAIN
The default set of bands is as in the following table; all bands have unity gain (0 dB).
Band Index | Center Frequency (Hz) | Bandwidth (Hz) |
---|---|---|
0 | 32 | 19 |
1 | 64 | 39 |
2 | 125 | 78 |
3 | 250 | 156 |
4 | 500 | 312 |
5 | 1000 | 625 |
6 | 2000 | 1250 |
7 | 4000 | 2500 |
8 | 8000 | 5000 |
9 | 16000 | 10000 |
EqualizerBand
elements.
IllegalArgumentException |
Diagram: Media