Yeah, that's not a sound you would hear from a medium range or close shot. Maybe a plunging fire shot from an M4 at 10k, but it's probably the sound of plunging artillery fire from large caliber weapons. Tank rounds are moving much, much faster and much, much flatter. To detect where the shot came from you would have to hear the impact and the report, as well as the round passing and even then it would be a ballpark estimate. In complex terrain it would still be a matter of finding cover first.
Hollywood takes a lot of liberties.