Does anyone know of code samples for how to put an app in "learning mode", do a movement, and then be able to recognize that movement later, recording time for each of those movements ? I've been looking at using sensorData.accelerometerData for this, but I'm not sure how to do the learning stage.
I've looked at the PitchCounter example, but it would be great with some guidance on the learning mode aspects, as well as how to use Math.FirFilter to define how similar the movement need to be to be counted.