Motion/Proximity Trigger an effect, quad, or change
  • BBDecker
    junior Member
    Posts: 5
    Joined: Fri Sep 11, 2015 10:24 am

    Motion/Proximity Trigger an effect, quad, or change

    by BBDecker » Sat Sep 28, 2019 12:04 am

    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
  • mad-matt
    garageCube team
    Posts: 888
    Joined: Mon Sep 09, 2013 5:50 pm

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

    by mad-matt » Mon Sep 30, 2019 9:54 am

    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.
  • franz
    madMapper master
    Posts: 797
    Joined: Fri Feb 18, 2005 7:05 pm
    Location: Paris, France
    Contact:

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

    by franz » Mon Sep 30, 2019 11:42 am

    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)

Who is online

Users browsing this forum: No registered users and 2 guests