On 12/8/05, Mark Ireland <[EMAIL PROTECTED]> wrote:
>
>
>
>
> >hi.
> >
> >although I tried very hard, I never managed to do such a thing so far
> >(in Flash 7).
> >maybe you should explain more:
> >are they really "looped" ? via sound.play() or via a onsoundcomplete
> >event ?
>
> I am using mc.s.start(0,60)
>
>
> is your problem related to the fact that flash seems to add
> >silence in the end of mp3s (I've tried looping the very end of a sound
> >object to do frequencies, but it doesn't work for dynamic mp3s) ? or
> >is your synchronization "frame-based" ? do your sounds desyncronize or
> >are they still starting at the same time but the whole loop isn't
> >always the same length in flash ?
>
> the loops seem to start together ok, but they drift out of synch, even
> though the mp3 files are exactly the same size. I have tried making the
> first mp3 as long as the whole song but it did not help.
>
> are your sounds loaded dynamically ?
> >
>
> Seven mp3s are loaded dynamically from a list of filenames.
>
>
>
> >+++++
> >clemos
> >
> >On 12/5/05, Mark Ireland <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi, I need some clues on getting Flash to play mp3 sound loops in sync.
> > >
> > > I have an app that plays long 7 mp3s (of exactly the same length) in
> >sync
> > > but I am unable to mod it for loops.


I saw this on flashcoders a while back, it may help you:



On 11/11/05, Alain Rousseau <[EMAIL PROTECTED]> wrote:
> Or you can try this little thing I made here, exactly for looping mp3
> seamlessly :
>
> http://lab.daroost.ca/source/SoundLoop2.mxp
>
> it's just a Class that I packaged with helpPanel and codehints info. You
> got all the info needed to make it work inside.
>
> it's more a class than an extension, the mxp just installed it for you
> in the correct folder.
> It should be in
>
> C:\Documents and Settings\USERNAME\Local Settings\Application 
> Data\Macromedia\Flash 8\en\Configuration\Classes\ca\daroost\SoundLoop2.as
>
> If you go inside the Flash IDE and open the HelpPanel, you will see a 
> SoundLoop item that you can open and browse for all help concerning the use 
> of the class.
> some basic usage is as follow :
>
>
>     import ca.daroost.SoundLoop2;
>     var mySong:SoundLoop2;
>     mySong = new SoundLoop2():
>     mySong.loadStreams("loop1.mp3",0,75);
>
> and you have your file looping with 75ms removed at the end, which
> usually removes the gap at the end of the mp3 file.
> If you have more questions, you  can mail me directly.
>
> Hope this gets you in the right direction.
>
> Alain

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to