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
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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