Hi guys,
I'm working on a small patch that outputs a bang once a specific incoming pitch has been detected (to trigger an audio file for example). My problem is that I only want the action triggered once within a given time frame.. e.g. 2 seconds.. So say the same specific pitch is detected more than once within 2 seconds, the idea would be to output the bang ONLY ON THE 1ST PITCH... and then after these 2 seconds if this pitch is then re-detected the bang would then be triggered again, with the same 2 second buffer... and so on and so on...
Does this make sense??? I guess I'm looking for some kind of gating or buffering device to prevent the premature re-triggering of an event.
Any help or suggestions welcome!!