Saravanan
Saravanan

Reputation: 11592

how to record voice in browser and save it into .wav file using php?

my PHP application wants to record users voice in browser and save it as a .Wav file or .mp3 file in local disk.How to do this?

Guide me to get out of this problem...

Thanks & Regards, P.SARAVANAN

Upvotes: 1

Views: 5118

Answers (3)

Ian McGraw
Ian McGraw

Reputation: 571

Here's an open-source project for recording audio using Flash in the browser and PHP (or whatever server-side technology you prefer) on the back-end:

https://code.google.com/p/wami-recorder/

Upvotes: 2

glowworms
glowworms

Reputation: 410

There are two steps to doing this: 1) Record the voice on the client 2) Upload the recorded file to server

Since HTML does not allow you to use client resources like the microphone, you will have to use an embedded object which does like Flash, Silverlight, Java Applet, ActiveX etc...

Once it is recorded on the client, you can use either those embedded objects to upload it to your server or use a HTML file upload to do it.

Upvotes: 1

Sylver
Sylver

Reputation: 8967

Not PHP. PHP runs on the server. There is however a solution for what you want to do:

https://wiki.mozilla.org/Labs/Jetpack/JEP/18

This will only work in firefox. If you need something more universal, you will need flash.

Going the paid route, look at http://www.javasonics.com/

Upvotes: 3

Related Questions