Monday, March 7, 2011

Question regarding the code we have

Hi everyone,

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

4 comments:

  1. 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.

    It 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.

    ReplyDelete
  2. do you think its more clear now? :)

    ReplyDelete
  3. ohhhhhhh ok thanks Mar ;)
    so it's that easy to change haha thought it could have been more challanging.

    ReplyDelete
  4. this is what i'm assuming. but something along those lines yes :P

    ReplyDelete