static int checkMaximumPolyphony(int value) { if (!(8 <= value && value <= 256)) { throw "The maximum number of polyphony must be between 8 and 256."; } return value; }