“I could hear their dogs breathing,” she said. “I could hear their dogs peeing on the floor upstairs.”

Ms. Gleason was referred to Dr. Schnitta by a fellow resident who had been disturbed by extravagantly amorous neighbors. About 380 square feet of ceiling was treated with mass-loaded vinyl and hung on springs. Radiator pipes were placed in sound-isolating mounts, at a total cost of $24,000. “It’s incredibly worth it. I sleep through the night,” Ms. Gleason said. “It was either that or move.”

Noise abatement, of course, isn’t just for beleaguered apartment dwellers. Even in the quietude of the Hamptons, people are willing to pay for the opulence of even more quiet.

Jay Bialsky, a developer who has built in the Hamptons for 23 years, said he began using soundproofing in his new construction about 15 years ago. “Soundproofing and sound-deadening products have evolved as a trend,” he said. “Anywhere there is a chance for pass-through noise, we are soundproofing.”

At a recent project of his in Bridgehampton, a $26 million 10,000-square-foot barn-style house, the silent treatment included soundproofing walls and ceilings, wrapping pipes to quiet the sound of toilets flushing, wrapping heating and cooling ducts, and suspending floors. The cost of soundproofing a new house of this size, he said, runs between $100,000 and $300,000.

Dr. Schnitta said that fixing a problem in a finished room typically costs between $10 and $45 a square foot, depending on how severe the problem and how much quiet is required. For spaces that are already under renovation, the cost can be much lower.

When Robin Eshaghpour, a real estate portfolio manager, combined five condominiums in New York into one 4,200-square-foot duplex for his family, he summoned Mr. Glotzbecker. “We wanted to sort of have the feeling that we are in our own world,” he said. Because the entire space was gutted, he estimated the additional cost of soundproofing at a 2.5 percent increase over standard construction.

Not that Mr. Eshaghpour didn’t raise an eyebrow when he saw the consultant’s bill. “I think gaining the know-how, which we paid Ryan for, is really the larger investment,” he said. “There is a recipe to how it should be done, and that has its costs.”