impeccable_nice Posted December 3, 2009 Share Posted December 3, 2009 Hi Friends, I was just thinking of making a voice recorder in PHP, am really not sure how to do it, so I just wanna have some guidelines how can I make it, what I want is that using a microphone I can record my voice over internet using a php website, I dont know how it can be implemented. So I request all of you to please help me in this regard, and if anyone can give me some guidelines, I would be very very thankfull to him Regards, KK Impeccable Quote Link to comment Share on other sites More sharing options...
Jakehh Posted December 3, 2009 Share Posted December 3, 2009 http://au2.php.net/manual/en/refs.utilspec.audio.php Could possibly help you in the right direction, using possible CGI Integration or perl to power the actual recording. Quote Link to comment Share on other sites More sharing options...
impeccable_nice Posted December 3, 2009 Author Share Posted December 3, 2009 Thanks for your reply friend, but thats more about audio manipulation, I am more intersted in sending my voice to server running my PHP application and then record that on server, can AGI scripting would help me.? Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted December 3, 2009 Share Posted December 3, 2009 PHP is a server side scripting language, you cannot do it directly, you'll have to have a java or flash on your site interacting with PHP, since php cannot access any hardware on the client PC. Quote Link to comment Share on other sites More sharing options...
impeccable_nice Posted December 4, 2009 Author Share Posted December 4, 2009 Great Thanks Rajiv, that really helped me a lot to understand what the task actually is, well I would like to know If I use a flash component, what sort of data that component will send to my PHP script because I will then have to store it in my DB and then send back to flash player afterward to listen. Quote Link to comment Share on other sites More sharing options...
oni-kun Posted December 4, 2009 Share Posted December 4, 2009 Great Thanks Rajiv, that really helped me a lot to understand what the task actually is, well I would like to know If I use a flash component, what sort of data that component will send to my PHP script because I will then have to store it in my DB and then send back to flash player afterward to listen. You can use Flash to upload the voice from the mic (Maybe Java be better suited) And manipulate it via php through it storing the file in a database, or Java/Flash directly playing it back. You won't get this done with that goal in mind.. Quote Link to comment Share on other sites More sharing options...
impeccable_nice Posted December 4, 2009 Author Share Posted December 4, 2009 Great Thanks oni-kun, what I understand so far is , the Java/Flash based component will take the voice from the mic and then upload that audio to the server. In that case WHAT WOULD BE THE FORMAT of that audio ?? mp3 ?? Quote Link to comment Share on other sites More sharing options...
oni-kun Posted December 4, 2009 Share Posted December 4, 2009 Great Thanks oni-kun, what I understand so far is , the Java/Flash based component will take the voice from the mic and then upload that audio to the server. In that case WHAT WOULD BE THE FORMAT of that audio ?? mp3 ?? It can be any format I believe, Java is a platform and therefor should provide a nice programming interface save you know how to write/compile it. Here's a sample I quickly found on google. I believe .au is what it saved by default, but it can be easily saved as .mp3. http://javasolution.blogspot.com/2007/04/record-and-save-audio-using-java.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.