如何在浏览器中录制语音并使用 php 将其保存到 .wav 文件中? [英] how to record voice in browser and save it into .wav file using php?
本文介绍了如何在浏览器中录制语音并使用 php 将其保存到 .wav 文件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的 PHP 应用程序想要在浏览器中记录用户的声音并将其保存为 .Wav 文件或 .mp3 文件在本地磁盘中.如何做到这一点?
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
推荐答案
不是 PHP.PHP 在服务器上运行.但是,有一个解决方案可以满足您的需求:
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
这仅适用于 Firefox.如果您需要更通用的东西,则需要闪存.
This will only work in firefox. If you need something more universal, you will need flash.
走付费路线,看http://www.javasonics.com/
这篇关于如何在浏览器中录制语音并使用 php 将其保存到 .wav 文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文