Checking Input Availability At MIC of the System

Discussion in 'Java' started by NightCrawler, Feb 12, 2008.

  1. NightCrawler

    NightCrawler Guest

    Hi,
    I am doing a project in which I need to deal with Sound input/output.
    I am able to play a wave file, and also able to take input from the
    microphone and play it back.
    To play live data I just keep on dumping the bytes read from
    microphone to a stream, and then play it as required. It doesn't mater
    that if mic is really getting input or the person holding mic is
    silent.
    Now my problem is, after starting the TargetDataLine, as soon as that
    person starts speaking/making some sound, I need to do somethings, I
    am stuck a bit here, not able to find any event that will tell me so,
    plz help me.
    I'll be Thankful for the solution...
    NightCrawler, Feb 12, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?Jorg_R=F8dsj=F8?=

    recording sound from mic in Windows?

    =?ISO-8859-1?Q?Jorg_R=F8dsj=F8?=, Apr 10, 2004, in forum: Python
    Replies:
    1
    Views:
    530
    Doug Holton
    Apr 10, 2004
  2. Crouchinho

    Java GSM encoding from mic

    Crouchinho, Aug 18, 2006, in forum: Java
    Replies:
    0
    Views:
    2,434
    Crouchinho
    Aug 18, 2006
  3. NightCrawler
    Replies:
    2
    Views:
    338
    Mark Space
    Feb 14, 2008
  4. Sandro Paganotti

    Record and analyze sound from mic

    Sandro Paganotti, Oct 18, 2008, in forum: Ruby
    Replies:
    1
    Views:
    117
    Marc Heiler
    Oct 18, 2008
  5. Larry
    Replies:
    6
    Views:
    107
    Larry
    Jan 4, 2005
Loading...

Share This Page