Context. Below 1 mHz, the power spectrum of helioseismic velocity measurements is dominated by the spectrum of convective motions (granulation and supergranulation) making it difficult to detect the low-order acoustic modes and the gravity modes. Aims. We want to better understand the behavior of solar granulation as a function of the observing height in the solar atmosphere and with magnetic a...