|
-
How do i record sound?
if you look at bubbleshare.com, with each picture you can record your voice/noise upload it and bind it to that particular image.
They are using flash to record sound and i think they are storing it on the users hard drive first then uploads it to their server.
Question: Is there a way to record sound during flash runtime environment? Then compressing the 30-40second recorded sound clip?
I searched evrywhere, coundt find a proper example...if somone did this or knows some examples online...please share it here.
Last edited by raveneye; 08-15-2006 at 05:57 AM.
-
afta i did some research i managed to get to this stage:
System.showSettings(2);
var myMic = Microphone.get();
//sets kHz acceptable values are : 5, 8, 11, 22, and 44.
_root.attachAudio(myMic);
myMic.setRate(11);
myMic.setUseEchoSuppression(true);
myMic.setSilenceLevel(100, [1]);
//level = how much sound is detected, timer is delay.
myMic.onActivity = function(mode) {
trace(mode);
//if (myMic.gain>55) {
//myMic.setGain(55);
//}//volume preset
};
this.button1.onPress = function() {
myMic.setSilenceLevel(10, [3000]);
};
this.button1.onRelease = function() {
myMic.setSilenceLevel(100, [1]);
};
It playback the sound when button1 is pressed. But i cannot find a way to record the sound to a variable, how would i go abuot doing this?
-
Senior Member
 Originally Posted by Flash help files:
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.
You cannot record sound.
- The right of the People to create Flash movies shall not be infringed. -
-
hmmm...then how is bubbleshare doing it?
-
Senior Member
see above the comment from the flash help files.
- The right of the People to create Flash movies shall not be infringed. -
-
Happy FK'er
is flashcomm really nessisary? is there no other way?
"Good lord, you're wasting thousands of dollars worth of Interferon!"
"... and you're Interferon with our good time!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|