GMU:I and my Max/Defne Isikli: Difference between revisions

From Medien Wiki
No edit summary
Line 37: Line 37:
[[:File:video-webcam.maxpat]]
[[:File:video-webcam.maxpat]]
[[:File:piano-webcam-music-defneandmint.maxpat]]
[[:File:piano-webcam-music-defneandmint.maxpat]]
We find some tutorials about how to use frame difference to create a melody with your movement. So, we tried it out and got the idea for make it a 2 player game:
We (Me and Mint) thought about making a game with two players:
The game will start when Player 1 makes some movement and through webcam, he/she creates a melody.
When it is recorded, Player 2 tries to make the same melody by making the similar movements (not necesarrily the same movements as well).
The game evaluates the melodies to each other, if they are similar, Player 2 wins a point.
First one to reach 10 points wins!
The Structure of the Game
Start:
Round 1:
PLAYER 1:
Movement --> Melody of player 1 --> Melody Stored
then, PLAYER 2:
Movement to make same as Melody 1 --> Melody of Player 2 --> Melody Stored
then,
Melodies will be compared, if they are same/similar (pitch, amplitude or frequency???) --> Play 2 gets 1 point.
then,
if the melody is not same, no one gets a point.
Round 2:
The game will be repeated as Round 1 by starting with PLAYER 2.
Points are stored until 5 points.
The game ends if one of the players reach 5 Points.
if Player 1: Winner, then Player 2: Loser
if Player 2:  Winner, then player 1: Loser
GAME OVER!
(maybe we can add rematch button to make it restart)