chuff sound on steam locomotives

has this happened to anyone one,when a steam locomotive starts moving it chuffs two times and then doesent then again but when you go inside the cab there is regular chuffing.what may be the problem,if anyone can help thanks