Beginning of the End
(1957)

Dr. Wainwright (Peter Graves) discovers a sound that excites and attracts the giant grasshoppers. The Navy sets up speakers in boats on Lake Michigan, and they play the sound at full blast. The grasshoppers immediately follow the sound and rush into Lake Michigan, where they are all drowned, leaving Chicago safe again.

Thanks John L!