Extended, continuous measuring and analysis for underwater ambient noise can find the objects like ships and submarine. It is important for passive detection of underwater object. A real-time processing method of one-third octave spectrum is presented. It is shown by tests that the method is steady and satisfy the real-time processing.