The production of sound by low and high Mach number flows