So far if i'm not mistaken we coded so when you press a key (let's say 'K') a sound file starts playing. If you press another key let's say 'L' another sound file plays and so on....
When we start using the fiducial's we are going to put the fiducial on the surface and leave it there to play the specific sound file. Isn't this like keeping the 'K' key pressed down??
So far when you press the 'K' once and let it go the sound file plays.
This would be like you are taking the fiducial off the surface meaning stopping the sound file not make it start playing.
In Short:
I think when the 'K' key is pressed down the music plays and when the 'K' key is lifted the music file stops.
You get what I'm trying to point out?
Regards
Daryl
aha i see what you're saying. however, this code as it stands right now is only an outline of what we intend to achieve at the end.
ReplyDeleteIt does not have to be an exact replicate of every instruction (if that is not what we require)
The key press is simply symbolizing the user input. When we turn to reactivision, we just substitute keypress == k, with fiducial ID == 1 and the music clip with play.
do you think its more clear now? :)
ReplyDeleteohhhhhhh ok thanks Mar ;)
ReplyDeleteso it's that easy to change haha thought it could have been more challanging.
this is what i'm assuming. but something along those lines yes :P
ReplyDelete