My patch enable the user to define two gestures he wants and then associate them to midi notes.
In the video below I am using smartphones that send accelerometor information to pd through OSC messages. The patch learn the gestures in a training session (should be less that 2 min with configuration). Then the user can run the recognition and send midi notes. By sending the Midi notes to ableton hosting Battery3 I have been playing drums with two smart phones.
This is a first release. The patch is not user-friendly. We will care more about the interface in the next releases.
Video presentation - drums with smartphones demo (3 min) :
PDF detailed report :
(Installation insctruction, usage instructions and technical details)
Gigote First release (not user friendly, I have just finished the development):
The algorithm is based on Davide Morelli's work and his neural network patches.