A one-dimensional barrier and time-dependent tunnelling