网络浏览器中的录音小程序/闪存 [英] Voice recording applet/flash in a webbrowser

查看:24
本文介绍了网络浏览器中的录音小程序/闪存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将在网站上制作一个录音插件/插件,用于录制音频并将其发送到服务器进行进一步处理.我有两个建议;要么写一个java小程序,要么使用flash.该服务应该适用于所有主要浏览器(IE、Firefox、chrome 等).

I'm going to do a voice recording plugin/addon on a website that will record audio and send it to the server for further processing. I have had two suggestions; either write a java applet or use flash. The service is supposed to work for all major browsers(IE, Firefox, chrome,..).

我是该开发领域的新手,正在寻找有关如何进行此开发的提示.每个解决方案的优缺点是什么?

I'm new to this area of development and is looking for tips on how to proceed with this. What is the pro's and con's for each solution?

对于java小程序,你推荐什么Java语音API库?我想要一个简单的小型图书馆,我只需要语音输入.

For java applet, what Java speech API library do you recommend? I want a simple, small library, I only need voice input.

另外,我对Flash开发感到困惑,我找不到任何关于开发的好信息,adobe网站没有多大意义.flash 的编程语言是什么,你如何在 html 代码中实际运行它?我找到了 ActionScript 3,它是用来创建 Flash 插件的,它可以进行录音吗?

Also, I am puzzled by Flash development, I can't find any good information about development, the adobe website dosn't make much sense. What is the programming language for flash, and how do you actually run it in html code? I have found ActionScript 3, is that used to create Flash plugins and can it perform voice recording?

谢谢

推荐答案

如果你想学flash:

If you want to learn flash:

http://gotoandlearn.com/index.php

flash 的运行方式是,浏览器通过某些标签(通常是 javascript)调用 flash 插件后,将 swf 文件传递​​给 flash 插件.flash 对象被无缝加载到浏览器中以符合布局参数,然后 flash 二进制文件 (swfs) 在 actionscript 虚拟机中执行,输出呈现到浏览器.

How flash runs is, the swf files are passed to the flash plugin after the flash plugin as been invoked by the browser via certain tags, usually javascript. The flash objects are loaded seamlessly into the browser to conform to layout parameters and then the flash binaries (swfs) are executed in the actionscript virtual machine, with the output being rendered to the browser.

如果您想捕获用户的声音输入并保存,您可以在 Flash 中轻松完成.这是完成此任务的最小库:

If you want to capture user sound input and save it, you can do this easily in flash. Here's a minimal library to accomplish just this:

http://www.bytearray.org/?p=1858

这篇关于网络浏览器中的录音小程序/闪存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