How to detect beep sound using java
I am new to audio/sound in java.
Looking for pointers on how to detect that a beep sound was played using java. The sound is going to be played from a independent application onto the computer so I don't know if PCM is going to be 8 bit or 16 bit. I do not have clue about the various parameters that need to be passed to AudioFormat class either, viz. format, sample size etc.
Basically, I want to know if 'beep' or a specific loud sound was played ? Rest of the time, there will be sound disturbance but not this specific sound. I would ideally want to detect loud sound of letter 'O' and letter 'E'. But to start with, I think if I can handle beep, I should be able to do other sounds too.
Appreciate any help with this.