}
}
}
private void createAndSavePresetPackage(PresetContext pc, Integer[] indexes, String name, String notes, boolean is, AudioFileFormat.Type format, boolean im, boolean imm) throws CommandFailedException {
PresetPackage pkg = null;
try {
pkg = PackageFactory.createPresetPackage(pc, indexes, true, name, notes, im, imm, is, format, null);
} catch (PackageGenerationException e) {
throw new CommandFailedException("Error saving preset package: " + e.getMessage());
}