Page 1 of 1

Motion/Proximity Trigger an effect, quad, or change

Posted: Sat Sep 28, 2019 12:04 am
by BBDecker
I'm working on a project wherein a new quad or effect is triggered when a viewer is standing at a specific place or when they approach.
How can that be accomplished?
Infrared sensor? Motion sensor? Kinect?
New to madMapper here and grateful for any tips.
THANKS
B

Re: Motion/Proximity Trigger an effect, quad, or change

Posted: Mon Sep 30, 2019 9:54 am
by mad-matt
An option is to use an arduino with a proximity sensor and an ethernet shield, you can use the OSC library for arduino to send a OSC message to MadMapper over the network (don't bother with the IP address of the machine with MadMapper, you can send to 255.255.255.255 - the broadcast address - then all computers in the network will receive the message, so MadMapper will, whatever the IP address)
You could also use any sensor coming with a USB connection and that could transmit data through MIDI or OSC.
MadMapper can receive data from many input: MIDI (protocol for music - used a lot in interactive/live video apps too), OSC (more flexible network protocol with high resolution), DMX (protocol for lighting people), computer keyboard, audio inputs, playstation controller, Leap Motion etc.

Re: Motion/Proximity Trigger an effect, quad, or change

Posted: Mon Sep 30, 2019 11:42 am
by franz
get a teensy, by default they can act as a midi device,
plug the sensor to it and modify the code to send the sensor value on a midi cc for instance,
connect your quad's opacity to the midi cc.

note that you'll probably need some sort of decay/release,
which you can add as a filter on your midi cc assignment (crtl -L)