Jump to content


Mp3 recording applet


23 replies to this topic

#1 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 25 April 2006 - 09:49 AM

We offer you the Mp3 recording applet SDK.
http://www.vimas.com/mp3.php
It records the audio directly in the Mp3 format. Also, applet allows to upload mp3 file to the web server. Applet works on the Windows platform with almost all browsers. The version of applet, which is compatible with Macintosh platform is under the development.

#2

  • Guests

Posted 12 June 2006 - 08:28 PM

Hi Sergey,

I have discvered that we cannot upload the Mp3 file if the OS is Win XP. Currently, everything seems fine under the Win98 and Win2000 systems I have tested.
Have you ever encountered this?
All the best,

E. John Love
Vancouver English Centre
Vancouver, BC

#3 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 13 June 2006 - 02:14 PM

It is strange. A lot of our customers use Win XP and no problem. We also tested with Win XP. I think, the reason is other then Win XP.

Please, test Mp3 applet on my web page on the computer with Win XP OS: http://www.vimas.com/voice/test/mp3/record_app.php

What is your web page URL with recordong applet? I would like to test it.

#4

  • Guests

Posted 17 June 2006 - 12:32 AM

Hi Sergey,



Your demo aplication worked fine on every machine I tested here. My problem might be related to something in my own implementation of the CGI, using Cold Fusion. Java tells me I have an "IOException. Exception at uploadingjava.lang.NullPointerException".



Here's where you can try our voice recorder application:

http://secure.vec.bc.ca/vec-test/online-audio-test.cfm



I've been trying to use Cold Fusion's <CFFILE> tag to receive the data in "retreive.cfm" (my simplified version of your "retrive.php").



Here's the Java console output, set to most verbose setting:



CODE
Initializing applet ...



Starting applet ...



VERSION:2.0



Mp3 Dll version



Test Key file= VoiceMail_secure_vec_bc_ca.txt Host name= secure.vec.bc.ca



Connecting http://secure.vec.bc.ca/vec-test/audio_test/mail/VoiceMail_secure_vec_bc_ca.txt with no proxy



Connecting http://secure.vec.bc.ca/vec-test/audio_test/mail/VoiceMail_secure_vec_bc_ca.txt with cookie "__utmz=3035186.1150399451.37.13.utmccn=(organic)|utmcsr=google|utmctr=Immigration+Lawyers+in+the+USA|utmcmd=organic; __utma=3035186.1939843111.1147895140.1150416841.1150494702.41; LANG_ID=English; CFTOKEN=81557424; CFID=3344029; VEC_REG_ID=26020; _dmid=79403_1147975500529; __utmc=3035186"



2006-5-16 is before 2099-11-31



keyfile VoiceMail_secure_vec_bc_ca.txt accepted



Maximal time of record is 0:2:0



loading library C:Program FilesjaudioMp3.tar...



library loaded...



JSObject::eval(setStatus_RP(' ','100');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP(' ');), url=http://secure.vec.bc.ca, permission=true



Finding information ...



Releasing classloader: sun.plugin.ClassLoaderInfo@354749, refcount=1



Done ...



JavaScript: calling Java system code



JavaScript: default security policy = http://secure.vec.bc.ca



JavaScript: calling Java system code



JavaScript: default security policy = http://secure.vec.bc.ca



JavaScript: UniversalBrowserRead enabled



JavaScript: default security policy = http://secure.vec.bc.ca



Start Record



JSObject::eval(setStatus_RP('Recording voice message','2');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP('00:00/02:00');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP('00:01/02:00');), url=http://secure.vec.bc.ca, permission=true



JavaScript: UniversalBrowserRead enabled



JavaScript: default security policy = http://secure.vec.bc.ca



Stopped



JSObject::eval(setStatus_RP('Stopped','4');), url=http://secure.vec.bc.ca, permission=true



JavaScript: UniversalBrowserRead enabled



JavaScript: default security policy = http://secure.vec.bc.ca



Start Play



JSObject::eval(setStatus_RP('Playing voice message','5');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP('00:00/00:01');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP('00:01/00:01');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setStatus_RP('Stopped','4');), url=http://secure.vec.bc.ca, permission=true



JavaScript: UniversalBrowserRead enabled



JavaScript: default security policy = http://secure.vec.bc.ca



uploadVoiceMsg: voiceBuffer size = 3456



http://secure.vec.bc.ca/vec-test/audio_test/mail/retreive.cfm



