Detecting the input of one certain frequency

StateAardvark's icon

I'm building a modulation patch that works by detecting one certain frequency (or more) and banging an envelope attached to a gain~ object. Is there an object that can detect when there's a signal at a designated frequency? Can you also track the amplitude of the signal when it's at that frequency?