Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Capture audio from Java ME application

 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Can we capture the voice through a MIDP application. I mean say if the user says 'Hello' to the mouth piece, can we get it as an input to the MIDlet. Thanks a lot. Regards
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes ... maybe you can capture using MMAPI 1.1 RecordControl and "capture://audio", but will depend on the particular device.
Check java.sun.com/products/mmapi

No ... there is no J2ME API for voice recognition as far as I know.

There is the Java Speech API but it�s not (nor has been ported) for J2ME
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code to capture audio using MMAPI 1.1 (MMAPI javadoc sample)
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Thank you very much for the replies.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic