>>>'Well, 90% of my MP3s have clippings. Everyone is going to tell me, that you canot hear them, but they do not represent the music for a fraction of a second as intendet to be, and may produce disortions. But that's not the thing I want to discuss here.'<<< well, this is a very controversial topic, especially nowadays when CDs are master so loudly. if you can hear the distortion, then worry. but as long as you can't hear it, let it be and enjoy the music. either way you can't do anything about clipping once it's in the finished product >>>'Would it be possible to avoid clippings if the encoder, would decode the currently encoded frame and look for clipings and if they occur produce an alternative frame eg. with reduced volume (maybe only for some frequencies)?'<<< exactly how engineers define clipping nowadays is beyond me. when you say "look for clipings", i assume you mean the peaks where the "over" indicators go on. well, as long as your audio files are in the mp3 "domain", tools like mp3gain and mp3directcut will only eliminate the distortion introduced by the mp3 encoding process however, if the original source is clipped, then there is nothing you can about the distortion resulting from clipping. even if you reduce the levels with a wave editor or tools like mp3gain, the distortion which is present in the original (and whatever remains of it after the mp3 encoding process) will not be eliminated. this is why i say ignore the theoretical aspect of clipping and pay attention to what you hear, not see hope i answered your question