We discover an oscillatory circuit in the fly’s nerve cord that is under inhibition from the brain in the far condition - strong sensory input when males are close to females relieves inhibition and simultaneously drives the oscillatory circuit, generating rich, complex song.