Free Motion Detector App for Media Artists
Attach a camera and trigger sounds whenever occupancy is detected in six user-defined areas of the video image. You have complete control over the playback logic and signal routing. Multichannel surround is supported. Video Trigger can also trigger shell scripts or AppleScripts, send MIDI notes, and even save images. If you want to trigger videos to play instead of sounds, see my other app, Video Triggers Video.
I designed Video Trigger for artists who want to experiment with interactivity without building custom hardware or software. It aims to answer the question that I hear from many of my students:
“How do I make a sound play when somebody walks by?”
The answer often involves micro-controllers (like Arduino) and sensors, or custom software (via Processing, pd, vvvv, Isadora, or MAX). In the long-run these options provide much greater rewards, but if you have modest needs, Video Trigger is a painless way to get started.
Video Trigger works with many cameras. It can play up to six sound files (1-16 channels) through any Core Audio sound hardware (1-16 channels) with complete control over signal routing.
Whenever a zone is entered or exited it can also run a terminal command of your choice (to launch an Apple Script or shell script, run an application, open a file, etc. )
Video Trigger wasn’t intended as security software, but in 2022 I added an option to save still images of the video frame whenever zones are entered.
Motion is detected with a simple background-subtraction technique, but in 2022 I added a basic feature to trigger zones based on facial recognition instead.
VPT (Video Projection Tool) is a free app by HC Gilje that handles all kinds of complicated video projection tasks (cueing, mixing, effects, keystoning, etc…). He made a VPT extension based on Video Trigger so you can use a camera to trigger any VPT function.
Sometimes video motion detection is a complex and unreliable way to detect people. A simple floor switch or motion detector attached to a Sparkfun WAV Trigger, hacked computer keyboard or Makey Makey board could do the job nicely. Applications like the (free and wonderful) Soundplant will play sounds whenever a key is pressed, with fine control over the playback logic.
Download Latest Version (2022-10-18) 155MB MacOS .zip file
Read the Video Trigger Guide for instructions and a detailed Changelog.
See Installation Instructions. There is no Windows version (details).
Known Problems (won’t be fixed any time soon):
- Apple’s quarantine breaks my automatic preferences saving / loading. To fix, open the Terminal and copy/paste
xattr -r -d 'com.apple.quarantine'then type a space, then drag the Video Trigger app into the terminal window. Press Enter. (You won’t get any sort of confirmation.) Close Terminal. - There are an excessive number of permission requests during startup. Just keep saying yes!
Changes in this version:
- Added: Face detection, Saving images when motion detected, preview window is wide-screen, progress bar to visualize sample playback
- minimum fade time is now 2ms (was 5)
- “Load soundfile” and “Choose Outputs” buttons are now red until they have been set
- Fixed: Updated for modern MacOS versions, webcam resolution problem solved, re-triggering is now possible during fade-outs, preview zone overlays now look better at different resolutions
Old Versions
2018-08-20 (MacOS) November 13, 2018, 53MB with MAX8 source patches.
2018-08-20 (MacOS) August 20, 2018, 90MB with MAX7 source patches.
2013-03-28 (Mac Intel, Not Compatible with PPC Macs) March 28, 2013, 20MB with MAX6 source patches.
2012-08-11 (Mac Intel, Not Compatible with PPC Macs) Aug 11, 2012, 20MB with MAX6 source patches.
2009-01-10 (Mac Intel/PPC) Jan 10, 2009, 17MB with source “patches” for MAX5. (Tested with Mac OS 10.5 Leopard.)





