there is a java Media Framework that u may use to capture voiceand video. Java also implement speech recongintion language already.you may simply call java classes to done it.