Fons:
On Thu, Mar 04, 2010 at 11:39:40AM +0000,
Jonathan Gazeley wrote:
Nick Copeland suggested simulating the force
applied to the pedals by
calculating the rate of change of the cadence. I reckon that might do
the trick.
It doesn't. Just consider going uphill 5% or downhill 5% at
the same and constant cadence. Makes some difference to your
legs and to a motor.
Well, then you need an accelerometer [1]. [2] is said to be in the
iPhone, but you probably want something easier to solder.
With it you could get the inclination angle and then get the applied
force. If you do it right you could even get a crashing sound when
falling...
It can measure the acceleration (including gravitation) vector in 3D,
and can transmit it at a rate of 100 or 200 Hz via bluetooth to your PC.
There you can transform it into OSC messages to control your synth
(together with the pedal rate). And the included gyrometer might improve
the the falling detection...
Best regards,
Giso
Regards,
/Karl
[1]
http://en.wikipedia.org/wiki/Accelerometer
[2]
http://www.st.com/stonline/products/literature/ds/12726/lis302dl.htm
-----------------------------------------------------------------------
Karl Hammar Aspö Data karl(a)aspodata.se
Lilla Aspö 148 Networks
S-742 94 Östhammar +46 173 140 57 Computers
Sweden +46 70 511 97 84 Consulting
-----------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user(a)lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user