okies, so essentially I did switch the gesture recognition class previously talked about over to the IR input. Boy oh boy was I in over my head a little bit. I forgot to take into account that not many people can hold their hand completely still, and even if the human eye could not detect the one pixel movements in the IR...the wiimote sure could. So essentially...every-time the IR moved a pixel off the users desired course...it would register as a direction change and the gesture would be unrecognizable...
Oh well, i did learn a hell of a lot more about class structures and Actionscript 3 language during the last couple of days...now for a different approach...
I want the user to be able to see where they can conduct, but at the same time i still want freedom....so after a bit of brainstorming i came up with this idea...

The final implementation changed a bit from the original design...but here is a screen shot of what the game looks like at the moment...

(Obviously needs polishing) but the set up is there and the gestures work :D...
Okay, here is how it works...
The tempo timer counts through 4 beats before resetting itself. Your standard 4 beat tempo.
as you can see there is an array of conducting points...
During this time, the user can conduct however they want, but when the tempo counter hits 4 beats it checks to see what points have been hit and in what order. It then check against the possible beat patterns and changes the tempo accordingly...
If the user does not conduct, or makes an unrecognisable pattern(or if the cheat and just wave the IR manically :P), the tempo will randomly decrease at different parts of the orchestra...thus creating chaos and the music will sound bad.
So, to conclude, great progress these last couple of days. Although I do miss sleep, it was worth it.
here is a screen capture video of the app in action....a little laggy and no audio...but the IR dot moving around is controlled by the IR conducting baton...and the tempo changes accordingly...as does the music...
My next step is to polish up the orchestra, separate the orchestra into different elements and finally set up my projection surface.
Cheers For Reading...
No comments:
Post a Comment