tag:blogger.com,1999:blog-8219113377173546175.post1081205784824747960..comments2023-11-07T13:29:54.725+00:00Comments on GT's Blog: Java Sound Capture from Microphone working codeGThttp://www.blogger.com/profile/16923656636145211711noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-8219113377173546175.post-54872855268904034302014-01-10T11:05:53.407+00:002014-01-10T11:05:53.407+00:00 MicrophoneRecorder mr = new MicrophoneRecorder( Y... MicrophoneRecorder mr = new MicrophoneRecorder( YOU NEED TO PASS OBJECT OF AudioFormat here);<br />I am getting error in the above line.I am not getting what object I need to pass.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-19750351439770122772013-12-05T14:35:00.759+00:002013-12-05T14:35:00.759+00:00HI, If i want to record audio and video together ...HI, If i want to record audio and video together at same time how can i achieve it. If i use javacv ffmpegframerecorder it will record to another file and with above code i will save audio to another file then i need to merge it. Is there any option available to record and save video with audio in single step.not recording both in separate files. Thanks for your answerAnonymoushttps://www.blogger.com/profile/15807425105175168920noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-56848150139017559432013-11-19T18:50:38.785+00:002013-11-19T18:50:38.785+00:00Hi guys, can you tell me something about quality o...Hi guys, can you tell me something about quality of your recordings using this code? I wonder that low quality of my recordings cause bad sound card but i want to check your opinions. Thanks a lot!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-90262274509594806072013-08-12T04:10:05.957+01:002013-08-12T04:10:05.957+01:00you can create your own WaveData class and put the...you can create your own WaveData class and put the method "saveToFile" thereAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-40406780533659124552013-08-11T19:48:48.977+01:002013-08-11T19:48:48.977+01:00how can I learn all this stuff ,i know core java.....how can I learn all this stuff ,i know core java..??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-90502089527416012852013-08-08T20:05:42.068+01:002013-08-08T20:05:42.068+01:00Which library contains WaveData class ?Which library contains WaveData class ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-33956657061399497872013-06-17T17:50:05.501+01:002013-06-17T17:50:05.501+01:00Port.Info shows only info about port. You can'...Port.Info shows only info about port. You can't record on this port :).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-70137354197462804322013-03-11T16:28:31.539+00:002013-03-11T16:28:31.539+00:00hi,
tell me please how do u know that line = (Tar...hi,<br /> tell me please how do u know that line = (TargetDataLine) AudioSystem.getLine(info); points to the microphone? Why dont u use Port.Info.MICROPHONE explicitly ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-47294765500353008912013-02-10T16:21:18.688+00:002013-02-10T16:21:18.688+00:00you need to remove
AudioFormatUtil.getDefaultFor...you need to remove <br /><br />AudioFormatUtil.getDefaultFormat()<br /><br />and pass an object of AudioFormat in place of "AudioFormatUtil.getDefaultFormat()" from the line below <br /><br />MicrophoneRecorder mr = new MicrophoneRecorder(AudioFormatUtil.getDefaultFormat()); <br /><br /><br />Please refer to this for detail about AudioFormat :<br />http://docs.oracle.com/javase/1.4.2/docs/api/javax/sound/sampled/AudioFormat.htmlGThttps://www.blogger.com/profile/16923656636145211711noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-70800756666448360712013-02-09T10:41:11.401+00:002013-02-09T10:41:11.401+00:00hi am using above provided code but am getting the...hi am using above provided code but am getting the fallowing exception<br />java.lang.Error: Unresolved compilation problem: <br /> The method getDefaultFormat() is undefined for the type AudioFormatUtilBhargavihttps://www.blogger.com/profile/11729204750589769290noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-73645850280583134412012-06-30T06:03:06.599+01:002012-06-30T06:03:06.599+01:00Have no idea how much this helped me - it's tr...Have no idea how much this helped me - it's tricky to find an example for this sort of thing!Ryan Shttps://www.blogger.com/profile/06116424355030057068noreply@blogger.comtag:blogger.com,1999:blog-8219113377173546175.post-87266895877305890972012-03-09T06:40:26.008+00:002012-03-09T06:40:26.008+00:00thanks for this..thanks for this..Naren.noreply@blogger.com