i want to make a console program that allows to enter amount (int) from keyboard and then plays the amount back from the speaker. in the book its written about how to play sound files using java applet only. how can i play the wav files in a specific folder using a console program
secondly i have recorded the audio files for the necessary digits (1.wav to 20.wav,30.wav,40.wav,50.wav, 60.wav, 70.wav,80.wav,90.wav, hundred.wav, thousand.wav). wouldn't it be better to use hashmaps and assign a key (considering in mind the recorded file) to recorded objects. i think it would be easier to call and play digits:(. kindly comment.