Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2008

Tip: Looking for answers? Try searching our database.

Checking Sound Input Availability at Microphone.

Thread view: 
NightCrawler - 12 Feb 2008 17:39 GMT
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...
------------------------------------------------------------------------------------
Tags: Java Sound, Microphone,
------------------------------------------------------------------------------------
NightCrawler - 14 Feb 2008 15:25 GMT
Hey Guys Plz help me...
Mark Space - 14 Feb 2008 19:53 GMT
> Hey Guys Plz help me...

I don't remember seeing anything like this in the API.  You likely have
to fill buffers (a Clip class, if I remember correctly) and scan the
contents yourself for whether anything was record in the buffer that you
want to hear and transmit.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.