should read: is it possible to play sounds from byteArrays. sorry.
1 person found this helpful
From the doc:
In Flash Player 10 and later and AIR 1.5 and later, you can also use this class to work with sound that is generated dynamically. In this case, the Sound object uses the function you assign to a sampleData event handler to poll for sound data. The sound is played as it is retrieved from a ByteArray object that you populate with sound data. You can use Sound.extract() to extract sound data from a Sound object, after which you can manipulate it before writing it back to the stream for playback.
Flex SDK Developer
Adobe Systems Inc.
Thanks, I assume you mean something like that (the 2nd example) -
seems to be doing the job I need. however I still have a problem that
the suond is totally distorted and unrecognizable, but I guess that's another issue, probably related to codecs/bitrate.