A method and an apparatus for sound effect compensation, a non-transitory computer-readable storage medium, and a terminal device are provided. The method includes the following. An acoustic transmission function of an audio processing device in an ear canal of a user is determined according to an audio signal currently output from the audio processing device. Compensate for the audio signal according to the acoustic transmission function. The user's ear pattern information can be obtained through the audio signal currently output from the audio processing device, and the audio signal is automatically compensated, thereby adapting to users with different ear pattern information and providing different users with better listening experience.
展开▼