Hi all,
I'm thinking about using an exercise bike as an interface for a video installation. I'm currently thinking I could perhaps use a speedometer to get midi data to use in PD.
I've only ever used HID input to PD. Can anyone give me any pointers as where to begin with such a task?! Is it even possible to gather the data I need from a non midi device like a bike speedo?
Thanks Jonathan
Hallo, Jonathan Goodwin hat gesagt: // Jonathan Goodwin wrote:
I'm thinking about using an exercise bike as an interface for a video installation. I'm currently thinking I could perhaps use a speedometer to get midi data to use in PD.
I've only ever used HID input to PD. Can anyone give me any pointers as where to begin with such a task?! Is it even possible to gather the data I need from a non midi device like a bike speedo?
Silly question: If you already have experience with hid, why don't you use HID for the bike as well? A bike is a human input as it gets. You can always convert the hid data to midi format inside Pd later.
Frank Barknecht _ ______footils.org_ __goto10.org__
On Friday 14 Apr 2006 13:40, Frank Barknecht wrote:
Silly question: If you already have experience with hid, why don't you use HID for the bike as well? A bike is a human input as it gets. You can always convert the hid data to midi format inside Pd later.
I'll just go one further here and suggest that with an old (ball) mouse you already have a speedometer. Crack it open and drive one of the axis wheels with part of the bicycle wheel. You may need to do some gearing to get the angular velocity in the same range as the mouse was designed to read. The mouse will tell you what angle it has gone through per sample and from that you can determine its angular velocity.
robert.
HI,
the cheapest way is to attach some conductive strip/flag to the wheel, and use that to connect to open wires, at each turn. Will give a short click when connected to your audio card input, then detecting that click with [env~] and measuring the time between two clicks (turns of the wheel) woth [timer]
good luck!
Happy Easter!
Peter
Jonathan Goodwin wrote:
Hi all,
I'm thinking about using an exercise bike as an interface for a video installation. I'm currently thinking I could perhaps use a speedometer to get midi data to use in PD.
I've only ever used HID input to PD. Can anyone give me any pointers as where to begin with such a task?! Is it even possible to gather the data I need from a non midi device like a bike speedo?
Thanks Jonathan
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list