6 Replies Latest reply on Feb 2, 2010 12:40 AM by gcpant

    Sound -> ByteArray -> Sound?




      I have a Sound Object with an MP3 file loaded.

      I then use the extract() method to export the sound data to a ByteArray and modify it.


      But how can I transfer the ByteArray data back to a real Sound object?


      I know that I can pass the ByteArray to an SampleDataEvent.SAMPLE_DATA listener , but that way I would have to keep the raw ByteArray and pass it every time the sound plays ... but I'd rather like a real Sound object in the end to work with


      --> I need the reverse function of Sound.extract(ByteArray, ...) !



      Best regards,

      florian heft