Simulation of the atmospheric tape recorder signal in HCN