Oh, I apologize. That's an interesting solution. I guess I was just looking for a direct route.
Scott On 01/06/07, Martin Wood-Mitrovski <[EMAIL PROTECTED]> wrote: > > > Scott Hyndman wrote: > > What I mean is, it isn't possible. Everything in the API (AS2 and AS3) > > is catered towards the playing of MP3. There isn't any lower level > > access to Sound to play uncompressed bytes in way, or even load MP3s > > from bytes which I can see. This rules out any conversion between > > formats internally. > > well, in AS3 you can play uncompressed sound by creating swfs on the fly and > doing loadBytes, there are demos of this around the web (andre michelle, > flashcoders-brighton etc..) > > There also was a demo of doing ogg decoding i saw (well heard) a few months > ago, > but the problem is that even with the relative speed of as3 you wont be able > to > do much (if anything) at the same time as decoding the audio. > > so *realistically* mp3 is your best option for loading external audio data, > buy you can generate audio completely internally, and undoubtedly if you took > the time you could build an audio rendering engine that could use both > external > and internally generated audio to create output of a particular format (ogg, > flac, mp3 etc..) > > if you are interested in synthesizing audio then you can take a look at the > sid > branch of fc64 which has an engine adapted from the flashcoders-brighton > source. > > https://mirror1.cvsdude.com/trac/osflash/fc64/ > > its a real-time emulation of the c64 sid chip (which i still need to finish) > > thanks, > > Martin > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
