Microphone
public class Microphone
extends Object
The Microphone class lets you capture audio from a microphone attached to the computer that is running Flash Player.
The Microphone class is primarily for use with Flash Communication Server but can be used in a limited fashion without the server, for example, to transmit sound from your microphone through the speakers on your local system.
Caution: Flash Player displays a Privacy dialog box that lets the user choose whether to allow or deny access to the microphone. Make sure your Stage size is at least 215 x 138 pixels; this is the minimum size Flash requires to display the dialog box.
Users and Administrative users may also disable microphone access on a per-site or global basis.
To create or reference a Microphone object, use the Microphone.get() method.
Availability: ActionScript 1.0; Flash Player 6
Property summary
activityLevel:Number [read-only]
A numeric value that specifies the amount of sound the microphone is detecting.
gain:Number [read-only]
The amount by which the microphone boosts the signal.
index:Number [read-only]
A zero-based integer that specifies the index of the microphone, as reflected in the array returned by Microphone.names.
muted:Boolean [read-only]
A Boolean value that specifies whether the user has denied access to the microphone (true) or allowed access (false).
name:String [read-only]
A string that specifies the name of the current sound capture device, as returned by the sound capture hardware.
static
names:Array [read-only]
Retrieves an array of strings reflecting the names of all available sound capture devices without displaying the Flash Player Privacy Settings panel.
rate:Number [read-only]
The rate at which the microphone is capturing sound, in kHz.
silenceLevel:Number [read-only]
An integer that specifies the amount of sound required to activate the microphone and invoke Microphone.onActivity(true).
silenceTimeOut:Number [read-only]
A numeric value representing the number of milliseconds between the time the microphone stops detecting sound and the time Microphone.onActivity(false) is invoked.
useEchoSuppression:Boolean [read-only]
Property (read-only); a Boolean value of true if echo suppression is enabled, false otherwise.
Event summary
Event
Description
onActivity = function(active:Boolean) {}
Invoked when the microphone starts or stops detecting sound.
onStatus = function(infoObject:Object) {}
Invoked when the user allows or denies access to the microphone.
Method summary
Modifiers
Signature
Description
static
get([index:Number]) : Microphone
Returns a reference to a Microphone object for capturing audio.
setGain(gain:Number) : Void
Sets the microphone gain--that is, the amount by which the microphone should multiply the signal before transmitting it.
setRate(rate:Number) : Void
Sets the rate, in kHz, at which the microphone should capture sound.
setSilenceLevel(silenceLevel:Number, [timeOut:Number]) : Void
Sets the minimum input level that should be considered sound and (optionally) the amount of silent time signifying that silence has actually begun.
setUseEchoSuppression(useEchoSuppression:Boolean) : Void
Specifies whether to use the echo suppression feature of the audio codec.
Methods inherited from class Object
-------
This makes it clear that if I use Flash Professional 8 for coding, i would be able to make use of the following properties of sound:
activityLevel, gain index,muted,name, rate and silenceLevel .
Showing posts with label h) Coding. Show all posts
Showing posts with label h) Coding. Show all posts
Tuesday, October 24, 2006
Tuesday, October 17, 2006
Coding: Macromedia Communication Server 1.5
Flash Communication Server MX 1.5 At a Glance
Uniting Communications and Applications
Develop the next generation of online communications: Deliver multi-way audio, video, and real-time data in your websites and Rich Internet Applications. Create engaging pre-sales applications that integrate audio, video, text, chat, and enterprise data. Develop powerful corporate presentations with streaming video and synchronized multimedia content that are deployed seamlessly within the context and branding of your site. Or build collaborative meeting applications that bring people together in real-time-connecting them to each other, to live data sources, and to back-end services for a significantly more compelling online experience.
* Powerful
* Easy
* Open
Powerful
Create and deploy powerful new communications functionality within your Internet applications-all delivered through the ubiquitous Macromedia Flash Player.
Add interactive functionality, including video and data broadcasts, shared whiteboards, virtual conference rooms, message boards, polling, live chat, messaging, and much more.
Deliver engaging real-time streamed media. Synchronize video streams with multimedia material to provide powerful supporting content for presentations. Use server scripting to control streams and program broadcasts to exact specifications. Provide end users with the best possible experience through a seamlessly integrated client that lets you brand your broadcast the way you want.
Tap into multi-way, multi-user communications for rich media messaging. Create and deploy rich media messaging features such as live video, audio or text-based messaging, chat, polling, and more. Support for both real-time and recorded messages makes a powerful base for developing compelling Internet communications.
Offer real-time collaboration. With team message boards, shared whiteboards, online conference rooms, and more, it's now easy for multiple connected users to share data and user interfaces in real-time. Create robust applications that can be used offline and synchronized automatically when the user returns online.
Easy
Rapidly develop rich communications applications with a highly integrated set of authoring, debugging, and administration tools.
Ensure the broadest reach for your work by deploying to the highly integrated and widely distributed Macromedia Flash Player. With Macromedia Flash Player, playback is consistent and reliable across browsers, platforms, and devices. Now you can deliver a completely customized experience with no unwanted offers, advertisements, outside branding, or new browsers launching to carry visitors away from your site.
Develop rich communications easily by leveraging existing skills and toolsets with the highly integrated Macromedia Studio MX. Easily add communications functionality within the Macromedia Flash MX authoring environment, using standards-based ActionScript. Take advantage of server-side ActionScript development in Macromedia Dreamweaver MX.
Take advantage of pre-built components to add streaming video, live chat, meeting rooms, instant messaging, and more to applications. It's as quick-and easy-as dragging and dropping communications features into place with Macromedia Flash MX. Use the library of components available for Macromedia Flash Communication Server MX, or build your own reusable components in the Macromedia Flash MX authoring environment.
Customize your communications solutions in a flexible, server-scripting environment that makes it easy to build communications solutions to meet specific project requirements.
Open
Macromedia Flash Communication Server MX works with major existing platforms on the client and server, so you can enhance and leverage your existing investments.
Integrate seamlessly with application servers. Use built-in support for Flash Remoting to connect to application servers, databases, XML web services, and directory services, enabling integration with existing applications and data-and providing real-time data for customers. Flash Remoting is native in Macromedia ColdFusion and JRun and available separately for .NET and J2EE.
Provide a simpler experience for your users. Macromedia Flash Player automatically recognizes installed microphones and standard USB or Firewire cameras, so your users can begin communicating immediately-without performing complex installations or configurations.
Rely on a familiar scripting model. Create compelling applications with just a few lines of code. Use standard JavaScript scripting language (ECMA-262) to build application logic on the server.
Uniting Communications and Applications
Develop the next generation of online communications: Deliver multi-way audio, video, and real-time data in your websites and Rich Internet Applications. Create engaging pre-sales applications that integrate audio, video, text, chat, and enterprise data. Develop powerful corporate presentations with streaming video and synchronized multimedia content that are deployed seamlessly within the context and branding of your site. Or build collaborative meeting applications that bring people together in real-time-connecting them to each other, to live data sources, and to back-end services for a significantly more compelling online experience.
* Powerful
* Easy
* Open
Powerful
Create and deploy powerful new communications functionality within your Internet applications-all delivered through the ubiquitous Macromedia Flash Player.
Add interactive functionality, including video and data broadcasts, shared whiteboards, virtual conference rooms, message boards, polling, live chat, messaging, and much more.
Deliver engaging real-time streamed media. Synchronize video streams with multimedia material to provide powerful supporting content for presentations. Use server scripting to control streams and program broadcasts to exact specifications. Provide end users with the best possible experience through a seamlessly integrated client that lets you brand your broadcast the way you want.
Tap into multi-way, multi-user communications for rich media messaging. Create and deploy rich media messaging features such as live video, audio or text-based messaging, chat, polling, and more. Support for both real-time and recorded messages makes a powerful base for developing compelling Internet communications.
Offer real-time collaboration. With team message boards, shared whiteboards, online conference rooms, and more, it's now easy for multiple connected users to share data and user interfaces in real-time. Create robust applications that can be used offline and synchronized automatically when the user returns online.
Easy
Rapidly develop rich communications applications with a highly integrated set of authoring, debugging, and administration tools.
Ensure the broadest reach for your work by deploying to the highly integrated and widely distributed Macromedia Flash Player. With Macromedia Flash Player, playback is consistent and reliable across browsers, platforms, and devices. Now you can deliver a completely customized experience with no unwanted offers, advertisements, outside branding, or new browsers launching to carry visitors away from your site.
Develop rich communications easily by leveraging existing skills and toolsets with the highly integrated Macromedia Studio MX. Easily add communications functionality within the Macromedia Flash MX authoring environment, using standards-based ActionScript. Take advantage of server-side ActionScript development in Macromedia Dreamweaver MX.
Take advantage of pre-built components to add streaming video, live chat, meeting rooms, instant messaging, and more to applications. It's as quick-and easy-as dragging and dropping communications features into place with Macromedia Flash MX. Use the library of components available for Macromedia Flash Communication Server MX, or build your own reusable components in the Macromedia Flash MX authoring environment.
Customize your communications solutions in a flexible, server-scripting environment that makes it easy to build communications solutions to meet specific project requirements.
Open
Macromedia Flash Communication Server MX works with major existing platforms on the client and server, so you can enhance and leverage your existing investments.
Integrate seamlessly with application servers. Use built-in support for Flash Remoting to connect to application servers, databases, XML web services, and directory services, enabling integration with existing applications and data-and providing real-time data for customers. Flash Remoting is native in Macromedia ColdFusion and JRun and available separately for .NET and J2EE.
Provide a simpler experience for your users. Macromedia Flash Player automatically recognizes installed microphones and standard USB or Firewire cameras, so your users can begin communicating immediately-without performing complex installations or configurations.
Rely on a familiar scripting model. Create compelling applications with just a few lines of code. Use standard JavaScript scripting language (ECMA-262) to build application logic on the server.
Subscribe to:
Posts (Atom)
