getGen method

int getGen(
  1. GeneratorType type
)

Implementation

int getGen(GeneratorType type) {
  return instrument.getGen(type) + preset.getGen(type);
}