From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Erich Eckner Newsgroups: gmane.comp.audio.sox Subject: Re: volume extremely low when combining many files Date: Fri, 23 Sep 2016 06:56:22 +0200 Message-ID: References: <99482240-79ac-4767-c935-d63238eb374a@eckner.net> <1d05af1827f0efc7968990aea4b54e3e@wingsandbeaks.org.uk> <6C04A1EE-C25C-48BB-AFD9-9D8EEF08E0D1@gmail.com> Reply-To: sox-users@lists.sourceforge.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1079327194053591419==" X-Trace: blaine.gmane.org 1474606619 15122 195.159.176.226 (23 Sep 2016 04:56:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2016 04:56:59 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 To: sox-users@lists.sourceforge.net Original-X-From: sox-users-bounces@lists.sourceforge.net Fri Sep 23 06:56:55 2016 Return-path: Envelope-to: gcas-sox-users@gmane.org X-ACL-Warn: X-No-Relay: not in my network X-Hashcash: 1:22:160923:sox-users@lists.sourceforge.net::DT6gaoQS1aMbzW13:000000 0000000000000000000000006Ji8 In-Reply-To: <6C04A1EE-C25C-48BB-AFD9-9D8EEF08E0D1@gmail.com> X-Headers-End: 1bnIXG-0004RU-CN X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-users-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox:6290 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnIXY-0002h5-N2 for gcas-sox-users@gmane.org; Fri, 23 Sep 2016 06:56:49 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bnIXJ-0001w4-HU; Fri, 23 Sep 2016 04:56:33 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bnIXH-0001vy-TC for sox-users@lists.sourceforge.net; Fri, 23 Sep 2016 04:56:31 +0000 Received: from v1.homerecords.de ([62.141.45.186]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1bnIXG-0004RU-CN for sox-users@lists.sourceforge.net; Fri, 23 Sep 2016 04:56:31 +0000 Received: from [192.168.0.12] (cable-86-56-88-136.cust.telecolumbus.net [86.56.88.136]) by v1.homerecords.de (Postfix) with ESMTPSA id BC9982941F70 for ; Fri, 23 Sep 2016 06:56:23 +0200 (CEST) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1079327194053591419== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fT6fdH9VoOtSGWVpVW5tfjsHApudkQOL6" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fT6fdH9VoOtSGWVpVW5tfjsHApudkQOL6 Content-Type: multipart/mixed; boundary="tLVGPcQBG0g76K65BUlICu4mUhgHopWpP"; protected-headers="v1" From: Erich Eckner To: sox-users@lists.sourceforge.net Message-ID: Subject: Re: [SoX-users] volume extremely low when combining many files References: <99482240-79ac-4767-c935-d63238eb374a@eckner.net> <1d05af1827f0efc7968990aea4b54e3e@wingsandbeaks.org.uk> <6C04A1EE-C25C-48BB-AFD9-9D8EEF08E0D1@gmail.com> In-Reply-To: <6C04A1EE-C25C-48BB-AFD9-9D8EEF08E0D1@gmail.com> --tLVGPcQBG0g76K65BUlICu4mUhgHopWpP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Bob, I think the problem is related to "dither". Two suggestions: try disabling dither ("-D") in all but the last sox command and try to minimize the number of "snippets" you combine, e.g.: put non-overlapping sounds in one file in the first step. This way you will end up with less dither-noise. cheers, Erich On 22.09.2016 19:56, Bob S wrote: >> When you say 'silence' do you mean no signal at all, so if you looked = at >> it in a waveform editor there would be no waveform at all, or do you=20 >> just >> mean very quiet (ie a small waveform)? >> >> What does the output of sox, with the stat and stats effects look= >> like for these files? If you trim out one of the sections that you=20 >> think >> is silent, what do stat & stats say about such a section? >> >> What do stat & stats say about one of the result file's meant-to-be=20 >> silent >> sections? >> >> Personally rather than trying to do the whole thing in one command, I'= d >> suggest you try working in changing the level of just one or two of th= e >> small files, and examine them then with stat & stats. Then look at th= e >> file you get if you mix those two files together, and see if you can s= ee >> what levels are changing. >> >> --=20 >> Jeremy Nicoll - my opinions are my own >=20 >=20 > Thanks Jeremy. =20 >=20 > Well, I am using the =E2=80=98pad=E2=80=99 command to insert what I ass= ume is absolute silence.=20 >=20 > I have not used stat & stats, I=E2=80=99ll have to read up on those. >=20 > Also, for this example, I am not even changing the volume of each indiv= idual sample/track. Everything is at full volume. > So say for example I have 4 sound effects being assembled (when really = it is 100 =E2=80=94 if I actually just have 4 then this doesn=E2=80=99t h= appen). > Each effect is 1/4 of a second long and they are spaced along a two sec= ond gap. And say they are all actually the same sound: >=20 > / sound 1/ =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80= =A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2= =80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6 > =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= =E2=80=A6=E2=80=A6/ sound 1/ =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2= =80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6 > =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2= =80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6/ sound 1/ =E2=80=A6=E2=80=A6=E2= =80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6 > =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6= =E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2= =80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80= =A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6.../ sound 1/ >=20 > So in my first loop I assemble each of those four tracks, using =E2=80=98= pad=E2=80=99 to place them at the correct position along the whole soundt= rack. > Then in the second pass I mix them all together. And for some reason a= ll that padded silence is adding up to static noise. >=20 > I will do some more investigation and try the stats thing. But theoret= ically =E2=80=98pad=E2=80=99 should just add absolute silence, right? Add= ing 100 tracks of > it together shouldn=E2=80=99t add up to noise, should it? >=20 > Thanks > Bob >=20 >=20 >=20 > -----------------------------------------------------------------------= ------- > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users >=20 --tLVGPcQBG0g76K65BUlICu4mUhgHopWpP-- --fT6fdH9VoOtSGWVpVW5tfjsHApudkQOL6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX5LX2AAoJEAruyQdV2ntaJDgP/2krXtatKsVr0hMpWROEmj1V fmg+JjKVMS/gPFuWWER049dp4UJcALX26PAAqXqFqqr0o8Bbbl/Lb0Y6GmRxKNhx c5QfT00OSGRLHzpYwlbZim2RlTMggARbrvhv10ipvVGa3ZaVsWcdsEfFF+ULfPtM i7mzw30uiQYqhr9PX/qy2DG/U49B3heJVmjU2XeYEJL8Me+N1w1yDPBrBIa1lEC0 5HTZ0H6+zLh1gefZCk89yqWk/h+N0VfPrfEO921VK5XiEXzJpdfRp2YYnMv4jNnH RmIDQAdxi8CtQ4UVaSukXg2ss8KUB2pSGeFFAgKrqeUNWAZ3690zOJkC4+fMTF90 Ly5lMG4bhMqLaMI8Gz+g6EBmOyQs5PxhpKH/4rHiTbrQgQ+jkqDDOO2HsBCwuzZ0 OpIlITkhXYzN9oEcLDBPbsaNzGSmt75ZntppxvY9OTklTvZaz4MXCEm9w+PnWdDO yoFK+wu/6JTOcrFbmrjmh08yQp/v9fUgXMBLeJun3ymFsD1euoTQZWS0evIsAAFy MoFLRQ2MiEuHSd9Cc5A12LGF6LyJ+ogGZJAV0sFDZgTZnnx/ckM6q9m5cgQmu8yL T8/HY2thCn/KDVcla+fAbWKWBCBB5kL40yt3uYAiWN2sY8eYaNgYqJmjLo3aC/FD 1uH5UTyY0vIYstn4bEJI =gW5f -----END PGP SIGNATURE----- --fT6fdH9VoOtSGWVpVW5tfjsHApudkQOL6-- --===============1079327194053591419== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============1079327194053591419== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============1079327194053591419==--