Connecting http://secure.vec.bc.ca/vec-test/audio_test/mail/retreive.cfm with no proxy



Connecting http://secure.vec.bc.ca/vec-test/audio_test/mail/retreive.cfm with cookie "__utmz=3035186.1150399451.37.13.utmccn=(organic)|utmcsr=google|utmctr=Immigration+Lawyers+in+the+USA|utmcmd=organic; __utma=3035186.1939843111.1147895140.1150416841.1150494702.41; LANG_ID=English; CFTOKEN=81557424; CFID=3344029; VEC_REG_ID=26020; _dmid=79403_1147975500529; __utmc=3035186"



JSObject::eval(setStatus_RP('Uploading voice message','6');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP('0%');), url=http://secure.vec.bc.ca, permission=true



IOException



Exception at uploadingjava.lang.NullPointerException



java.lang.NullPointerException



  at java.io.DataInputStream.readLine(Unknown Source)



  at y.d(y.java)



  at y.b(y.java)



  at y.a(y.java)



  at y.run(y.java)



  at java.lang.Thread.run(Unknown Source)



JSObject::eval(setStatus_RP('Voice message could not be uploaded','-4');), url=http://secure.vec.bc.ca, permission=true



JSObject::eval(setTimer_RP(' ');), url=http://secure.vec.bc.ca, permission=true





#5 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 20 June 2006 - 03:56 PM

Hi,

we are not experienced in the Cold Fusion, but it seems to me the applet can not upload audio file because may be path to server script is not correct and applet do not see it. Please, check it.

Sergey

#6

  • Guests

Posted 23 June 2006 - 11:34 PM

Hi Sergey,



I still have the same error. I think it's possible that CFFILE needs the filename, and that it's not being given that - hence it cannot save the file.

I must study your PHP scripts more closely...



Below is the same error message from the Java console...



CODE
Invoking method: public boolean RPApplet.UPLOAD(java.lang.String)



Needs conversion: java.lang.String --> java.lang.String



uploadVoiceMsg: voiceBuffer size = 4536



http://secure.vec.bc.ca/vec-test/audio_test/mail/retreive.cfm



Connecting http://secure.vec.bc.ca/vec-test/audio_test/mail/retreive.cfm with no proxy



Connecting http://secure.vec.bc.ca/vec-test/audio_test/mail/retreive.cfm with cookie "LANG_ID=english; __utma=3035186.1145426462.1150502164.1151100600.1151104879.7; __utmb=3035186; __utmz=3035186.1150502164.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); CFID=3751373; CFTOKEN=79617284; __utmc=3035186"



Invoking JS method: execScript



Invoking JS method: evalIntermediateValueToReturn



Invoking JS method: execScript



Invoking JS method: evalIntermediateValueToReturn



IOException



Exception at uploadingjava.lang.NullPointerException



java.lang.NullPointerException



at java.io.DataInputStream.readLine(Unknown Source)



at y.d(y.java)



at y.b(y.java)



at y.a(y.java)



at y.run(y.java)



at java.lang.Thread.run(Unknown Source)



Invoking JS method: execScript



Invoking JS method: evalIntermediateValueToReturn



Invoking JS method: execScript



Invoking JS method: evalIntermediateValueToReturn


#7

  • Guests

Posted 27 June 2006 - 12:59 AM

Hi,



Possible to post custom parameters to retrive script from the mail script?



So far, the onlyu way I see to so this would be as a java applet parameter, or in the javascript...



Your comment in mail.php says:

CODE
// Put your POST variables to send with recorded voicefile here



// Example: variable param1 - value of param1=1; param2=privet, param3=userdata




Could you please give me an example of how to add a custom variable named "filename"? This si where I want to store the filename for the audio file to store on the server. (I finally got that bug figued our in Cold Fusion, but it requires the filename of course...)



Thanks very much Sergey!

#8 elias

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 14 July 2006 - 10:55 PM

Hello Sergey! I'm from UA too and have question... Can i have acess to variables from soundLevelIndicator to see and write to array numeric value of sound level, i need it to build something like amplitude analysis. finally i need to have array of numbers like : [0,2,5,4,5,1]. To make this i need to know which function can return me value of current value of sound



Thank you, Ilja

#9

  • Guests

Posted 14 July 2006 - 11:04 PM

Hi Sergey,

