- Home
- Tutorials
- Flash
- Intermediate
- From Fruity Loops to Actionscript

Guitar Hero concept using MIDI
Alex Nino
My bio... hmmm... what to say... I arrived on this crazy world clearly by mistake on March 81, in a far, far forgotten small town with more problems than a whole nation, close to the pacific ocean in the Colombian territory, it is called Cali. Early I began playing with some gadgets like "telebolito", "intellivision", "Atari", and it was here when I started feeling interested in games and how they are being done but before start programming I've learned to play piano a guitar (I love music, can't live without it). Then I learned some programming languages such pascal with Borland Delphi, and C++ but I have to confess that it was Macromedia Flash who changed my life once we met each other in 98. I'm working with it since it didn't have support of mp3 audio format files, yes the version 3. And then together (Flash and I) started travelling around south america looking for a better job opportunity and professional development than my hometown could offer us at that moment. Special thanks to: Brazil, Costa Rica and Colombia for being a great school. At this moment I'm happily living and paying taxes in London, UK but like a salmon fish one day I will be back to procreate :)
Guitar Hero concept using MIDI
Hehe! This is very interesting, in this example I'm not generating any audio at all, it is just a Mp3 file playing in the background (synchronized with a MIDI file). This example works completely in the other way round, the sound rely totally on the animation and the animation rely on FPS (frame rate), If the animation get stack the sound stops completely. In this case what I did was just placed some notes in fruity loops on top of the mp3 and them generate a MIDI file to control the animation synchronized with the music.
This demo didn't take long, no more than couple of hours, it so easy to build a Guitar Hero logic based on Midi files. Each finger is a note and each instrument is a MIDI channel, that's all! Take a look.
Yeap, here is the guitar hero concept source code. Well, I think it is all for now, feel free to contact me if you would like to clarify any doubts you have about MIDI and Flash, see you! Finally I got the chance for writing some documentation about all this MIDI files research in flash. check the online detailed documentation Midi Files ReaderResources
some demos midifiles examples, feel free to ask if you have any doubt.
Spread The Word
Related Links
Attachments
1 Response to "From Fruity Loops to Actionscript" 
|
said this on 07 Dec 2010 1:38:15 PM CDT
Nice article Alex.
2 or In any case, grea |


Author/Admin)