Direct simulation and reduced-order modeling of premixed flame response to acoustic modulation