As you may recall, I had trouble saving audio files under any OS except Win98. The cause seems to have been based in the fact that I had been running "retrive.php" on a different server from mail.php. (I had done this because in trying to convert the PHP scripts to Cold Fusion, I'd not been able to get the "retrive" script to work on my Cold Fusion server, so tried to keep using the original; PHP script, while I developed the rest of my application. It was a temporary measure, and not a great one smile.gif ).
I found that just by fixing my Cold Fusion version (retreive.cfm), my application works properly on every platform and in both IE and Firefox...
Once we launch our Audio Recrding application, perhaps I'll post the URL here for you to see. It allows people to record spoken answers to set questions, so the teaching staff at our ESL school can evaluate their communications ability prior to registration in a course.

John.

#10 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 17 July 2006 - 02:00 PM

hi,

applet can upload audio file on the same server where applet is located.
So, if applet is on the one web server, but retrieve.php on the other web server, applet can not upload audio file.
We are not experienced with ColdFusion, so we can not help you with retrive.cfm

Sergey

#11 wongseewaicycy

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 01 September 2006 - 04:14 PM

Hi, i am looking for MP3 recording coding. Other than java, what other language can I use?

#12 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 04 September 2006 - 09:05 AM

I did not understand your clear... Please, give me more information about your task, I will try to help you.

#13 hp9000

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 19 October 2006 - 10:21 AM

Hi Sergey,

We would like to impletment your Mp3 recording module in our website in the future, but I got two questions, do you know the answers?

1. Can we adjust/modify the recording duration (eg. 15 sec, or 30 sec) by ourself?


2. It seems all of recorded files will be put in the same directory, my understanding which could ovewrite the existing file if repeated file name is occured, as our system is providing for aothorised members used purpose, the chance of repeated file name is foreseeable, so, would you pls advice us how could we prevent this? or could we creat difference recorded voice directory for defferent members?

#14 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 20 October 2006 - 11:40 AM

1. You can set max recording time in the applet parameters.
Look into example web page record_app_mp3_JS.php ( it is in the SDK package).
<PARAM NAME = "TimeLimit" VALUE = "60">
In this case, max recording time is 60 sec.

2. Each user can save his audio files in own folder on the server.
Look in to example web page record_app_mp3_JS.php . You can find there $USERDIR="miha" This is name of subfolder in the /voicefiles/ folder. You can set for each user own subfolder. I hope it can help you.

#15 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 27 November 2006 - 02:42 PM

VIMAS Technologies released version 1.3 of Mp3 recording applet SDK.
New features:
1. Mac computers support was added. Currently, applet works on the Power and Intel Mac.
2. Input signal level graphical indicator was added. So, user can see the level of input signal and tune it by Windows or Mac sound volume control software.
3. A few bugs was fixed:
- if web page was refreshed, the message: "Audio module could not be loaded" was appeared and applet did not work. Currently, it is fixed. Applet supports up to 20 web page refreshes.
- in FireFox, after Record, Play, Pause, Stop, the controls did not work. Currently, it is fixed.

Please, evaluate new version.

#16 murli

    Newbie

  • Members
  • Pip
  • 5 posts
  • Gender:Male

Posted 21 April 2007 - 11:05 AM

Hello,

I m looking for online audio recording in ASP.NET, i got your product that is useful to me, but its not saving recorded file to disk.
Can u please help me, how to do that.

i have downloaded file from this link, please reply me soon its urgent for me.
www.vimas.com/ASP_ServerScript.zip

Thanx.

Murli

#17 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 24 April 2007 - 09:55 AM

I understood from your other posts that applet already works fine. Isn't it?

#18 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 08 August 2008 - 08:30 AM

Hi Nagastyle,
thank you for your interest in our product. I hope you already downloaded Mp3 Recording Applet SDK package from http://vimas.com/MP3_RecApplet.zip
In this package in the /Doc folder you can find User's Guide. Read it carefully. In the User's Guide in the Installation section how to install the applet is described.
Please do all instructions. If you will have problems again - contact me.
We can install recording applet on your server for additional payment. It cost $59. In this case you should pay $59 on the http://vimas.com/mp3_ordering.php and give me access to your server.

Best regards
Sergey

#19 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 08 August 2008 - 12:40 PM

Please, send me Java console content.
BTW, me and my team will be on the vacation since Aug,10 till 26. So, send me console ASAP rolleyes.gif

#20 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 08 August 2008 - 12:41 PM

Also, if your test web page with recording applet is available for me, please give me the link to this page.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users