In the movie Pi (1998) there are a couple of scenes were we hear Devi moaning through the walls. The moaning occurs during two "episodes" (headaches).
Generally speaking, sex is something that is sought after. It's usually associated with good feelings, but for Max the sex noises cause his headaches to get worse. Is this scene showing how Max doesn't easily relate to other people? Is this scene showing how "non human" Max is?