Phyks (Lucas Verney)
Finished serial handling
To be tested. No arduino for now :/
|6 years ago|
|3D_view||6 years ago|
|Chorizo player||6 years ago|
|Color||6 years ago|
|Noel2013||6 years ago|
|touchless_tracking||7 years ago|
|.gitignore||6 years ago|
|README.md||6 years ago|
This is based on an original project by Kyle Mc Donald : http://www.instructables.com/id/DIY-3D-Controller/.
Our slightly adapted setup is documented on my hacklab website hackens.org) (in french, I may write english doc if some people are interested in that). All the documentation can be found here : http://hackens.org/Projets/TouchlessTracking (in french, documentation will be written soon, after some extra tests).
In this repository, you’ll find :
Basically, the Arduino script reads discharge times for the three electrodes (this time is related to the distance between your hand and the electrode). It returns formatted lines on the Serial output like the following line :
value3 are values directly proportional to the discharge time for the electrode (see the code for more infos).
You’ll also find some basic Python scripts as examples on possible use of the setup.
This script represents the position of your hand in the RGB space. You can then pick a color by placing your hand at a specific point in the box of the electrodes.
A script to play music using chorizo pads as a musical keyboard. See our website (french, but vids are available, more coming soon) for infos and demos.
test_player.py and use your keyboard to play music for now (A, B, C, D, E, F and G keys).
Our code for a demo at Christmas party 2013. We wanted to play Jingle Bells using a chorizo player, 5 notes to fetch from the array and map to real sound.
Use the same basis as
test_player.py so it is also usable with a keyboard for fallback if whatever bad happen :)
Same as colors.py but represents the position in real space (cube view) rather than in RGB space.
TLDR; I don’t give a damn to anything you can do using this code. It would just be nice to quote where the original code comes from.