A numerical method for time dependent acoustic scattering problems involving smart obstacles and incoming waves of small wavelengths