View Full Version : Flash audio recording?
Jack Norton
08-02-2005, 07:05 AM
I have a question for the experts: with Flash/Director, you can use audio recording through a normal microphone? to record someone speaking, then playback the audio file?
Thanks :)
arctic fox
08-02-2005, 07:10 AM
I don't know about Director, but you can do it with Flash.
Microphone class
Availability
Flash Player 6.
Description
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.
To create or reference a Microphone object, use the Microphone.get() method.
Jack Norton
08-02-2005, 07:15 AM
Thanks a lot :)
hanford_lemoore
08-02-2005, 12:56 PM
There's a few different Director Xtras (plugins) that do it as well:
http://www.updatestage.com/products_table.html#Sound
tolik
08-02-2005, 01:01 PM
You can't locally record sound using Flash - Flash doesn't work with local file system (except user specified "cache"-like "shared" area, but it's not connected in this case).
Jack Norton
08-02-2005, 02:04 PM
Yes I meant even "storing on memory" a recorded wav and playing it back from memory (without storing it on disk).
soniCron
08-02-2005, 02:07 PM
You can't locally record sound using Flash - Flash doesn't work with local file system... That's not entirely true. Certain projectors offer file access through "fscommand."
iopred
08-02-2005, 02:53 PM
The microphone input in Flash cannot be recorded and played back later locally. However it can be played locally, as it is recorded, which introduces the old feedback loop.
It can be used as a primitive input device, with the loudness controlling an object however.
The microphone/webcam portion of Flash is for the conferencing and multiplayer side of things, shame they made a weak effort in implementation.
I am speaking purely in the default player sense, im sure there is a way to interface it with another technology using FSCommand.
tolik
08-03-2005, 01:17 AM
That's not entirely true. Certain projectors offer file access through "fscommand."
Flash projectors have evolved far past fscommands in the past year and now support native actionscript functions like File.open("c:\foo.txt");, but that's not the point anyway.
tolik
08-03-2005, 01:19 AM
The microphone/webcam portion of Flash is for the conferencing and multiplayer side of things, shame they made a weak effort in implementation.
Have you checked Flash 8 Beta demos already?
http://www.protozoo.com/?p=179
http://blog.tapuz.co.il/thesite/images/722497_49.swf
http://www.benga.li/cam_exp/cameraActivity_07.swf
http://www.huppekee.be/PermaLink,guid,cf4cffcd-b816-4c34-b9d3-8be15c70debd.aspx
Nice "EyeToy" stuff is coming.
iopred
08-03-2005, 01:26 AM
Yeah, F8 has some nice stuff, especially access to bitmap data (finally), and blending (finally). As for other players, its a moot point, as alot of them are still platform specific, and Flash really is a web technology.
Flash is nice for web stuff, but for offline things, where you are restricted to having to use an external player (more cost), I fail to see the benefit over using Director.
Thats how I see it anyways.
vBulletin v3.6.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.