Can I use freetts to do something like speech to text convert?
I need to detect a specific sound from audio input from my laptop, can I do this by freetts in java?
No, see "Where is the speech recognizer?" in the freetts FAQ.