Ah, ok, that makes things clearer.
First, look at RED5 - http://osflash.org/red5 You'd have to record to
FLV and then run a second program to parse out the audio, but it could
be done.
Second, the blog entry I was thinking of is
http://www.flashcodersbrighton.org/wordpress/?p=9 it might contain
useful code if you wanted to try and convert the audio inside of flash.
Leo Burd wrote:
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
--
Robert r. Sanders
Chief Technologist
iPOV
(334) 821-5412
www.ipov.net
_______________________________________________
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