// You can get individual presets by name, or get them all in one call as is done here...
Map<String, Equalizer> allPresets = factory.getAllPresetEqualizers();
for(String presetName : allPresets.keySet()) {
System.out.printf("%s:%n", presetName);
Equalizer preset = allPresets.get(presetName);
System.out.printf("%10s : %f Hz%n", "preamp", preset.getPreamp());
float[] amps = preset.getAmps();
for(int i = 0; i < amps.length; i++) {
float freq = bandFrequencies.get(i);
String unit;
if(freq < 1000f) {
unit = "Hz";