Date: Fri, 18 Sep 2009 21:24:17 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-multimedia@FreeBSD.org, Alexander@leidinger.net, oliver@FreeBSD.org, dinoex@FreeBSD.org Subject: Re: libmad mp3 distortions Message-ID: <20090918212417.4472db3f.ariff@FreeBSD.org> In-Reply-To: <4AB36AAD.7040704@icyb.net.ua> References: <4AAF7604.3070304@icyb.net.ua> <20090917161442.176733aid7epmr8k@webmail.leidinger.net> <4AB36AAD.7040704@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__18_Sep_2009_21_24_17_+0800_rlC4UIFq2Wi3exsj Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 18 Sep 2009 14:10:37 +0300 Andriy Gapon <avg@icyb.net.ua> wrote: > on 17/09/2009 17:14 Alexander Leidinger said the following: > > Have you tried to play it with "madplay -v -a -6"? This will lower > > the volume by 6dB. IIRC this is still with the sound before the > > conversation to PCM. If this prevents the clipping, then it is > > normal. The reason is that because of rounding (and other > > operations) the value of a sample can be higher (or lower) than > > originally. If it was at the max level before, it can now exceed > > the max -> clipping. madplay is following the rules very strictly > > (and IIRC working with higher precision and bitsize), while other > > players have bigger mathematical errors. This would explain then, > > why you see this with madplay but not with other players. The > > problem I describe is not in the decoding step, the problem is at > > the encoding level. >=20 > Alexander, >=20 > thanks a lot! madplay -a -6 does indeed produce correct sound. > Bad news: despite the magnitude of configuratios options related to > 'gain' and 'pre-amp' in audacious2 (all global, nothing specific to > mad plugin), I couldn't get it work the same way as madplay. Sound > gets quieter but the distortions are not fixed. >=20 >=20 It is time for mp3gain/replaygain . You have to retrain your hearing and listening comfort. Search for "Loudness War". -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ ... Going with the standard and orthodox is the death of intellect .............. --Signature=_Fri__18_Sep_2009_21_24_17_+0800_rlC4UIFq2Wi3exsj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkqzigEACgkQlr+deMUwTNpjdACgnKD2wQedYKowDzPw0d16CqZm NO0An1l3Al52gp+pHluyTFtbKfMawX8t =18N4 -----END PGP SIGNATURE----- --Signature=_Fri__18_Sep_2009_21_24_17_+0800_rlC4UIFq2Wi3exsj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090918212417.4472db3f.ariff>