VoiceProducer which generates a vocalization for a given number,
randomly selecting from a list of voices. The default voices are located in
the jar in the sounds/en/numbers directory, and have filenames
with a format of num-voice.wav, e.g.:
sounds/en/numbers/1-alex.wav.
RandomNumberVoiceProducer(java.util.Map<java.lang.Integer,java.lang.String[]> voices)
Creates a RandomNumberVoiceProducer for the given
voices, a map of numbers to their corresponding filenames.
public RandomNumberVoiceProducer(java.util.Map<java.lang.Integer,java.lang.String[]> voices)
Creates a RandomNumberVoiceProducer for the given
voices, a map of numbers to their corresponding filenames.
Conceptually the map must look like the following: