I am working on a patch to use audio information as a triggering mechanism for live video effects. Basically, right now I'm trying to produce bangs on bass or snare hits. I am attempting to isolate the hits using a lowpass [lop~] and bandpass [bp~] and [highpass~] filters (though only a lowpass is used in the patch that I'm posting, any combination of filters can be inserted in it's place). [moses] only sends information from the right outlet when the signal received from [env~] (a measure of amplitude) is higher than the "trigger cutoff" sent to the right inlet.
I want to use this to manipulate video projections during live shows using the audio the band is putting out. Does anyone have any advice for better ways to isolate specific frequencies so I can narrow the triggering down to just the hits I want to trigger bangs?
http://www.pdpatchrepo.info/hurleur/audio_trigger_using_env.pd