2 Replies Latest reply on Nov 16, 2006 1:45 PM by FlashChump

    seamless audio looping

    FlashChump
      http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15854
      This will explain how mp3s do not loop seamlessly.

      However the solution calls for using wav files, which I am not able to load with the sound class. I rather not embed large wav files inside my swf.

      Does anybody have a way to either load wav files dynamicly with the sound class?

      Or a fix for looping mp3s seamlessly?

      Thanks ahead.
        • 1. Re: seamless audio looping
          Level 7
          FlashChump,

          > This will explain how mp3s do not loop seamlessly.

          Yeah, that TechNote is right. I have the O'Reilly book on MP3 encoding,
          but it's been a while since I looked into it. I believe the problem is do
          to the way audio is "chunked" (my non-technical term) in MP3 files. There
          really isn't a way to fix it ... there are pros and cons to any file format,
          and that's a con to MP3s (though the pros outweigh in the case of MP3s, I
          believe).

          > However the solution calls for using wav files, which
          > I am not able to load with the sound class. I rather
          > not embed large wav files inside my swf.

          You got it. You can attach, but not load.

          > Does anybody have a way to either load wav files
          > dynamicly with the sound class?

          I think the best you can do is create a bunch of audio-only SWFs and use
          those as your external "music files." For each WAV, import it into its own
          FLA, let it span the timeline as long as it needs to, then export the SWF.
          In your mail project, load that SWF instead.

          To be honest, I'm not even sure that would work, but it's what I would
          try.


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."


          • 2. Re: seamless audio looping
            FlashChump Level 1
            Thanks David