in that case you got everything wrong, microphone attached to sound object provides only playback of current sound. no recording or anything like that. only way imo is to use FMS or Red5 to send stream serverside and only then encode it as you need. thats the only alternative as far as i know. though i'm not sure about AS3 maybe there are some new features that might help to do this. but still sending sound stream sounds a lot more efficient to me than encoding sound into stream client side, then send string to serverside and encode it back to sound there.
2006/11/29, Leo Burd <[EMAIL PROTECTED]>:
- From a microphone input... .L. ----- Original Message ----- From: "Janis Radins" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Wednesday, November 29, 2006 10:34 AM Subject: Re: [Flashcoders] How to send Audio objects as MP3 via XML-RPC? > Where are you getting your sound object from? > > 2006/11/29, Leo Burd <[EMAIL PROTECTED]>: >> >> Hello Robert, >> >> Thanks so much for your message! >> >> My problem is creating an MP3 file out of a Sound object, not the other >> way >> around... do you have any suggestions on how to do that? >> >> Best, >> >> Leo >> >> ----- Original Message ----- >> From: "Robert r. Sanders" <[EMAIL PROTECTED]> >> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> >> Sent: Tuesday, November 28, 2006 9:36 PM >> Subject: Re: [Flashcoders] How to send Audio objects as MP3 via XML-RPC? >> >> >> > My understanding is that there is no way to "create" a Sound object >> other >> > than by embedding it or using a streaming server (see Red5). >> > >> > However, some enterprising individuals have realized that in AS3 you >> > can >> > dynamically create objects (e.g. reflection) and thus if you really >> > want >> > to you could programmatically 'generate' sound. >> > Depending on your use case it is probably much easier to use a >> > streaming >> > server. >> > As an aside the use case I had for programmatic generation of a Sound >> > object was the idea that the Speex algorithm (an open codec for human >> > voice encoding) might be a possibility in AS3, alas it looks like it >> would >> > be a major undertaking. >> > >> > >> > Leo Burd wrote: >> >> Hello there, >> >> >> >> I am new to Flash and I am wondering what is the best way to send >> >> Audio >> >> objects via XML-RPC. More specifically, I wonder if anyone could send >> me >> >> suggestions on: >> >> >> >> a) How to convert a Sound object to MP3 programatically? >> >> b) How to convert the resulting MP3 into a base64 string >> >> c) How to send the base64 string to my server via XML-RPC >> >> >> >> BTW, shall I use AS2 or AS3 for this? >> >> >> >> Thanks in advance, >> >> >> >> Leo >> >> >> >> _______________________________________________ >> >> Flashcoders@chattyfig.figleaf.com >> >> To change your subscription options or search the archive: >> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> >> Brought to you by Fig Leaf Software >> >> Premier Authorized Adobe Consulting and Training >> >> http://www.figleaf.com >> >> http://training.figleaf.com >> > _______________________________________________ >> > Flashcoders@chattyfig.figleaf.com >> > To change your subscription options or search the archive: >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> > Brought to you by Fig Leaf Software >> > Premier Authorized Adobe Consulting and Training >> > http://www.figleaf.com >> > http://training.figleaf.com >> > >> >> _______________________________________________ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com