tag:blogger.com,1999:blog-1140952078537993289.post116157208465567808..comments2023-03-12T04:48:40.017-07:00Comments on Tapas's Programming Blog: Audio Capture Applet Source CodeTapas@Bloggerhttp://www.blogger.com/profile/16459068449007609762noreply@blogger.comBlogger44125tag:blogger.com,1999:blog-1140952078537993289.post-90193845991196186932013-05-20T14:26:36.348-07:002013-05-20T14:26:36.348-07:00The volume aint work well ,i mean it doesnt have m...The volume aint work well ,i mean it doesnt have much effect on the volume of the sound,can you tell me how to fix it or a way??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-6261695099793455402013-04-29T06:16:09.983-07:002013-04-29T06:16:09.983-07:00Check the error by using any debugger? It's ha...Check the error by using any debugger? It's hard to guess the error.. Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-42728965524237089792013-04-29T06:04:46.152-07:002013-04-29T06:04:46.152-07:00Hie , i have copied ur code in the eclipse with th...Hie , i have copied ur code in the eclipse with the same class name but when i run the code the applet running ok with out any error but on click of record no progress, but when i click on save button wav file is created perfectly and running also out side. and no exception i m getting i am using<br />java version "1.6.0_29-ea"<br />Java(TM) SE Runtime Environment (build 1.6.0_29-ea-b08)<br />and windows 7(64 bit)<br /><br />Also when i run the html file it displaying Error,click here for details in the browswer.<br />Can you please help me for solving the error.<br />lovebhttps://www.blogger.com/profile/06868252059431831002noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-69603310210303971912013-02-05T02:12:19.485-08:002013-02-05T02:12:19.485-08:00How do you deploy this code?How do you deploy this code?Deviprasad Shettyhttps://www.blogger.com/profile/13983717103061107194noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-13158072299058027242013-01-06T17:16:15.938-08:002013-01-06T17:16:15.938-08:00Hi Tapas-We are trying to run your code. It works ...Hi Tapas-We are trying to run your code. It works OK if we run on without server. When we deploy and run it on server gives below exception:<br /><br />Direct Upload Error<br />java.lang.IllegalArgumentException: No line matching interface TargetDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian is supported.<br /><br /><br />Would you please let us know: How can we fix this issue. It's very urgent waiting for your response.<br /><br />Thanks!Commenthttps://www.blogger.com/profile/18341840366723946776noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-40259064534368969102012-10-08T08:59:17.893-07:002012-10-08T08:59:17.893-07:00What error you are getting in the java console?What error you are getting in the java console?Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-61136659766728131092012-10-07T13:21:49.906-07:002012-10-07T13:21:49.906-07:00hi friend , i sent a mail to you , my adress is ga...hi friend , i sent a mail to you , my adress is galeriblue98@gmail.com . i need your software. <br />i use it here http://galeriblue.com/s.html but it does not work . please helpAnonymoushttps://www.blogger.com/profile/16088329322582096323noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-39788760674177869732012-08-22T08:28:01.473-07:002012-08-22T08:28:01.473-07:00Check your Mic and speakers. Is there any errors y...Check your Mic and speakers. Is there any errors you found on console?Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-84422216291643758012012-08-22T06:03:55.017-07:002012-08-22T06:03:55.017-07:00 cannot hear voice recorded cannot hear voice recordedAnonymoushttps://www.blogger.com/profile/00940914399861115990noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-1331478498471647092012-08-22T05:58:24.910-07:002012-08-22T05:58:24.910-07:00 i have done all work relate to project .and run s... i have done all work relate to project .and run smoothly but saved file voice is not work .Anonymoushttps://www.blogger.com/profile/00940914399861115990noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-40715066906430661072012-05-08T05:30:15.063-07:002012-05-08T05:30:15.063-07:00hi Tapas
i also try your code. I actually need t...hi Tapas <br /><br />i also try your code. I actually need this code but i m facing the same problem button are visible to me but they are not recording. if i run it in appletviewer it works fine but not in browser. Sir plz tell me whats the issue..?????? i need it very much. response me on my emailid m12.verma@gmail.comAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-11685279464326971002012-04-18T00:16:07.557-07:002012-04-18T00:16:07.557-07:00Hi Tapas!!! Thanks a ton for this program. It'...Hi Tapas!!! Thanks a ton for this program. It's working fine. But when i record something and hear it, its not very loud. How do i increase the recording volume?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-42576438513238004602011-11-12T05:26:57.582-08:002011-11-12T05:26:57.582-08:00Check your Java Console. I guess it may thrown Sec...Check your Java Console. I guess it may thrown Security exception.Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-70183156320415242692011-11-12T02:01:43.997-08:002011-11-12T02:01:43.997-08:00The applet run in Eclipse fine but when I run in b...The applet run in Eclipse fine but when I run in browser than I can only see Applet but cant record file. Y SO ? Same problem occurred with http://www.emuzix.net/capture.php. Please reply.programmerhttps://www.blogger.com/profile/17258299374006764912noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-85804438603351490762011-05-14T02:04:16.344-07:002011-05-14T02:04:16.344-07:00Hi Rajeena, its not required to save before upload...Hi Rajeena, its not required to save before upload. You can see my previous comments regarding upload to knom more regarding this.Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-19820739949679993482011-05-13T23:28:26.621-07:002011-05-13T23:28:26.621-07:00Ur code looks great...
I tried ur code.It's wo...Ur code looks great...<br />I tried ur code.It's working.but i cant upload.Is it required to save in local machine before uploading?i gave saved file name and I changed url and tried to upload to my server, but nothing gets uploaded.<br /><br />Rajeenarajeenanoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-17796687818388960942011-04-26T20:52:46.236-07:002011-04-26T20:52:46.236-07:00i running your code in browser but can't uploa...i running your code in browser but can't upload the voice, the status just stop in " Sending recorded file to server...". can u explain what's wrong with my comp?? i use tomcat 7, windows xp sp3. can i ask how to set privilege in xp ??<br />thanks a lotAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-44668074785335261312011-04-26T04:29:28.220-07:002011-04-26T04:29:28.220-07:00Hi yunus, security exception means if you are runn...Hi yunus, security exception means if you are running the applet in a browser, it must have privileges to access the client's machine hardware resources. According to SUN the applet must be signed before running on a browser. You can check this link http://download.oracle.com/javase/tutorial/deployment/applet/security.html. I am not sure what exception it is throwing for Alexander but expecting security exception may be thrown.Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-32770178252090052592011-04-26T01:36:52.763-07:002011-04-26T01:36:52.763-07:00im interest with your message to alexander, can u ...im interest with your message to alexander, can u explain what you mean with security exception?? it's possible to run using tomcat 7 default securityor we must set manually?? thanks for the response.yunushttp://myndsroms.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-71441536741354572942011-04-25T07:51:12.586-07:002011-04-25T07:51:12.586-07:00Hi Alexander, I think you are using windows 7 Oper...Hi Alexander, I think you are using windows 7 Operating System. I found that the above exception is occurring only on windows 7 machine. In other machines it works fine. Upload will not work as i removed the respective code as it requires a java server to work.If you are facing problem in save, then check for applet security exception on console and let me know about the same.<br /><br />For Anonymous <br />--------------<br />can u explained this code??<br /><br />URL upload=new URL("http://localhost:8080/TapasApplet/upload");<br />477<br />HttpURLConnection conn = (HttpURLConnection) upload.openConnection();<br /><br />These are the unnecessary codes. As Listen functionality is not implemented for now. You can leave those lines or you can write your own.Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-65088477572243726862011-04-24T19:41:54.694-07:002011-04-24T19:41:54.694-07:00can u explained this code??
URL upload=new URL(&q...can u explained this code??<br /><br />URL upload=new URL("http://localhost:8080/TapasApplet/upload");<br />477<br /> HttpURLConnection conn = (HttpURLConnection) upload.openConnection();<br />478<br /> conn.setRequestMethod("POST");<br /><br />because if u do direct upload why dont u use FileOutputStream() functionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-72882996375104413452011-04-23T07:42:10.201-07:002011-04-23T07:42:10.201-07:00have u already test using web browser?? cause it c...have u already test using web browser?? cause it can't upload to the server, even can't save the voice to the comp using save button. i tested using tomcat 7.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-43341657670805029112011-04-22T23:05:44.795-07:002011-04-22T23:05:44.795-07:00could you send me a full source code on my email a...could you send me a full source code on my email alexander.ok3@gmail.com?<br />because I'm still getting an error when I'm running ItAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-19450594174328031762011-04-22T23:02:27.983-07:002011-04-22T23:02:27.983-07:00i"m compile the program and running..
error &...i"m compile the program and running..<br />error "Direct Upload Error"<br /><br />on line 333 "line.open(format);"<br /><br />I use microphone, ever I have change value on this method. I still getting this error??<br /><br />private AudioFormat getFormat() {<br /> Encoding encoding = AudioFormat.Encoding.PCM_SIGNED;<br /> float sampleRate = 44100.0F;<br /> int sampleSizeInBits = 16;<br /> int channels = 1;<br /> int frameSize = 4;<br /> float frameRate = 44100.0F;<br /> boolean bigEndian = false;<br /><br /> return new AudioFormat(encoding, sampleRate, sampleSizeInBits, channels, frameSize, frameRate, bigEndian);<br /><br /> }//Endalexanderhttp://alexander.basprog.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-1140952078537993289.post-75135493399832175082011-04-21T21:11:30.955-07:002011-04-21T21:11:30.955-07:00No, web server in not required because i remove th...No, web server in not required because i remove the uploading part from this program. If you want to upload your recorded file to server then you must require tomcat.Tapas@Bloggerhttps://www.blogger.com/profile/16459068449007609762noreply@blogger.com