[osflash] play back sound from a byte array

David Rorex drorex at gmail.com
Sun Dec 17 01:18:01 EST 2006


Is it choppy due to not being able to decode fast enough (would be
indicated by download taking too long, or by your CPU being maxed
out), or choppy due to timing? If a second block of sound is not
started playing exactly at the end of the previous block, then it will
be 'choppy' sounding.

Another way, perhaps you could transcode to mp3 on the server then
stream that to flash?

On 12/11/06, Brooks Andrus <brooks.andrus at gmail.com> wrote:
>
>  Hey David,
>
>  We've played around with the flashcodersbrighton code, but playback of a
> live stream of data is just too choppy at this point for it to be a workable
> solution. If you've got ideas about further optimization that would be
> wonderful.
>
>  Brooks
>
>  David Rorex wrote:
>  Hi, I have a few related links to playing back generated sound within
> flash:
>
> http://blog.davr.org/2006/08/01/realtime-sound-sythesis-in-flash-9/
>
> Your best bet is flashcodersbrighton's reusable class, found in the above
> link.
>
> I started it all a while back with this post: (but it no longer works
> in latest flash player, not overly useful code either).
> http://blog.davr.org/2006/04/21/dynamic-sound-in-85/
>
> -David R
>
> On 12/10/06, jaco - pixeldump <jaco at pixeldump.org> wrote:
>
>
>  hi,
>
> You may find [maybe] some useful infos @ Andre' Michelle blog and/or his
> lab:
>
> http://blog.andre-michelle.com/
>
> cheers
>
> :)
> Jaco-pixeldump
>
> ----- Original Message -----
> From: "John Grden" <neoriley at gmail.com>
> To: "Open Source Flash Mailing List" <osflash at osflash.org>
> Sent: Sunday, December 10, 2006 3:06 PM
> Subject: Re: [osflash] play back sound from a byte array
>
>
>
>
>  hey Brooks, are you trying to simply load external mp3's and don't
> care about whether it's streamed or not? what is it you're trying to
> do exactly?
>
> On 12/8/06, Brooks Andrus <brooks.andrus at gmail.com> wrote:
>
>
>  Anyone if there's any way to play back audio from a byte array? I'm
> basically looking for the ability to play back an audio stream from a
> server without a Flash Media server.
>
> Regards,
>
> Brooks
>
>
>  _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>



More information about the osflash mailing list