2 Replies Latest reply on Mar 20, 2008 1:11 AM by tgoodmannz

    Save mixed audio to filesystem?

    tgoodmannz
      Is it possible to save mixed audio to filesystem?

      i.e. If I have two .mp3 files, I want AIR to Mix the two files and save the output as a new .mp3 file - is this possible?
        • 1. Re: Save mixed audio to filesystem?
          anirudhs Level 2
          Hi,

          AIR has no support to mix mp3 files out of the box, but you could write one yourself. If you did, I would use it :)

          Take a look at what's possible: RichFLV.
          • 2. Re: Save mixed audio to filesystem?
            tgoodmannz Level 1

            Thanks,

            I was able to mix the audio by playing it on two separate channels; I could convert that to a ByteArray using the SoundMixer.computeSpectrum static method - but It looks like the array is not exportable to be a useful audio file.

            The Digimix project (which I can't seem to download anymore??) states that it can do that - but I'm not sure how they would have accomplished it....

            Possibly there a way to integrate with the Java Sound Class in the future.......