The direct propagation of acoustic waves, driven harmonically at the solar photosphere, into the three-dimensional solar atmosphere is examined numerically in the framework of ideal magnetohydrodynamics. It is of particular interest to study the leakage of 5-minute global solar acoustic oscillations into the upper, gravitationally stratified and magnetised atmosphere, where the modelled solar atmosphere possesses realistic temperature and density stratification. This work aims to complement and bring further into the 3D domain our previous efforts (by Erdélyi et al., 2007, Astron. Astrophys. 467, 1299) on the leakage of photospheric motions and running magnetic-field-aligned waves excited by these global oscillations. The constructed model atmosphere, most suitable perhaps for quiet Sun regions, is a VAL IIIC derivative in which a uniform magnetic field is embedded. The response of the atmosphere to a range of periodic velocity drivers is numerically investigated in the hydrodynamic and magnetohydrodynamic approximations. Among others the following results are discussed in detail: i) High-frequency waves are shown to propagate from the lower atmosphere across the transition region, experiencing relatively low reflection, and transmitting most of their energy into the corona; ii) the thin transition region becomes a wave guide for horizontally propagating surface waves for a wide range of driver periods, and particularly at those periods that support chromospheric standing waves; iii) the magnetic field acts as a waveguide for both high- and low-frequency waves originating from the photosphere and propagating through the transition region into the solar corona.