this.deviceNumbers = deviceNumbers
this.speechSynthesises = []
- def init = Verify.getIntFromList(30, 50, 70)
- this.level = init
+ //def init = Verify.getIntFromList(30, 50, 70)
+ //this.level = init
speechSynthesises.add(new SpeechSynthesis(id, label, displayName, this.level))
}
def find(Closure Input) {
speechSynthesises.find(Input)
}
+ def sort(Closure Input) {
+ speechSynthesises.sort(Input)
+ }
def collect(Closure Input) {
speechSynthesises.collect(Input)
}
def setLevel(int level) {
if (level != this.level) {
- speechSynthesises[0].setLevel(level)
this.level = level
+ speechSynthesises[0].setLevel(level)
}
}