Detect a particular frequency?

Or put the mike in the bottom of a styrene drinking cup to act as a direction microphone.