The excitation of density waves at the Lindblad and corotation resonances by an external potential | Synapse