I would like to create a small application that filters the input frequencies of the microphone and plays the filtered sound in real time on speakers.
Is this doable? Does Java Sound API would be enough for this purpose?

Also can this program be maid as a DOS one without API, using simple instruction like

filter cut 600 1200

for a cutting all frequencies between 600 and 1200Hz for instance?

Thanks for any tip!