Might help to know if it happens when coasting. It sounds like its a drive system problem but it would have been the case before you got your flat. I would re seat the tire and tube (to make sure that you couldn't have done anything wrong when changing) and pedal the bike slowly on a bike stand to locate from what region the noise is happening. Can you explain the noise in more detail? Walking through gravel crunch?