> Hi! this has been probably asked before, but since I don't know how to search > the > lists (is it possible at all?):
It's possible, but the Flashcoders archives got zapped when they had hardware problems last year. We also have archives on Flash_Tiger, as Jason mentioned. > I have built a Flash application in AS3 for making algorithmic music. > > It's currently acceptable for any music except rhythms, because the timers > are not > precise enough. > > I have tried: > > * onEnterFrame > * normal Timer > * Very short timer (5ms) in combination with getTimer(). That's my current > method, > and it's not impressive, but works ok. > * 1 sample sound with onSoundComplete, to get a stable 46 ms timer. Doesn't > seem > to work any better than the others. As Jason mentioned, I've been going through the same process for a very demanding client--one of the country's best music schools. My project is to string together several audio clips, and make it sound like a real song, with absolutely no glitches. Here's what I've found: - Use AS3. AS2 isn't fast enough. - Timers have limited usability, because they can be off by several milliseconds. I tried that approach, and abandoned it after the prototype stage. - MP3's take too long to start playing, and tend to have glitches like pops and clicks. A program Steven Sacks recommended, MP3Trim, helped, but still didn't raise it to the professional level. - Aiff files at 44.1/16 seem to be the best solution (wav files would probably work too, but my client does all the asset prep on the Mac). I wrote a playlist class that has methods to build a playlist and to play it. The play method simply steps through the array of sounds you have built. It's its own listener for the SOUND_COMPLETE event, and keeps playing until it reaches the end of the playlist. That approach works for all but a few songs, where it's just not precise enough. For example, there's a pretty hyper guitar solo from "American Idiot", with fast 16th notes (tempo about 128), and I needed to drop in one sixteenth note in the middle of a run. The delay was just long enough--maybe 1/100 second--to make it sound like a hesitation. We had to drop that song from the game. Cordially, Kerry Thompson _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders