Im trying to build an flash application like >Incredibox< It allow user to drag and drop to play music, and all the music synchronizing together, but it is possible to build with AC3, the only question I wanted to ask is the recording and saving function. How to make the record feature to record the background music which follow by user’s sequence? And how to allow user to save the sequence as a .mp3 output? Do it need something like MySQL database to achieve it? Or all the feature like Incredibox can totally done within Adobe Flash?
For the saving part of it, do you want to leave a copy of the songs on the server (tied to a user’s account)? Or do you want just give users the option of downloading the song once they’ve created it?
For the first choice where you leave songs on the server, something like a database is probably the right thing. For the second choice, you don’t need anything like that.
Thanks for your explanation, in this case i would like to build this application for entertain purpose, so this is basically “offline” thing, and no server site require. But i have no idea how to implement the recording and save function. Because i need to capture the sequence input by user, for example:
1 - user choose drum beat
2 - user choose guitar (while the drum beat still playing)
3 - user choose piano ( while drum and guitar still playing)
so the recording output will be exactly following the order that user input. From my opinion, is that use bytearray to capture the mix playing, and simply use file-reference function to save it locally?
Please correct me if i’m in the wrong side of thinking.
That sounds reasonable to me, but I haven’t played with the Sound classes in a long time to know if there is a better way to do this. Maybe @senocular or @krilnon may know more